Required. An AttestationOccurrence to be checked that it can be verified by the Attestor. It does not have to be an existing entity in Container Analysis. It must otherwise be a valid AttestationOccurrence.
occurrenceNote
string
Required. The resource name of the [Note][grafeas.v1.Note] to which the containing [Occurrence][grafeas.v1.Occurrence] is associated.
occurrenceResourceUri
string
Required. The URI of the artifact (e.g. container image) that is the subject of the containing [Occurrence][grafeas.v1.Occurrence].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-30 UTC."],[[["\u003cp\u003eThis endpoint validates if an \u003ccode\u003eAttestation\u003c/code\u003e for a given image URI was signed by a specified \u003ccode\u003eAttestor\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a \u003ccode\u003ePOST\u003c/code\u003e method to the URL \u003ccode\u003ehttps://binaryauthorization.googleapis.com/v1/{attestor=projects/*/attestors/*}:validateAttestationOccurrence\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a path parameter, \u003ccode\u003eattestor\u003c/code\u003e, which is the resource name of the Attestor in the format \u003ccode\u003eprojects/*/attestors/*\u003c/code\u003e, and it requires the \u003ccode\u003ebinaryauthorization.attestors.verifyImageAttested\u003c/code\u003e IAM permission.\u003c/p\u003e\n"],["\u003cp\u003eThe request body requires an \u003ccode\u003eattestation\u003c/code\u003e object, the \u003ccode\u003eoccurrenceNote\u003c/code\u003e, and the \u003ccode\u003eoccurrenceResourceUri\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests will return a \u003ccode\u003eValidateAttestationOccurrenceResponse\u003c/code\u003e, and it requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.attestors.validateAttestationOccurrence\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n\nReturns whether the given `Attestation` for the given image URI was signed by the given `Attestor`\n\n### HTTP request\n\n`POST https://binaryauthorization.googleapis.com/v1/{attestor=projects/*/attestors/*}:validateAttestationOccurrence`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [ValidateAttestationOccurrenceResponse](/binary-authorization/docs/reference/rest/Shared.Types/ValidateAttestationOccurrenceResponse).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/)."]]