- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
findings.search is a more powerful version of findings.list that supports complex queries like "findings for issues" using functions such as has_issue and has_asset in the query string. Example to search for findings for a specific issue: has_issue("name=\"projects/project-12345/issues/issue-12345\""))
HTTP request
GET https://threatintelligence.googleapis.com/v1beta/{parent=projects/*}/findings:search The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
parent |
Required. Parent of the findings. Format: projects/{project} |
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 queries |
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.