Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Second order errors during get_configuration in COMPLIANCE_RULESET_LATEST_INSTALLED #49

Open
gorivishal11 opened this issue Oct 4, 2019 · 1 comment

Comments

@gorivishal11
Copy link

gorivishal11 commented Oct 4, 2019

Part 1:
get_configuration(resource_type, resource_id, configuration_capture_time) fails when resource_type == "AWS::KMS::Key" or resource_type == "AWS::::Account".

The reason for this is GetResourceConfigHistory does not support these two resource types.

Part 2:
get_configuration(resource_type, resource_id, configuration_capture_time) also fails when resource_type == "AWS::ApiGateway::RestApi" since resource_id recorded by AWS Config service for ApiGateway::RestApi is of "arn:aws:apigateway:"+compliance_account_region+"::/restapis/"+resource_id format compared to all other resource types vs resource ids where you can pass resource_id as is.

@gorivishal11
Copy link
Author

For the second part, I am using API_GW_NOT_EDGE_OPTIMISED which is probably the culprit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant