Perform Network Search
POST/search
Perform a search against flow logs with an RQL query.
This endpoint ignores the body param default.
Download Network Search CSV
In addition to performing a network search, this API can perform the network search and download the results as a CSV file. To download the network search CSV, add the request HTTP header Accept: text/csv.
An example request body is:
{
"cloudType": "",
"id":"",
"name":"",
"description:"",
"saved":false,
"default":false,
"query": "",
"timeRange": {
"type": "",
"value": ""
}
}
Request
- application/json; charset=UTF-8
Body
required
Search model
Possible values: [aws
, azure
, gcp
, alibaba_cloud
, oci
]
Cloud Type
Search ID
Search Name
Search Description
Search Exists
timeRange objectrequired
Model for TimeRangeConfig
Possible values: [relative
]
Time type
value object
Model for RelativeTimeDuration
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
Number of time units
RQL Query
Responses
- 200
- 400
- 404
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
Group By
filters object[]
View Order
Name
Value
Possible values: [=
]
Operator
Time Granularity
Alert ID
Possible values: [aws
, azure
, gcp
, alibaba_cloud
, oci
]
Cloud Type
Search ID
Search Name
Search Description
Possible values: [network
, audit_event
, config
, asset
]
Search Type
Async Result Url
Search Exists
timeRange objectrequired
Model for TimeRangeConfig
Possible values: [relative
]
Time type
value object
Model for RelativeTimeDuration
Possible values: [minute
, hour
, day
, week
, month
, year
]
Time unit
Number of time units
RQL Query
Cursor
data object
true = Is Async
{
"groupBy": [
"string"
],
"filters": [
{
"name": "string",
"value": "string",
"operator": "="
}
],
"timeGranularity": "string",
"alertId": "string",
"cloudType": "aws",
"id": "string",
"name": "string",
"description": "string",
"searchType": "network",
"asyncResultUrl": "/search/config/jobs/2df49d4f72e842b582b123bc2b7826b3/download",
"saved": true,
"timeRange": {
"type": "relative",
"value": {
"unit": "minute",
"amount": 0
}
},
"query": "string",
"cursor": 0,
"data": {},
"default": true,
"async": true
}
invalid_parameter_value
not_found