Perform Config Search
POST/search/config
Returns the results of an RQL config query. With config queries, you can retrieve resource information, identify misconfigurations, gain operational insights, and uncover policy and compliance violations.
Download Config Search CSV
In addition to performing a config search, this endpoint can perform the config search and download the results as a CSV file. To download the config search CSV, add the request HTTP header Accept: text/csv.
An example request body is:
{
"query":"config where api.name = 'aws-iam-get-account-summary' ",
"timeRange":{
"type":"relative",
"value":{
"unit":"hour",
"amount":24
}
}
}
Request
Responses
- 200
- 400
- 404
success
conflict_saved_search
not_found