Updates the state of a finding. If no location is specified, finding is assumed to be in global
HTTP request
POST https://securitycenter.googleapis.com/v2/{name=projects/*/sources/*/findings/*}:setState The URLs use gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
name |
Required. The relative resource name of the finding. If no location is specified, finding is assumed to be in global. The following list shows some examples: + |
Request body
The request body contains data with the following structure:
| JSON representation |
|---|
{
"state": enum ( |
| Fields | |
|---|---|
state |
Required. The desired State of the finding. |
Response body
If successful, the response body contains an instance of Finding.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.