External DocumentationTo learn more, visit the AWS documentation.
Basic Parameters
| Parameter | Description |
|---|---|
| AWS Regions | A comma-separated list of AWS regions where this action will be executed. For example, to execute in US East and Europe, enter us-east-1,eu-west-1.Alternatively, you can use the asterisk symbol * to run the action in all available AWS Regions. |
| Filters | A JSON object that represents filters used to filter the returned resources. For more information refer to Resource Filters. For example: |
| Max Results | The maximum number of results to return per page. Valid values range from 1 to 100. |
| Next Token | A pagination token for retrieving subsequent pages of results. Can be obtained from the NextToken field in the previous response.Notes: * This parameter can only be used when a single region is specified. * To use the pagination token, send the request with the exact same Filters and Sort Criteria as the original request, modifying these criteria in subsequent requests will raise an error. |
| Sort Criteria | A list of sort criteria objects used to sort the returned results. For more information refer to Sort Criterion. For example: |
Advanced Parameters
| Parameter | Description |
|---|---|
| Disable XML To JSON Auto Convert | When checked, XML responses are not automatically converted into JSON format. |
Example Output
{
"Resources": [
{
"AccountId": "123456789012",
"FindingsSummary": [
{
"FindingType": "Software and Configuration Checks",
"ProductName": "Security Hub",
"Severities": {
"Critical": 0,
"High": 2,
"Medium": 1,
"Low": 0,
"Informational": 0
},
"TotalFindings": 3
}
],
"Region": "us-east-1",
"ResourceCategory": "compute",
"ResourceId": "arn:aws:ec2:us-east-1:123456789012:instance/i-0123456789abcdef0",
"ResourceName": "my-instance",
"ResourceType": "AwsEc2Instance"
}
],
"NextToken": "string"
}