- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
findings.search is a more powerful version of findings.list that supports complex queries like "findings for alerts" using functions such as has_alert in the query string. The parent field in SearchFindingsRequest should have the format: projects/{project} Example to search for findings for a specific issue: has_alert("name=\"projects/gti-12345/alerts/alert-12345\"")
HTTP request
GET https://threatintelligence.googleapis.com/v1beta/{parent=projects/*}/findings:search
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Parent of the findings. Format: vaults/{vault} |
Query parameters
| Parameters | |
|---|---|
query |
Optional. Query on what findings will be returned. This supports the same filter criteria as FindingService.ListFindings as well as the following relationship query |
orderBy |
Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2". |
pageToken |
Optional. Page token. |
pageSize |
Optional. Page size. |
Request body
The request body must be empty.
Response body
Response message for findings.search.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"findings": [
{
object ( |
| Fields | |
|---|---|
findings[] |
List of findings. |
nextPageToken |
Page token. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent resource:
threatintelligence.findings.list
For more information, see the IAM documentation.