Package-level declarations

Types

Link copied to clipboard
data class AnalysisCompletedArgs(val analysisType: Output<List<String>>? = null) : ConvertibleToJava<AnalysisCompletedArgs>

Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.

Link copied to clipboard
data class ArtifactArgs(val checksum: Output<String>? = null, val id: Output<String>? = null, val name: Output<String>? = null, val names: Output<List<String>>? = null) : ConvertibleToJava<ArtifactArgs>

Artifact describes a build product.

Link copied to clipboard
Link copied to clipboard
data class AssessmentArgs(val cve: Output<String>? = null, val impacts: Output<List<String>>? = null, val justification: Output<JustificationArgs>? = null, val longDescription: Output<String>? = null, val relatedUris: Output<List<URIArgs>>? = null, val remediations: Output<List<RemediationArgs>>? = null, val shortDescription: Output<String>? = null, val state: Output<AssessmentState>? = null) : ConvertibleToJava<AssessmentArgs>

Assessment provides all information that is related to a single vulnerability for this product.

Link copied to clipboard
Link copied to clipboard
data class AttestationArgs(val pgpSignedAttestation: Output<PgpSignedAttestationArgs>? = null) : ConvertibleToJava<AttestationArgs>

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 AttestationAuthority 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).

Link copied to clipboard
Link copied to clipboard
data class AttestationAuthorityArgs(val hint: Output<AttestationAuthorityHintArgs>? = null) : ConvertibleToJava<AttestationAuthorityArgs>

Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one AttestationAuthority 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.

Link copied to clipboard
data class AttestationAuthorityHintArgs(val humanReadableName: Output<String>? = null) : ConvertibleToJava<AttestationAuthorityHintArgs>

This submessage provides human-readable hints about the purpose of the AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.

Link copied to clipboard
data class BasisArgs(val fingerprint: Output<FingerprintArgs>? = null, val resourceUrl: Output<String>? = null) : ConvertibleToJava<BasisArgs>

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.

Link copied to clipboard

Builder for BasisArgs.

Link copied to clipboard
data class BindingArgs(val condition: Output<ExprArgs>? = null, val members: Output<List<String>>? = null, val role: Output<String>? = null) : ConvertibleToJava<BindingArgs>

Associates members, or principals, with a role.

Link copied to clipboard
Link copied to clipboard
data class BuildDetailsArgs(val intotoProvenance: Output<InTotoProvenanceArgs>? = null, val intotoStatement: Output<InTotoStatementArgs>? = null, val provenance: Output<BuildProvenanceArgs>? = null, val provenanceBytes: Output<String>? = null) : ConvertibleToJava<BuildDetailsArgs>

Message encapsulating build provenance details.

Link copied to clipboard
Link copied to clipboard
data class BuilderConfigArgs(val id: Output<String>? = null) : ConvertibleToJava<BuilderConfigArgs>
Link copied to clipboard
Link copied to clipboard
data class BuildProvenanceArgs(val buildOptions: Output<Map<String, String>>? = null, val builderVersion: Output<String>? = null, val builtArtifacts: Output<List<ArtifactArgs>>? = null, val commands: Output<List<CommandArgs>>? = null, val createTime: Output<String>? = null, val creator: Output<String>? = null, val finishTime: Output<String>? = null, val id: Output<String>? = null, val logsBucket: Output<String>? = null, val project: Output<String>? = null, val sourceProvenance: Output<SourceArgs>? = null, val startTime: Output<String>? = null, val triggerId: Output<String>? = null) : ConvertibleToJava<BuildProvenanceArgs>

Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.

Link copied to clipboard
data class BuildSignatureArgs(val keyId: Output<String>? = null, val keyType: Output<BuildSignatureKeyType>? = null, val publicKey: Output<String>? = null, val signature: Output<String>? = null) : ConvertibleToJava<BuildSignatureArgs>

Message encapsulating the signature of the verified build.

Link copied to clipboard
Link copied to clipboard
data class BuildTypeArgs(val builderVersion: Output<String>? = null, val signature: Output<BuildSignatureArgs>? = null) : ConvertibleToJava<BuildTypeArgs>

Note holding the version of the provider's builder and the signature of the provenance message in linked BuildDetails.

Link copied to clipboard
Link copied to clipboard
data class CisBenchmarkArgs(val profileLevel: Output<Int>? = null, val severity: Output<CisBenchmarkSeverity>? = null) : ConvertibleToJava<CisBenchmarkArgs>

