aws-apigateway-rest-stage-variables
REST API stage variables are plaintext maps and are commonly misused for credentials or backend connection strings.
Where it sits
| location | GetStage.variables.<value> |
| location kind | environment_variable |
| data kinds | credential password api_key connection_string sensitive_data |
| emits edge | ContainsCredential |
| service | API Gateway (aws:apigateway) |
Collection recipe
| access mode | read_api |
| operation | GetStage |
| response path | variables.<value> |
| encoding | map |
| params | {"restApiId": "\u003crest-api-id\u003e", "stageName": "\u003cstage-name\u003e"} |
Required permissions
References