Perform Config Search V2
POST/search/api/v2/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.
- The request specification now includes the startTime value, indicating the start time for the search. Additionally, the end time is implicitly set to the current system time.
- The response has been updated to the transition of the value associated with 'resourceType' to newer and more descriptive name. (Ex: Instance to "EC2 Instance" for config query to list all EC2 instances). Additionally, A new field 'resourceTypeId' is introduced, which serves as a unique identifier for the resourceType.
- The maximum number of results is 100 items. When a query returns over 100 results, the response includes the
nextPageToken
field which can be used as the request parameterpageToken
in the Get The Next Search Page endpoint to retrieve the next page of search results.
Request
Responses
- 200
- 400
- 404
success
conflict_saved_search
Not Found