Method: projects.sources.findings.setMute

Stay organized with collections Save and categorize content based on your preferences.

Updates the mute state of a finding.

HTTP request

POST https://securitycenter.googleapis.com/v1/{name=projects/*/sources/*/findings/*}:setMute

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The relative resource nameof the finding. Example: "organizations/{organization_id}/sources/{source_id}/finding/{findingId}", "folders/{folder_id}/sources/{source_id}/finding/{findingId}", "projects/{project_id}/sources/{source_id}/finding/{findingId}".

Request body

The request body contains data with the following structure:

JSON representation
{
  "mute": enum (Mute)
}
Fields
mute

enum (Mute)

Required. The desired state of the Mute.

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.