A compliance check that is a CIS benchmark.

Link copied to clipboard
Link copied to clipboard
data class CommandArgs(val args: Output<List<String>>? = null, val dir: Output<String>? = null, val env: Output<List<String>>? = null, val id: Output<String>? = null, val name: Output<String>? = null, val waitFor: Output<List<String>>? = null) : ConvertibleToJava<CommandArgs>

Command describes a step performed as part of the build pipeline.

Link copied to clipboard
Link copied to clipboard
data class CompletenessArgs(val arguments: Output<Boolean>? = null, val environment: Output<Boolean>? = null, val materials: Output<Boolean>? = null) : ConvertibleToJava<CompletenessArgs>

Indicates that the builder claims certain fields in this message to be complete.

Link copied to clipboard
Link copied to clipboard
data class ComplianceNoteArgs(val cisBenchmark: Output<CisBenchmarkArgs>? = null, val description: Output<String>? = null, val rationale: Output<String>? = null, val remediation: Output<String>? = null, val scanInstructions: Output<String>? = null, val title: Output<String>? = null, val version: Output<List<ComplianceVersionArgs>>? = null) : ConvertibleToJava<ComplianceNoteArgs>

ComplianceNote encapsulates all information about a specific compliance check.

Link copied to clipboard
Link copied to clipboard
data class ComplianceOccurrenceArgs(val nonComplianceReason: Output<String>? = null, val nonCompliantFiles: Output<List<NonCompliantFileArgs>>? = null) : ConvertibleToJava<ComplianceOccurrenceArgs>

An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.

