Skip to content

Commit

Permalink
chore(apigateway): modify CLI remediation
Browse files Browse the repository at this point in the history
  • Loading branch information
danibarranqueroo committed Oct 17, 2024
1 parent f8cc334 commit 6235745
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"RelatedUrl": "https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-caching.html#enable-api-gateway-caching",
"Remediation": {
"Code": {
"CLI": "aws apigateway update-stage --rest-api-id <restapi-id> --stage-name <stage-name> --patch-operations op=replace,path=/cacheClusterEnabled,value=true op=replace,path=/cacheClusterSize,value=1.6 op=replace,path=/cacheClusterSettings/encryptCache,value=true",
"CLI": "aws apigateway update-stage --rest-api-id <restapi-id> --stage-name <stage-name> --patch-operations op=replace,path=/<resourcePath>/<httpMethod>/caching/enabled,value=true op=replace,path=/<resourcePath>/<httpMethod>/caching/dataEncrypted,value=true",
"NativeIaC": "",
"Other": "https://docs.aws.amazon.com/securityhub/latest/userguide/apigateway-controls.html#apigateway-5",
"Terraform": ""
Expand Down

0 comments on commit 6235745

Please sign in to comment.