Returns whether the given Attestation
for the given image URI was signed by the given Attestor
HTTP request
POST https://binaryauthorization.googleapis.com/v1alpha2/{attestor=projects/*/attestors/*}:validateAttestationOccurrence
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
attestor |
Required. The resource name of the Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{
"attestation": {
object ( |
Fields | |
---|---|
attestation |
Required. An |
occurrenceNote |
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated. |
occurrenceResourceUri |
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence]. |
Response body
If successful, the response body contains an instance of ValidateAttestationOccurrenceResponse
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.