Method: organizations.sources.findings.create

Creates a finding. The corresponding source must exist for finding creation to succeed.

HTTP request

POST https://securitycenter.googleapis.com/v1/{parent=organizations/*/sources/*}/findings

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the new finding's parent. Its format should be "organizations/[organization_id]/sources/[source_id]".

Query parameters

Parameters
findingId

string

Required. Unique identifier provided by the client within the parent scope. It must be alphanumeric and less than or equal to 32 characters and greater than 0 characters in length.

Request body

The request body contains an instance of Finding.

Response body

If successful, the response body contains a newly created instance of Finding.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.