AWS Config : Accessing AWS Config NonComplaint rules and resources
I am trying to import the noncompliant rules and noncompliant resources from the AWS Config Dashboard. It there a way to do it using CLI or the console.
Hi - if you are looking for a way to export information from AWS Config about your current rules and resources, I'd recommend taking a look at the Advanced Query feature - https://docs.aws.amazon.com/config/latest/developerguide/querying-AWS-resources.html. This will let you query information from AWS Config using a SQL-like query language. As an example, this is a sample query for retrieving a list of non-compliant resources:
SELECT configuration.targetResourceId, configuration.targetResourceType, configuration.complianceType, configuration.configRuleList WHERE configuration.complianceType = 'NON_COMPLIANT'
This feature can be accessed via either the CLI, or through the AWS Console.
AWS Config Rule 'iam-user-unused-credentials-check' Not Evaluatingasked 3 months ago
Exclude resources from AWS Config Managed rules?asked 5 months ago
Is it possible to prevent certain security group rules account/org wide?asked 3 months ago
Help! How do you turn off AWS config!asked 3 years ago
Security Hub - AWS Foundational Security Best PracticesAccepted Answerasked 2 months ago
AWS Config : Accessing AWS Config NonComplaint rules and resourcesAccepted Answerasked 3 months ago
Alarm for resource created without tagasked a month ago
Are the AWS Config Managed Rules open source?Accepted Answerasked 5 months ago
How to turn off AWS Config and reduce cost?Accepted Answerasked 4 months ago
Config Advanved Query Editor - Return ConfigRuleNameasked 8 days ago