REST Resource: projects.attestors

Resource: Attestor

An attestor that attests to container image artifacts. An existing attestor cannot be modified except where indicated.

JSON representation
{
  "name": string,
  "description": string,
  "updateTime": string,
  "etag": string,

  // Union field attestor_type can be only one of the following:
  "userOwnedDrydockNote": {
    object (UserOwnedDrydockNote)
  }
  // End of list of possible types for union field attestor_type.
}
Fields
name

string

Required. The resource name, in the format: projects/*/attestors/*. This field may not be updated.

description

string

Optional. A descriptive comment. This field may be updated. The field may be displayed in chooser dialogs.

updateTime

string (Timestamp format)

Output only. Time when the attestor was last updated.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

etag

string

Optional. A checksum, returned by the server, that can be sent on update requests to ensure the attestor has an up-to-date value before attempting to update it. See https://google.aip.dev/154.

Union field attestor_type. Required. Identifies an attestor that attests to a container image artifact. This determines how an attestation will be stored, and how it will be used during policy enforcement. Updates may not change the attestor type, but individual attestor fields may be updated. attestor_type can be only one of the following:
userOwnedDrydockNote

object (UserOwnedDrydockNote)

A Drydock ATTESTATION_AUTHORITY Note, created by the user.

Methods

create

Creates an attestor, and returns a copy of the new attestor.

delete

Deletes an attestor.

get

Gets an attestor.

getIamPolicy

Gets the access control policy for a resource.

list

Lists attestors.

setIamPolicy

Sets the access control policy on the specified resource.

testIamPermissions

Returns permissions that a caller has on the specified resource.

update

Updates an attestor.

validateAttestationOccurrence

Returns whether the given Attestation for the given image URI was signed by the given Attestor