Perform Config Search by Search Id V2
POST/search/api/v2/config/:id
- 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
Request
Path Parameters
Search ID
- application/json; charset=UTF-8
Body
required
Config rule search by search id request parameters model
- Array [
- ]
Results per page
true = include resource JSON. Default is false.
startTime
sort object[]
Sort field data
Possible values: [ID
, TIME
, API_NAME
, CUSTOMER_ID
, INSERT_TS
, JSON
, CLOUD_ACCOUNT
, CLOUD_REGION
, STATE_ID
]
Possible values: [asc
, desc
]
Direction
Page Token
Responses
- 200
- 400
- 404
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
The total number of matching resources
items object[]
List of matching resources
RRN
State ID
Asset ID
ID
Name
URL
Account ID
Account name
Account group name
Possible values: [ALL
, AWS
, AZURE
, GCP
, ALIBABA_CLOUD
, OCI
, OTHER
, IBM
]
Cloud Type
Region ID
Region name
Service
Resource type
Insertion timestamp
Creation timestamp
Deleted
Virtual private cloud ID
Virtual private cloud name
tags object
Tags
Risk grade
Raw JSON data for the resource
dynamicData object
Dynamic data
Has network
Has external finding
Has external integration
allowDrillDown
Has risk factors
allowDrillDown
resourceTypeId
Set of names of custom resource attributes
Encoded page token to continue pagination
Search id
{
"totalRows": 0,
"items": [
{
"rrn": "string",
"stateId": "string",
"assetId": "string",
"id": "string",
"name": "string",
"url": "string",
"accountId": "string",
"accountName": "string",
"accountGroupName": "string",
"cloudType": "ALL",
"regionId": "string",
"regionName": "string",
"service": "string",
"resourceType": "string",
"insertTs": 0,
"createdTs": 0,
"deleted": true,
"vpcId": "string",
"vpcName": "string",
"tags": {},
"riskGrade": "string",
"data": {},
"dynamicData": {},
"hasNetwork": true,
"hasExternalFinding": true,
"hasExternalIntegration": true,
"allowDrillDown": true,
"hasExtFindingRiskFactors": true,
"resourceConfigJsonAvailable": true,
"resourceTypeId": 0
}
],
"dynamicColumns": [
"string"
],
"nextPageToken": "string",
"infoMsg": "string",
"sortAllowedColumns": [
"string"
],
"id": "string"
}
conflict_saved_search
Not Found