3.0.0 • Published 5 years ago

@datafire/google_containeranalysis v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/google_containeranalysis

Client library for Container Analysis API

Installation and Usage

npm install --save @datafire/google_containeranalysis
let google_containeranalysis = require('@datafire/google_containeranalysis').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.

Actions

oauthCallback

Exchange the code passed to your redirect URI for an access_token

google_containeranalysis.oauthCallback({
  "code": ""
}, context)

Input

  • input object
    • code required string

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

oauthRefresh

Exchange a refresh_token for an access_token

google_containeranalysis.oauthRefresh(null, context)

Input

This action has no parameters

Output

  • output object
    • access_token string
    • refresh_token string
    • token_type string
    • scope string
    • expiration string

containeranalysis.projects.occurrences.delete

Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.

google_containeranalysis.containeranalysis.projects.occurrences.delete({
  "name": ""
}, context)

Input

  • input object
    • name required string: Required. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.scanConfigs.get

Gets the specified scan configuration.

google_containeranalysis.containeranalysis.projects.scanConfigs.get({
  "name": ""
}, context)

Input

  • input object
    • name required string: Required. The name of the scan configuration in the form of projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID].
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.patch

Updates the specified occurrence.

google_containeranalysis.containeranalysis.projects.occurrences.patch({
  "name": ""
}, context)

Input

  • input object
    • name required string: Required. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].
    • updateMask string: The fields to update.
    • body Occurrence
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.scanConfigs.update

Updates the specified scan configuration.

google_containeranalysis.containeranalysis.projects.scanConfigs.update({
  "name": ""
}, context)

Input

  • input object
    • name required string: Required. The name of the scan configuration in the form of projects/[PROJECT_ID]/scanConfigs/[SCAN_CONFIG_ID].
    • body ScanConfig
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.getNotes

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

google_containeranalysis.containeranalysis.projects.occurrences.getNotes({
  "name": ""
}, context)

Input

  • input object
    • name required string: Required. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.notes.occurrences.list

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

google_containeranalysis.containeranalysis.projects.notes.occurrences.list({
  "name": ""
}, context)

Input

  • input object
    • name required string: Required. The name of the note to list occurrences for in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].
    • filter string: The filter expression.
    • pageSize integer: Number of occurrences to return in the list.
    • pageToken string: Token to provide to skip to a particular spot in the list.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.notes.list

Lists notes for the specified project.

google_containeranalysis.containeranalysis.projects.notes.list({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project to list notes for in the form of projects/[PROJECT_ID].
    • filter string: The filter expression.
    • pageSize integer: Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.
    • pageToken string: Token to provide to skip to a particular spot in the list.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.notes.create

Creates a new note.

google_containeranalysis.containeranalysis.projects.notes.create({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project in the form of projects/[PROJECT_ID], under which the note is to be created.
    • noteId string: Required. The ID to use for this note.
    • body Note
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.notes.batchCreate

Creates new notes in batch.

google_containeranalysis.containeranalysis.projects.notes.batchCreate({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project in the form of projects/[PROJECT_ID], under which the notes are to be created.
    • body BatchCreateNotesRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.list

Lists occurrences for the specified project.

google_containeranalysis.containeranalysis.projects.occurrences.list({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project to list occurrences for in the form of projects/[PROJECT_ID].
    • filter string: The filter expression.
    • pageSize integer: Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.
    • pageToken string: Token to provide to skip to a particular spot in the list.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.create

Creates a new occurrence.

google_containeranalysis.containeranalysis.projects.occurrences.create({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project in the form of projects/[PROJECT_ID], under which the occurrence is to be created.
    • body Occurrence
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.batchCreate

Creates new occurrences in batch.

google_containeranalysis.containeranalysis.projects.occurrences.batchCreate({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project in the form of projects/[PROJECT_ID], under which the occurrences are to be created.
    • body BatchCreateOccurrencesRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.getVulnerabilitySummary

Gets a summary of the number and severity of occurrences.

google_containeranalysis.containeranalysis.projects.occurrences.getVulnerabilitySummary({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project to get a vulnerability summary for in the form of projects/[PROJECT_ID].
    • filter string: The filter expression.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.scanConfigs.list

Lists scan configurations for the specified project.

google_containeranalysis.containeranalysis.projects.scanConfigs.list({
  "parent": ""
}, context)

Input

  • input object
    • parent required string: Required. The name of the project to list scan configurations for in the form of projects/[PROJECT_ID].
    • filter string: Required. The filter expression.
    • pageSize integer: The number of scan configs to return in the list.
    • pageToken string: Token to provide to skip to a particular spot in the list.
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.getIamPolicy

Gets the access control policy for a note or an occurrence resource. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

google_containeranalysis.containeranalysis.projects.occurrences.getIamPolicy({
  "resource": ""
}, context)

Input

  • input object
    • resource required string: REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.
    • body GetIamPolicyRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.setIamPolicy

Sets the access control policy on the specified note or occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or an occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

google_containeranalysis.containeranalysis.projects.occurrences.setIamPolicy({
  "resource": ""
}, context)

Input

  • input object
    • resource required string: REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
    • body SetIamPolicyRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

containeranalysis.projects.occurrences.testIamPermissions

Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, containeranalysis.notes.list). The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

google_containeranalysis.containeranalysis.projects.occurrences.testIamPermissions({
  "resource": ""
}, context)

Input

  • input object
    • resource required string: REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.
    • body TestIamPermissionsRequest
    • $.xgafv string (values: 1, 2): V1 error format.
    • access_token string: OAuth access token.
    • alt string (values: json, media, proto): Data format for response.
    • callback string: JSONP
    • fields string: Selector specifying which fields to include in a partial response.
    • key string: API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
    • oauth_token string: OAuth 2.0 token for the current user.
    • prettyPrint boolean: Returns response with indentations and line breaks.
    • quotaUser string: Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
    • upload_protocol string: Upload protocol for media (e.g. "raw", "multipart").
    • uploadType string: Legacy upload protocol for media (e.g. "media", "multipart").

Output

Definitions

AliasContext

  • AliasContext object: An alias to a repo revision.
    • kind string (values: KIND_UNSPECIFIED, FIXED, MOVABLE, OTHER): The alias kind.
    • name string: The alias name.

Artifact

  • Artifact object: Artifact describes a build product.
    • checksum string: Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
    • id string: Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456.
    • names array: Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to docker push. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
      • items string

ArtifactHashes

  • ArtifactHashes object: Defines a hash object for use in Materials and Products.
    • sha256 string

ArtifactRule

  • ArtifactRule object: Defines an object to declare an in-toto artifact rule
    • artifactRule array
      • items string

Attestation

  • Attestation object: Occurrence that represents a single "attestation". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for look-up (how to find this attestation if you already know the authority and artifact to be verified) and intent (which authority was this attestation intended to sign for).

Authority

  • Authority object: Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one Authority for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project.

Basis

  • Basis object: Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url.
    • fingerprint Fingerprint
    • resourceUrl string: Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.

BatchCreateNotesRequest

  • BatchCreateNotesRequest object: Request to create notes in batch.
    • notes object: Required. The notes to create, the key is expected to be the note ID. Max allowed length is 1000.

BatchCreateNotesResponse

  • BatchCreateNotesResponse object: Response for creating notes in batch.
    • notes array: The notes that were created.

BatchCreateOccurrencesRequest

  • BatchCreateOccurrencesRequest object: Request to create occurrences in batch.
    • occurrences array: Required. The occurrences to create. Max allowed length is 1000.

BatchCreateOccurrencesResponse

  • BatchCreateOccurrencesResponse object: Response for creating occurrences in batch.
    • occurrences array: The occurrences that were created.

Binding

  • Binding object: Associates members with a role.
    • condition Expr
    • members array: Specifies the identities requesting access for a Cloud Platform resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account. user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. group:{emailid}: An email address that represents a Google group. For example, admins@example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains the role in the binding. * domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.
      • items string
    • role string: Role that is assigned to members. For example, roles/viewer, roles/editor, or roles/owner.

Build

  • Build object: Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.
    • builderVersion string: Required. Immutable. Version of the builder which produced this build.
    • signature BuildSignature

BuildProvenance

  • BuildProvenance object: Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.
    • buildOptions object: Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
    • builderVersion string: Version string of the builder at the time this build was executed.
    • builtArtifacts array: Output of the build.
    • commands array: Commands requested by the build.
    • createTime string: Time at which the build was created.
    • creator string: E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
    • endTime string: Time at which execution of the build was finished.
    • id string: Required. Unique identifier of the build.
    • logsUri string: URI where any logs for this provenance were written.
    • projectId string: ID of the project.
    • sourceProvenance Source
    • startTime string: Time at which execution of the build was started.
    • triggerId string: Trigger identifier if the build was triggered automatically; empty if not.

BuildSignature

  • BuildSignature object: Message encapsulating the signature of the verified build.
    • keyId string: An ID for the key used to sign. This could be either an ID for the key stored in public_key (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service).
    • keyType string (values: KEY_TYPE_UNSPECIFIED, PGP_ASCII_ARMORED, PKIX_PEM): The type of the key, either stored in public_key or referenced in key_id.
    • publicKey string: Public key of the builder which can be used to verify that the related findings are valid and unchanged. If key_type is empty, this defaults to PEM encoded public keys. This field may be empty if key_id references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from BuildDetails are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: openssl sha256 -verify public.pem -signature signature.bin signed.bin
    • signature string: Required. Signature of the related BuildProvenance. In JSON, this is base-64 encoded.

ByProducts

  • ByProducts object: Defines an object for the byproducts field in in-toto links. The suggested fields are "stderr", "stdout", and "return-value".
    • customValues object

CVSSv3

  • CVSSv3 object: Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document
    • attackComplexity string (values: ATTACK_COMPLEXITY_UNSPECIFIED, ATTACK_COMPLEXITY_LOW, ATTACK_COMPLEXITY_HIGH)
    • attackVector string (values: ATTACK_VECTOR_UNSPECIFIED, ATTACK_VECTOR_NETWORK, ATTACK_VECTOR_ADJACENT, ATTACK_VECTOR_LOCAL, ATTACK_VECTOR_PHYSICAL): Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
    • availabilityImpact string (values: IMPACT_UNSPECIFIED, IMPACT_HIGH, IMPACT_LOW, IMPACT_NONE)
    • baseScore number: The base score is a function of the base metric scores.
    • confidentialityImpact string (values: IMPACT_UNSPECIFIED, IMPACT_HIGH, IMPACT_LOW, IMPACT_NONE)
    • exploitabilityScore number
    • impactScore number
    • integrityImpact string (values: IMPACT_UNSPECIFIED, IMPACT_HIGH, IMPACT_LOW, IMPACT_NONE)
    • privilegesRequired string (values: PRIVILEGES_REQUIRED_UNSPECIFIED, PRIVILEGES_REQUIRED_NONE, PRIVILEGES_REQUIRED_LOW, PRIVILEGES_REQUIRED_HIGH)
    • scope string (values: SCOPE_UNSPECIFIED, SCOPE_UNCHANGED, SCOPE_CHANGED)
    • userInteraction string (values: USER_INTERACTION_UNSPECIFIED, USER_INTERACTION_NONE, USER_INTERACTION_REQUIRED)

CloudRepoSourceContext

  • CloudRepoSourceContext object: A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.

Command

  • Command object: Command describes a step performed as part of the build pipeline.
    • args array: Command-line arguments used when executing this command.
      • items string
    • dir string: Working directory (relative to project source root) used when running this command.
    • env array: Environment variables set before running this command.
      • items string
    • id string: Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
    • name string: Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to docker pull.
    • waitFor array: The ID(s) of the command(s) that this command depends on.
      • items string

Deployable

  • Deployable object: An artifact that can be deployed in some runtime.
    • resourceUri array: Required. Resource URI for the artifact being deployed.
      • items string

Deployment

  • Deployment object: The period during which some deployable was active in a runtime.
    • address string: Address of the runtime element hosting this deployment.
    • config string: Configuration used to create this deployment.
    • deployTime string: Required. Beginning of the lifetime of this deployment.
    • platform string (values: PLATFORM_UNSPECIFIED, GKE, FLEX, CUSTOM): Platform hosting this deployment.
    • resourceUri array: Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
      • items string
    • undeployTime string: End of the lifetime of this deployment.
    • userEmail string: Identity of the user that triggered this deployment.

Derived

  • Derived object: Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .
    • baseResourceUrl string: Output only. This contains the base image URL for the derived image occurrence.
    • distance integer: Output only. The number of layers by which this image differs from the associated image basis.
    • fingerprint Fingerprint
    • layerInfo array: This contains layer-specific metadata, if populated it has length "distance" and is ordered with distance being the layer immediately following the base image and 1 being the final layer.

Detail

  • Detail object: Identifies all appearances of this vulnerability in the package for a specific distro/location. For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2
    • cpeUri string: Required. The CPE URI in cpe format in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.
    • description string: A vendor-specific description of this note.
    • fixedLocation VulnerabilityLocation
    • isObsolete boolean: Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
    • maxAffectedVersion Version
    • minAffectedVersion Version
    • package string: Required. The name of the package where the vulnerability was found.
    • packageType string: The type of package; whether native or non native(ruby gems, node.js packages etc).
    • severityName string: The severity (eg: distro assigned severity) for this vulnerability.
    • sourceUpdateTime string: The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.

Details

  • Details object: Details of an attestation occurrence.

Discovered

  • Discovered object: Provides information about the analysis status of a discovered resource.
    • analysisStatus string (values: ANALYSIS_STATUS_UNSPECIFIED, PENDING, SCANNING, FINISHED_SUCCESS, FINISHED_FAILED, FINISHED_UNSUPPORTED): The status of discovery for the resource.
    • analysisStatusError Status
    • continuousAnalysis string (values: CONTINUOUS_ANALYSIS_UNSPECIFIED, ACTIVE, INACTIVE): Whether the resource is continuously analyzed.
    • lastAnalysisTime string: The last time continuous analysis was done for this resource. Deprecated, do not use.

Discovery

  • Discovery object: A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A Discovery occurrence is created in a consumer's project at the start of analysis.
    • analysisKind string (values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, INTOTO): Required. Immutable. The kind of analysis that is handled by this discovery.

Distribution

  • Distribution object: This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.
    • architecture string (values: ARCHITECTURE_UNSPECIFIED, X86, X64): The CPU architecture for which packages in this distribution channel were built.
    • cpeUri string: Required. The cpe_uri in CPE format denoting the package manager version distributing a package.
    • description string: The distribution channel-specific description of this package.
    • latestVersion Version
    • maintainer string: A freeform string denoting the maintainer of this package.
    • url string: The distribution channel-specific homepage for this package.

Empty

  • Empty object: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.

Environment

  • Environment object: Defines an object for the environment field in in-toto links. The suggested fields are "variables", "filesystem", and "workdir".
    • customValues object

Expr

  • Expr object: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
    • description string: Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
    • expression string: Textual representation of an expression in Common Expression Language syntax.
    • location string: Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
    • title string: Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.

FileHashes

  • FileHashes object: Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.
    • fileHash array: Required. Collection of file hashes.

Fingerprint

  • Fingerprint object: A set of properties that uniquely identify a given Docker image.
    • v1Name string: Required. The layer ID of the final layer in the Docker image's v1 representation.
    • v2Blob array: Required. The ordered list of v2 blobs that represent a given image.
      • items string
    • v2Name string: Output only. The name of the image's v2 blobs computed via: bottom := v2_blobbottom := sha256(v2_blobN + " " + v2_nameN+1) Only the name of the final blob is kept.

FixableTotalByDigest

  • FixableTotalByDigest object: Per resource and severity counts of fixable and total vulnerabilities.
    • fixableCount string: The number of fixable vulnerabilities associated with this resource.
    • resource Resource
    • severity string (values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH, CRITICAL): The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
    • totalCount string: The total number of vulnerabilities associated with this resource.

GenericSignedAttestation

  • GenericSignedAttestation object: An attestation wrapper that uses the Grafeas Signature message. This attestation must define the serialized_payload that the signatures verify and any metadata necessary to interpret that plaintext. The signatures should always be over the serialized_payload bytestring.
    • contentType string (values: CONTENT_TYPE_UNSPECIFIED, SIMPLE_SIGNING_JSON): Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
    • serializedPayload string: The serialized payload that is verified by one or more signatures. The encoding and semantic meaning of this payload must match what is set in content_type.
    • signatures array: One or more signatures over serialized_payload. Verifier implementations should consider this attestation message verified if at least one signature verifies serialized_payload. See Signature in common.proto for more details on signature structure and verification.

GerritSourceContext

  • GerritSourceContext object: A SourceContext referring to a Gerrit project.
    • aliasContext AliasContext
    • gerritProject string: The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name. The "repo name" is the hostURI/project.
    • hostUri string: The URI of a running Gerrit instance.
    • revisionId string: A revision (commit) ID.

GetIamPolicyRequest

  • GetIamPolicyRequest object: Request message for GetIamPolicy method.

GetPolicyOptions

  • GetPolicyOptions object: Encapsulates settings provided to GetIamPolicy.
    • requestedPolicyVersion integer: Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the IAM documentation.

GitSourceContext

  • GitSourceContext object: A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).
    • revisionId string: Git commit hash.
    • url string: Git repository URL.

GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata

  • GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata object: Metadata for all operations used and required for all operations that created by Container Analysis Providers
    • createTime string: Output only. The time this operation was created.
    • endTime string: Output only. The time that this operation was marked completed or failed.

GrafeasV1beta1BuildDetails

  • GrafeasV1beta1BuildDetails object: Details of a build occurrence.
    • provenance BuildProvenance
    • provenanceBytes string: Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, provenance_bytes can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.

GrafeasV1beta1DeploymentDetails

  • GrafeasV1beta1DeploymentDetails object: Details of a deployment occurrence.

GrafeasV1beta1DiscoveryDetails

  • GrafeasV1beta1DiscoveryDetails object: Details of a discovery occurrence.

GrafeasV1beta1ImageDetails

  • GrafeasV1beta1ImageDetails object: Details of an image occurrence.

GrafeasV1beta1IntotoArtifact

  • GrafeasV1beta1IntotoArtifact object

GrafeasV1beta1IntotoDetails

  • GrafeasV1beta1IntotoDetails object: This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note.

GrafeasV1beta1IntotoSignature

  • GrafeasV1beta1IntotoSignature object: A signature object consists of the KeyID used and the signature itself.
    • keyid string
    • sig string

GrafeasV1beta1PackageDetails

  • GrafeasV1beta1PackageDetails object: Details of a package occurrence.

GrafeasV1beta1VulnerabilityDetails

  • GrafeasV1beta1VulnerabilityDetails object: Details of a vulnerability Occurrence.
    • cvssScore number: Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
    • effectiveSeverity string (values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH, CRITICAL): The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
    • longDescription string: Output only. A detailed description of this vulnerability.
    • packageIssue array: Required. The set of affected locations and their fixes (if available) within the associated resource.
    • relatedUrls array: Output only. URLs related to this vulnerability.
    • severity string (values: SEVERITY_UNSPECIFIED, MINIMAL, LOW, MEDIUM, HIGH, CRITICAL): Output only. The note provider assigned Severity of the vulnerability.
    • shortDescription string: Output only. A one sentence description of this vulnerability.
    • type string: The type of package; whether native or non native(ruby gems, node.js packages etc)

Hash

  • Hash object: Container message for hash values.
    • type string (values: HASH_TYPE_UNSPECIFIED, SHA256): Required. The type of hash that was performed.
    • value string: Required. The hash value.

Hint

  • Hint object: This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from "readable" names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify.
    • humanReadableName string: Required. The human readable name of this attestation authority, for example "qa".

InToto

  • InToto object: This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout. This information goes into a Grafeas note.
    • expectedCommand array: This field contains the expected command used to perform the step.
      • items string
    • expectedMaterials array: The following fields contain in-toto artifact rules identifying the artifacts that enter this supply chain step, and exit the supply chain step, i.e. materials and products of the step.
    • expectedProducts array
    • signingKeys array: This field contains the public keys that can be used to verify the signatures on the step metadata.
    • stepName string: This field identifies the name of the step in the supply chain.
    • threshold string: This field contains a value that indicates the minimum number of keys that need to be used to sign the step's in-toto link.

Installation

  • Installation object: This represents how a particular software package may be installed on a system.
    • location array: Required. All of the places within the filesystem versions of this package have been found.
    • name string: Output only. The name of the installed package.

KnowledgeBase

Layer

  • Layer object: Layer holds metadata specific to a layer of a Docker image.
    • arguments string: The recovered arguments to the Dockerfile directive.
    • directive string (values: DIRECTIVE_UNSPECIFIED, MAINTAINER, RUN, CMD, LABEL, EXPOSE, ENV, ADD, COPY, ENTRYPOINT, VOLUME, USER, WORKDIR, ARG, ONBUILD, STOPSIGNAL, HEALTHCHECK, SHELL): Required. The recovered Dockerfile directive used to construct this layer.

Link

ListNoteOccurrencesResponse

  • ListNoteOccurrencesResponse object: Response for listing occurrences for a note.
    • nextPageToken string: Token to provide to skip to a particular spot in the list.
    • occurrences array: The occurrences attached to the specified note.

ListNotesResponse

  • ListNotesResponse object: Response for listing notes.
    • nextPageToken string: The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.
    • notes array: The notes requested.

ListOccurrencesResponse

  • ListOccurrencesResponse object: Response for listing occurrences.
    • nextPageToken string: The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.
    • occurrences array: The occurrences requested.

ListScanConfigsResponse

  • ListScanConfigsResponse object: Response for listing scan configurations.
    • nextPageToken string: The next pagination token in the list response. It should be used as page_token for the following request. An empty value means no more results.
    • scanConfigs array: The scan configurations requested.

Location

  • Location object: An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in /var/lib/dpkg/status.
    • cpeUri string: Required. The CPE URI in CPE format denoting the package manager version distributing a package.
    • path string: The path from which we gathered that this package/version is installed.
    • version Version

Note

  • Note object: A type of analysis that can be done for a resource.
    • attestationAuthority Authority
    • baseImage Basis
    • build Build
    • createTime string: Output only. The time this note was created. This field can be used as a filter in list requests.
    • deployable Deployable
    • discovery Discovery
    • expirationTime string: Time of expiration for this note. Empty if note does not expire.
    • intoto InToto
    • kind string (values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, INTOTO): Output only. The type of analysis. This field can be used as a filter in list requests.
    • longDescription string: A detailed description of this note.
    • name string: Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].
    • package Package
    • relatedNoteNames array: Other notes related to this note.
      • items string
    • relatedUrl array: URLs associated with this note.
    • shortDescription string: A one sentence description of this note.
    • updateTime string: Output only. The time this note was last updated. This field can be used as a filter in list requests.
    • vulnerability Vulnerability

Occurrence

  • Occurrence object: An instance of an analysis type that has been found on a resource.
    • attestation Details
    • build GrafeasV1beta1BuildDetails
    • createTime string: Output only. The time this occurrence was created.
    • deployment GrafeasV1beta1DeploymentDetails
    • derivedImage GrafeasV1beta1ImageDetails
    • discovered GrafeasV1beta1DiscoveryDetails
    • installation GrafeasV1beta1PackageDetails
    • intoto GrafeasV1beta1IntotoDetails
    • kind string (values: NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, INTOTO): Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.
    • name string: Output only. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].
    • noteName string: Required. Immutable. The analysis note associated with this occurrence, in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. This field can be used as a filter in list requests.
    • remediation string: A description of actions that can be taken to remedy the note.
    • resource Resource
    • updateTime string: Output only. The time this occurrence was last updated.
    • vulnerability GrafeasV1beta1VulnerabilityDetails

Package

  • Package object: This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.
    • distribution array: The various channels by which a package is distributed.
    • name string: Required. Immutable. The name of the package.

PackageIssue

  • PackageIssue object: This message wraps a location affected by a vulnerability and its associated fix (if one is available).
    • affectedLocation VulnerabilityLocation
    • fixedLocation VulnerabilityLocation
    • severityName string: Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.

PgpSignedAttestation

  • PgpSignedAttestation object: An attestation wrapper with a PGP-compatible signature. This message only supports ATTACHED signatures, where the payload that is signed is included alongside the signature itself in the same file.
    • contentType string (values: CONTENT_TYPE_UNSPECIFIED, SIMPLE_SIGNING_JSON): Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
    • pgpKeyId string: The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. gpg --list-keys. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexidecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge "LONG", "SHORT", or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the fpr field returned when calling --list-keys with --with-colons. For example: gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys attester@example.com tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: Above, the fingerprint is 24FF6481B76AC91E66A00AC657A93A81EF3AE6FB.
    • signature string: Required. The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (--armor to gpg), non-clearsigned (--sign rather than --clearsign to gpg) are supported. Concretely, `gpg --sign --armor