Link copied to clipboard
data class ComplianceVersionArgs(val benchmarkDocument: Output<String>? = null, val cpeUri: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<ComplianceVersionArgs>

Describes the CIS benchmark version that is applicable to a given OS and os version.

Link copied to clipboard
data class CVSSArgs(val attackComplexity: Output<CVSSAttackComplexity>? = null, val attackVector: Output<CVSSAttackVector>? = null, val authentication: Output<CVSSAuthentication>? = null, val availabilityImpact: Output<CVSSAvailabilityImpact>? = null, val baseScore: Output<Double>? = null, val confidentialityImpact: Output<CVSSConfidentialityImpact>? = null, val exploitabilityScore: Output<Double>? = null, val impactScore: Output<Double>? = null, val integrityImpact: Output<CVSSIntegrityImpact>? = null, val privilegesRequired: Output<CVSSPrivilegesRequired>? = null, val scope: Output<CVSSScope>? = null, val userInteraction: Output<CVSSUserInteraction>? = null) : ConvertibleToJava<CVSSArgs>

Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator

Link copied to clipboard

Builder for CVSSArgs.

Link copied to clipboard
data class DeployableArgs(val resourceUri: Output<List<String>>? = null) : ConvertibleToJava<DeployableArgs>

An artifact that can be deployed in some runtime.

Link copied to clipboard
Link copied to clipboard
data class DeploymentArgs(val address: Output<String>? = null, val config: Output<String>? = null, val deployTime: Output<String>? = null, val platform: Output<DeploymentPlatform>? = null, val resourceUri: Output<List<String>>? = null, val undeployTime: Output<String>? = null, val userEmail: Output<String>? = null) : ConvertibleToJava<DeploymentArgs>

The period during which some deployable was active in a runtime.

Link copied to clipboard
Link copied to clipboard
data class DerivedArgs(val fingerprint: Output<FingerprintArgs>? = null, val layerInfo: Output<List<LayerArgs>>? = null) : ConvertibleToJava<DerivedArgs>

Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .

Link copied to clipboard
Link copied to clipboard
data class DetailArgs(val cpeUri: Output<String>? = null, val description: Output<String>? = null, val fixedLocation: Output<VulnerabilityLocationArgs>? = null, val isObsolete: Output<Boolean>? = null, val maxAffectedVersion: Output<VersionArgs>? = null, val minAffectedVersion: Output<VersionArgs>? = null, val package: Output<String>? = null, val packageType: Output<String>? = null, val severityName: Output<String>? = null, val source: Output<String>? = null, val vendor: Output<String>? = null) : ConvertibleToJava<DetailArgs>

Identifies all occurrences 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

Link copied to clipboard

Builder for DetailArgs.

Link copied to clipboard
data class DigestArgs(val algo: Output<String>? = null, val digestBytes: Output<String>? = null) : ConvertibleToJava<DigestArgs>

Digest information.

Link copied to clipboard

Builder for DigestArgs.

Link copied to clipboard
data class DiscoveredArgs(val analysisCompleted: Output<AnalysisCompletedArgs>? = null, val analysisError: Output<List<StatusArgs>>? = null, val analysisStatus: Output<DiscoveredAnalysisStatus>? = null, val analysisStatusError: Output<StatusArgs>? = null, val archiveTime: Output<String>? = null, val continuousAnalysis: Output<DiscoveredContinuousAnalysis>? = null, val cpe: Output<String>? = null, val lastScanTime: Output<String>? = null) : ConvertibleToJava<DiscoveredArgs>

Provides information about the scan status of a discovered resource.

Link copied to clipboard
Link copied to clipboard
data class DiscoveryArgs(val analysisKind: Output<DiscoveryAnalysisKind>? = null) : ConvertibleToJava<DiscoveryArgs>

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. The occurrence's operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn't started.

Link copied to clipboard
Link copied to clipboard
data class DistributionArgs(val architecture: Output<DistributionArchitecture>? = null, val cpeUri: Output<String>? = null, val description: Output<String>? = null, val latestVersion: Output<VersionArgs>? = null, val maintainer: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<DistributionArgs>

This represents a particular channel of distribution for a given package. e.g. Debian's jessie-backports dpkg mirror

Link copied to clipboard
Link copied to clipboard
data class DocumentNoteArgs(val dataLicence: Output<String>? = null, val spdxVersion: Output<String>? = null) : ConvertibleToJava<DocumentNoteArgs>

DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/

Link copied to clipboard
Link copied to clipboard
data class DocumentOccurrenceArgs(val createTime: Output<String>? = null, val creatorComment: Output<String>? = null, val creators: Output<List<String>>? = null, val documentComment: Output<String>? = null, val externalDocumentRefs: Output<List<String>>? = null, val id: Output<String>? = null, val licenseListVersion: Output<String>? = null, val namespace: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<DocumentOccurrenceArgs>

DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/

Link copied to clipboard
data class DSSEAttestationNoteArgs(val hint: Output<DSSEHintArgs>? = null) : ConvertibleToJava<DSSEAttestationNoteArgs>

A note describing an attestation

Link copied to clipboard
data class DSSEAttestationOccurrenceArgs(val envelope: Output<EnvelopeArgs>? = null, val statement: Output<InTotoStatementArgs>? = null) : ConvertibleToJava<DSSEAttestationOccurrenceArgs>

An occurrence describing an attestation on a resource

Link copied to clipboard
data class DSSEHintArgs(val humanReadableName: Output<String>) : ConvertibleToJava<DSSEHintArgs>

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.

Link copied to clipboard
Link copied to clipboard
data class EnvelopeArgs(val payload: Output<String>? = null, val payloadType: Output<String>? = null, val signatures: Output<List<EnvelopeSignatureArgs>>? = null) : ConvertibleToJava<EnvelopeArgs>

MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.

Link copied to clipboard
Link copied to clipboard
data class EnvelopeSignatureArgs(val keyid: Output<String>? = null, val sig: Output<String>? = null) : ConvertibleToJava<EnvelopeSignatureArgs>

A DSSE signature

Link copied to clipboard
data class ExprArgs(val description: Output<String>? = null, val expression: Output<String>? = null, val location: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<ExprArgs>

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.

Link copied to clipboard

Builder for ExprArgs.

Link copied to clipboard
data class ExternalRefArgs(val category: Output<ExternalRefCategory>? = null, val comment: Output<String>? = null, val locator: Output<String>? = null, val type: Output<String>? = null) : ConvertibleToJava<ExternalRefArgs>

An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package

Link copied to clipboard
Link copied to clipboard
data class FileLocationArgs(val filePath: Output<String>? = null) : ConvertibleToJava<FileLocationArgs>

Indicates the location at which a package was found.

Link copied to clipboard
Link copied to clipboard
data class FileNoteArgs(val checksum: Output<List<String>>? = null, val fileType: Output<FileNoteFileType>? = null, val title: Output<String>? = null) : ConvertibleToJava<FileNoteArgs>

FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/

Link copied to clipboard
Link copied to clipboard
data class FileOccurrenceArgs(val attributions: Output<List<String>>? = null, val comment: Output<String>? = null, val contributors: Output<List<String>>? = null, val copyright: Output<String>? = null, val filesLicenseInfo: Output<List<String>>? = null, val id: Output<String>? = null, val licenseConcluded: Output<LicenseArgs>? = null, val notice: Output<String>? = null) : ConvertibleToJava<FileOccurrenceArgs>

FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/

Link copied to clipboard
Link copied to clipboard
data class FingerprintArgs(val v1Name: Output<String>? = null, val v2Blob: Output<List<String>>? = null) : ConvertibleToJava<FingerprintArgs>

A set of properties that uniquely identify a given Docker image.

Link copied to clipboard
Link copied to clipboard
data class GetNoteIamPolicyPlainArgs(val noteId: String, val project: String? = null) : ConvertibleToJava<GetNoteIamPolicyPlainArgs>
Link copied to clipboard
data class GetNotePlainArgs(val noteId: String, val project: String? = null) : ConvertibleToJava<GetNotePlainArgs>
Link copied to clipboard
Link copied to clipboard
data class GetOccurrenceIamPolicyPlainArgs(val occurrenceId: String, val project: String? = null) : ConvertibleToJava<GetOccurrenceIamPolicyPlainArgs>
Link copied to clipboard
data class GetOccurrencePlainArgs(val occurrenceId: String, val project: String? = null) : ConvertibleToJava<GetOccurrencePlainArgs>
Link copied to clipboard
data class GetProviderNoteIamPolicyPlainArgs(val noteId: String, val providerId: String) : ConvertibleToJava<GetProviderNoteIamPolicyPlainArgs>
data class GoogleDevtoolsContaineranalysisV1alpha1AliasContextArgs(val kind: Output<GoogleDevtoolsContaineranalysisV1alpha1AliasContextKind>? = null, val name: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1AliasContextArgs>

An alias to a repo revision.

data class GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextArgs(val aliasContext: Output<GoogleDevtoolsContaineranalysisV1alpha1AliasContextArgs>? = null, val repoId: Output<GoogleDevtoolsContaineranalysisV1alpha1RepoIdArgs>? = null, val revisionId: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextArgs>

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

data class GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextArgs(val aliasContext: Output<GoogleDevtoolsContaineranalysisV1alpha1AliasContextArgs>? = null, val gerritProject: Output<String>? = null, val hostUri: Output<String>? = null, val revisionId: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextArgs>

A SourceContext referring to a Gerrit project.

data class GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextArgs(val revisionId: Output<String>, val url: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextArgs>

A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).

data class GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdArgs(val project: Output<String>? = null, val repoName: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdArgs>

Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.

data class GoogleDevtoolsContaineranalysisV1alpha1RepoIdArgs(val projectRepoId: Output<GoogleDevtoolsContaineranalysisV1alpha1ProjectRepoIdArgs>? = null, val uid: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1RepoIdArgs>

A unique identifier for a Cloud Repo.

data class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderArgs(val id: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderArgs>

Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.

data class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessArgs(val environment: Output<Boolean>? = null, val materials: Output<Boolean>? = null, val parameters: Output<Boolean>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessArgs>

Indicates that the builder claims certain fields in this message to be complete.

data class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceArgs(val digest: Output<Map<String, String>>? = null, val entryPoint: Output<String>? = null, val uri: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceArgs>

Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.

data class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationArgs(val configSource: Output<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaConfigSourceArgs>? = null, val environment: Output<Map<String, String>>? = null, val parameters: Output<Map<String, String>>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationArgs>

Identifies the event that kicked off the build.

data class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArgs(val digest: Output<Map<String, String>>? = null, val uri: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArgs>

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.

data class GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataArgs(val buildFinishedOn: Output<String>? = null, val buildInvocationId: Output<String>? = null, val buildStartedOn: Output<String>? = null, val completeness: Output<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaCompletenessArgs>? = null, val reproducible: Output<Boolean>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataArgs>

Other properties of the build.

data class GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs(val cloudRepo: Output<GoogleDevtoolsContaineranalysisV1alpha1CloudRepoSourceContextArgs>? = null, val gerrit: Output<GoogleDevtoolsContaineranalysisV1alpha1GerritSourceContextArgs>? = null, val git: Output<GoogleDevtoolsContaineranalysisV1alpha1GitSourceContextArgs>? = null, val labels: Output<Map<String, String>>? = null) : ConvertibleToJava<GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs>

A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.

Link copied to clipboard
data class HashArgs(val type: Output<HashType>? = null, val value: Output<String>? = null) : ConvertibleToJava<HashArgs>

Container message for hash values.

Link copied to clipboard

Builder for HashArgs.

Link copied to clipboard
data class IdentifierHelperArgs(val field: Output<IdentifierHelperField>? = null, val genericUri: Output<String>? = null) : ConvertibleToJava<IdentifierHelperArgs>

Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields.

Link copied to clipboard
data class InstallationArgs(val license: Output<LicenseArgs>? = null, val location: Output<List<LocationArgs>>? = null) : ConvertibleToJava<InstallationArgs>

This represents how a particular software package may be installed on a system.

Link copied to clipboard
Link copied to clipboard
data class InTotoProvenanceArgs(val builderConfig: Output<BuilderConfigArgs>? = null, val materials: Output<List<String>>? = null, val metadata: Output<MetadataArgs>? = null, val recipe: Output<RecipeArgs>? = null) : ConvertibleToJava<InTotoProvenanceArgs>
Link copied to clipboard
data class InTotoStatementArgs(val predicateType: Output<String>? = null, val provenance: Output<InTotoProvenanceArgs>? = null, val slsaProvenance: Output<SlsaProvenanceArgs>? = null, val slsaProvenanceZeroTwo: Output<SlsaProvenanceZeroTwoArgs>? = null, val subject: Output<List<SubjectArgs>>? = null, val type: Output<String>? = null) : ConvertibleToJava<InTotoStatementArgs>

Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always "application/vnd.in-toto+json".

Link copied to clipboard
data class JustificationArgs(val details: Output<String>? = null, val justificationType: Output<JustificationJustificationType>? = null) : ConvertibleToJava<JustificationArgs>

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

Link copied to clipboard
Link copied to clipboard
data class LayerArgs(val arguments: Output<String>? = null, val directive: Output<LayerDirective>? = null) : ConvertibleToJava<LayerArgs>

Layer holds metadata specific to a layer of a Docker image.

Link copied to clipboard

Builder for LayerArgs.

Link copied to clipboard
data class LicenseArgs(val comments: Output<String>? = null, val expression: Output<String>? = null) : ConvertibleToJava<LicenseArgs>

License information.

Link copied to clipboard
Link copied to clipboard
data class LocationArgs(val cpeUri: Output<String>? = null, val path: Output<String>? = null, val version: Output<VersionArgs>? = null) : ConvertibleToJava<LocationArgs>

An occurrence of a particular package installation found within a system's filesystem. e.g. glibc was found in /var/lib/dpkg/status

Link copied to clipboard
Link copied to clipboard
data class MaterialArgs(val digest: Output<Map<String, String>>? = null, val uri: Output<String>? = null) : ConvertibleToJava<MaterialArgs>

Material is a material used in the generation of the provenance

Link copied to clipboard
Link copied to clipboard
data class MetadataArgs(val buildFinishedOn: Output<String>? = null, val buildInvocationId: Output<String>? = null, val buildStartedOn: Output<String>? = null, val completeness: Output<CompletenessArgs>? = null, val reproducible: Output<Boolean>? = null) : ConvertibleToJava<MetadataArgs>

Other properties of the build.

Link copied to clipboard
Link copied to clipboard
data class NonCompliantFileArgs(val displayCommand: Output<String>? = null, val path: Output<String>? = null, val reason: Output<String>? = null) : ConvertibleToJava<NonCompliantFileArgs>

Details about files that caused a compliance check to fail.

Link copied to clipboard
data class PackageArgs(val architecture: Output<PackageArchitecture>? = null, val cpeUri: Output<String>? = null, val description: Output<String>? = null, val digest: Output<List<DigestArgs>>? = null, val distribution: Output<List<DistributionArgs>>? = null, val license: Output<LicenseArgs>? = null, val maintainer: Output<String>? = null, val name: Output<String>? = null, val packageType: Output<String>? = null, val url: Output<String>? = null, val version: Output<VersionArgs>? = null) : ConvertibleToJava<PackageArgs>

This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions.

Link copied to clipboard
Link copied to clipboard
data class PackageInfoNoteArgs(val analyzed: Output<Boolean>? = null, val attribution: Output<String>? = null, val checksum: Output<String>? = null, val copyright: Output<String>? = null, val detailedDescription: Output<String>? = null, val downloadLocation: Output<String>? = null, val externalRefs: Output<List<ExternalRefArgs>>? = null, val filesLicenseInfo: Output<List<String>>? = null, val homePage: Output<String>? = null, val licenseDeclared: Output<LicenseArgs>? = null, val originator: Output<String>? = null, val packageType: Output<String>? = null, val summaryDescription: Output<String>? = null, val supplier: Output<String>? = null, val title: Output<String>? = null, val verificationCode: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<PackageInfoNoteArgs>

PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/

Link copied to clipboard
data class PackageInfoOccurrenceArgs(val comment: Output<String>? = null, val filename: Output<String>? = null, val id: Output<String>? = null, val licenseConcluded: Output<LicenseArgs>? = null, val sourceInfo: Output<String>? = null) : ConvertibleToJava<PackageInfoOccurrenceArgs>

PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/

Link copied to clipboard
data class PackageIssueArgs(val affectedLocation: Output<VulnerabilityLocationArgs>? = null, val fixedLocation: Output<VulnerabilityLocationArgs>? = null, val packageType: Output<String>? = null, val severityName: Output<String>? = null) : ConvertibleToJava<PackageIssueArgs>

This message wraps a location affected by a vulnerability and its associated fix (if one is available).

Link copied to clipboard
Link copied to clipboard
data class PgpSignedAttestationArgs(val contentType: Output<PgpSignedAttestationContentType>? = null, val pgpKeyId: Output<String>? = null, val signature: Output<String>? = null) : ConvertibleToJava<PgpSignedAttestationArgs>

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.

Link copied to clipboard
data class ProductArgs(val id: Output<String>? = null, val identifierHelper: Output<IdentifierHelperArgs>? = null, val name: Output<String>? = null) : ConvertibleToJava<ProductArgs>

Product contains information about a product and how to uniquely identify it.

Link copied to clipboard
Link copied to clipboard
data class PublisherArgs(val issuingAuthority: Output<String>? = null, val name: Output<String>? = null, val publisherNamespace: Output<String>? = null) : ConvertibleToJava<PublisherArgs>

Publisher contains information about the publisher of this Note.

Link copied to clipboard
Link copied to clipboard
data class RecipeArgs(val arguments: Output<List<Map<String, String>>>? = null, val definedInMaterial: Output<String>? = null, val entryPoint: Output<String>? = null, val environment: Output<List<Map<String, String>>>? = null, val type: Output<String>? = null) : ConvertibleToJava<RecipeArgs>

Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.

Link copied to clipboard

Builder for RecipeArgs.

Link copied to clipboard
data class RelatedUrlArgs(val label: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<RelatedUrlArgs>

Metadata for any related URL information

Link copied to clipboard
Link copied to clipboard
data class RelationshipNoteArgs(val type: Output<RelationshipNoteType>? = null) : ConvertibleToJava<RelationshipNoteArgs>

RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/

Link copied to clipboard
data class RelationshipOccurrenceArgs(val comment: Output<String>? = null, val source: Output<String>? = null, val target: Output<String>? = null) : ConvertibleToJava<RelationshipOccurrenceArgs>

RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/

Link copied to clipboard
data class RemediationArgs(val details: Output<String>? = null, val remediationType: Output<RemediationRemediationType>? = null, val remediationUri: Output<URIArgs>? = null) : ConvertibleToJava<RemediationArgs>

Specifies details on how to handle (and presumably, fix) a vulnerability.

Link copied to clipboard
Link copied to clipboard
data class RepoSourceArgs(val branchName: Output<String>? = null, val commitSha: Output<String>? = null, val project: Output<String>? = null, val repoName: Output<String>? = null, val tagName: Output<String>? = null) : ConvertibleToJava<RepoSourceArgs>

RepoSource describes the location of the source in a Google Cloud Source Repository.

Link copied to clipboard
Link copied to clipboard
data class ResourceArgs(val contentHash: Output<HashArgs>? = null, val name: Output<String>? = null, val uri: Output<String>? = null) : ConvertibleToJava<ResourceArgs>

Resource is an entity that can have metadata. E.g., a Docker image.

Link copied to clipboard
Link copied to clipboard
data class SbomReferenceIntotoPayloadArgs(val predicate: Output<SbomReferenceIntotoPredicateArgs>? = null, val predicateType: Output<String>? = null, val subject: Output<List<SubjectArgs>>? = null, val type: Output<String>? = null) : ConvertibleToJava<SbomReferenceIntotoPayloadArgs>

The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.

Link copied to clipboard
data class SbomReferenceIntotoPredicateArgs(val digest: Output<Map<String, String>>? = null, val location: Output<String>? = null, val mimeType: Output<String>? = null, val referrerId: Output<String>? = null) : ConvertibleToJava<SbomReferenceIntotoPredicateArgs>

A predicate which describes the SBOM being referenced.

Link copied to clipboard
data class SBOMReferenceNoteArgs(val format: Output<String>? = null, val version: Output<String>? = null) : ConvertibleToJava<SBOMReferenceNoteArgs>

The note representing an SBOM reference.

Link copied to clipboard
data class SBOMReferenceOccurrenceArgs(val payload: Output<SbomReferenceIntotoPayloadArgs>? = null, val payloadType: Output<String>? = null, val signatures: Output<List<EnvelopeSignatureArgs>>? = null) : ConvertibleToJava<SBOMReferenceOccurrenceArgs>

The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details.

Link copied to clipboard
data class SlsaBuilderArgs(val id: Output<String>? = null) : ConvertibleToJava<SlsaBuilderArgs>

SlsaBuilder encapsulates the identity of the builder of this provenance.

Link copied to clipboard
Link copied to clipboard
data class SlsaCompletenessArgs(val arguments: Output<Boolean>? = null, val environment: Output<Boolean>? = null, val materials: Output<Boolean>? = null) : ConvertibleToJava<SlsaCompletenessArgs>

Indicates that the builder claims certain fields in this message to be complete.

Link copied to clipboard
data class SlsaMetadataArgs(val buildFinishedOn: Output<String>? = null, val buildInvocationId: Output<String>? = null, val buildStartedOn: Output<String>? = null, val completeness: Output<SlsaCompletenessArgs>? = null, val reproducible: Output<Boolean>? = null) : ConvertibleToJava<SlsaMetadataArgs>

Other properties of the build.

Link copied to clipboard
Link copied to clipboard
data class SlsaProvenanceArgs(val builder: Output<SlsaBuilderArgs>? = null, val materials: Output<List<MaterialArgs>>? = null, val metadata: Output<SlsaMetadataArgs>? = null, val recipe: Output<SlsaRecipeArgs>? = null) : ConvertibleToJava<SlsaProvenanceArgs>

SlsaProvenance is the slsa provenance as defined by the slsa spec.

Link copied to clipboard
Link copied to clipboard
data class SlsaProvenanceZeroTwoArgs(val buildConfig: Output<Map<String, String>>? = null, val buildType: Output<String>? = null, val builder: Output<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaBuilderArgs>? = null, val invocation: Output<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaInvocationArgs>? = null, val materials: Output<List<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMaterialArgs>>? = null, val metadata: Output<GoogleDevtoolsContaineranalysisV1alpha1SlsaProvenanceZeroTwoSlsaMetadataArgs>? = null) : ConvertibleToJava<SlsaProvenanceZeroTwoArgs>

SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2.

Link copied to clipboard
data class SlsaRecipeArgs(val arguments: Output<Map<String, String>>? = null, val definedInMaterial: Output<String>? = null, val entryPoint: Output<String>? = null, val environment: Output<Map<String, String>>? = null, val type: Output<String>? = null) : ConvertibleToJava<SlsaRecipeArgs>

Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.

Link copied to clipboard
Link copied to clipboard
data class SourceArgs(val additionalContexts: Output<List<GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs>>? = null, val artifactStorageSource: Output<StorageSourceArgs>? = null, val context: Output<GoogleDevtoolsContaineranalysisV1alpha1SourceContextArgs>? = null, val fileHashes: Output<Map<String, String>>? = null, val repoSource: Output<RepoSourceArgs>? = null, val storageSource: Output<StorageSourceArgs>? = null) : ConvertibleToJava<SourceArgs>

Source describes the location of the source used for the build.

Link copied to clipboard

Builder for SourceArgs.

Link copied to clipboard
data class StatusArgs(val code: Output<Int>? = null, val details: Output<List<Map<String, String>>>? = null, val message: Output<String>? = null) : ConvertibleToJava<StatusArgs>

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

Link copied to clipboard

Builder for StatusArgs.

Link copied to clipboard
data class StorageSourceArgs(val bucket: Output<String>? = null, val generation: Output<String>? = null, val object: Output<String>? = null) : ConvertibleToJava<StorageSourceArgs>

StorageSource describes the location of the source in an archive file in Google Cloud Storage.

Link copied to clipboard
Link copied to clipboard
data class SubjectArgs(val digest: Output<Map<String, String>>? = null, val name: Output<String>? = null) : ConvertibleToJava<SubjectArgs>

Subject refers to the subject of the intoto statement

Link copied to clipboard
Link copied to clipboard
data class UpgradeDistributionArgs(val classification: Output<String>? = null, val cpeUri: Output<String>? = null, val cve: Output<List<String>>? = null, val severity: Output<String>? = null) : ConvertibleToJava<UpgradeDistributionArgs>

The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.

Link copied to clipboard
data class UpgradeNoteArgs(val distributions: Output<List<UpgradeDistributionArgs>>? = null, val package: Output<String>? = null, val version: Output<VersionArgs>? = null) : ConvertibleToJava<UpgradeNoteArgs>

An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note.

Link copied to clipboard
Link copied to clipboard
data class UpgradeOccurrenceArgs(val distribution: Output<UpgradeDistributionArgs>? = null, val package: Output<String>? = null, val parsedVersion: Output<VersionArgs>? = null) : ConvertibleToJava<UpgradeOccurrenceArgs>

An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability).

Link copied to clipboard
data class URIArgs(val label: Output<String>? = null, val uri: Output<String>? = null) : ConvertibleToJava<URIArgs>

An URI message.

Link copied to clipboard

Builder for URIArgs.

Link copied to clipboard
data class VersionArgs(val epoch: Output<Int>? = null, val inclusive: Output<Boolean>? = null, val kind: Output<VersionKind>? = null, val name: Output<String>? = null, val revision: Output<String>? = null) : ConvertibleToJava<VersionArgs>

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/

Link copied to clipboard
Link copied to clipboard
data class VexAssessmentArgs(val cve: Output<String>? = null, val impacts: Output<List<String>>? = null, val justification: Output<JustificationArgs>? = null, val noteName: Output<String>? = null, val relatedUris: Output<List<URIArgs>>? = null, val remediations: Output<List<RemediationArgs>>? = null, val state: Output<VexAssessmentState>? = null) : ConvertibleToJava<VexAssessmentArgs>

VexAssessment provides all publisher provided Vex information that is related to this vulnerability.

Link copied to clipboard
Link copied to clipboard
data class VulnerabilityAssessmentNoteArgs(val assessment: Output<AssessmentArgs>? = null, val languageCode: Output<String>? = null, val longDescription: Output<String>? = null, val product: Output<ProductArgs>? = null, val publisher: Output<PublisherArgs>? = null, val shortDescription: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<VulnerabilityAssessmentNoteArgs>

A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format.

Link copied to clipboard
data class VulnerabilityDetailsArgs(val cvssV2: Output<CVSSArgs>? = null, val cvssV3: Output<CVSSArgs>? = null, val effectiveSeverity: Output<VulnerabilityDetailsEffectiveSeverity>? = null, val packageIssue: Output<List<PackageIssueArgs>>? = null, val type: Output<String>? = null, val vexAssessment: Output<VexAssessmentArgs>? = null) : ConvertibleToJava<VulnerabilityDetailsArgs>

Used by Occurrence to point to where the vulnerability exists and how to fix it.

Link copied to clipboard
data class VulnerabilityLocationArgs(val cpeUri: Output<String>? = null, val fileLocation: Output<List<FileLocationArgs>>? = null, val package: Output<String>? = null, val version: Output<VersionArgs>? = null) : ConvertibleToJava<VulnerabilityLocationArgs>

The location of the vulnerability

Link copied to clipboard
data class VulnerabilityTypeArgs(val cvssScore: Output<Double>? = null, val cvssV2: Output<CVSSArgs>? = null, val cvssVersion: Output<VulnerabilityTypeCvssVersion>? = null, val cwe: Output<List<String>>? = null, val details: Output<List<DetailArgs>>? = null, val severity: Output<VulnerabilityTypeSeverity>? = null) : ConvertibleToJava<VulnerabilityTypeArgs>

VulnerabilityType provides metadata about a security vulnerability.