get_resource_compliance
Check AWS resource compliance status to identify non-compliant rules and configuration drift. Filter results by resource ID, type, or compliance state for targeted audits.
Instructions
Get AWS Config compliance status for resources. Shows drift and non-compliant rules. Requires AWS Config to be enabled and config:Describe* IAM permissions.
Args: resource_id: Specific resource ID (optional — omit for all rules summary) resource_type: AWS resource type e.g. 'AWS::EC2::Instance' (optional) compliance_filter: Filter by COMPLIANT, NON_COMPLIANT, or NOT_APPLICABLE
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_resource_compliance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource_id | No | ||
| resource_type | No | ||
| compliance_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |