Package-level declarations

Types

Link copied to clipboard
data class AliasContextArgs(val kind: Output<AliasContextKind>? = null, val name: Output<String>? = null) : ConvertibleToJava<AliasContextArgs>

An alias to a repo revision.

Link copied to clipboard
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 names: Output<List<String>>? = null) : ConvertibleToJava<ArtifactArgs>

Artifact describes a build product.

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

Defines a hash object for use in Materials and Products.

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

Defines an object to declare an in-toto artifact rule

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<RelatedUrlArgs>>? = 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 genericSignedAttestation: Output<GenericSignedAttestationArgs>? = null, 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 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).

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

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.

Link copied to clipboard
Link copied to clipboard
data class BasisArgs(val fingerprint: Output<FingerprintArgs>, val resourceUrl: Output<String>) : 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 BuildArgs(val builderVersion: Output<String>, val signature: Output<BuildSignatureArgs>? = null) : ConvertibleToJava<BuildArgs>

Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.

Link copied to clipboard

Builder for BuildArgs.

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 endTime: Output<String>? = null, val id: Output<String>, val logsUri: 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>) : ConvertibleToJava<BuildSignatureArgs>

Message encapsulating the signature of the verified build.

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

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

Link copied to clipboard
Link copied to clipboard
data class CloudRepoSourceContextArgs(val aliasContext: Output<AliasContextArgs>? = null, val repoId: Output<RepoIdArgs>? = null, val revisionId: Output<String>? = null) : ConvertibleToJava<CloudRepoSourceContextArgs>

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

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>, 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 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 CVSSv3Args(val attackComplexity: Output<CVSSv3AttackComplexity>? = null, val attackVector: Output<CVSSv3AttackVector>? = null, val availabilityImpact: Output<CVSSv3AvailabilityImpact>? = null, val baseScore: Output<Double>? = null, val confidentialityImpact: Output<CVSSv3ConfidentialityImpact>? = null, val exploitabilityScore: Output<Double>? = null, val impactScore: Output<Double>? = null, val integrityImpact: Output<CVSSv3IntegrityImpact>? = null, val privilegesRequired: Output<CVSSv3PrivilegesRequired>? = null, val scope: Output<CVSSv3Scope>? = null, val userInteraction: Output<CVSSv3UserInteraction>? = null) : ConvertibleToJava<CVSSv3Args>

Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

Link copied to clipboard

Builder for CVSSv3Args.

Link copied to clipboard
data class DeployableArgs(val resourceUri: Output<List<String>>) : 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>, val platform: Output<DeploymentPlatform>? = 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>, 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>, 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>, val packageType: Output<String>? = null, val severityName: Output<String>? = null, val source: Output<String>? = null, val sourceUpdateTime: Output<String>? = null, val vendor: Output<String>? = null) : ConvertibleToJava<DetailArgs>

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

Link copied to clipboard

Builder for DetailArgs.

Link copied to clipboard
data class DetailsArgs(val attestation: Output<AttestationArgs>) : ConvertibleToJava<DetailsArgs>

Details of an attestation occurrence.

Link copied to clipboard
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 continuousAnalysis: Output<DiscoveredContinuousAnalysis>? = null, val lastAnalysisTime: Output<String>? = null) : ConvertibleToJava<DiscoveredArgs>

Provides information about the analysis status of a discovered resource.

Link copied to clipboard
Link copied to clipboard
data class DiscoveryArgs(val analysisKind: Output<DiscoveryAnalysisKind>) : 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.

Link copied to clipboard
Link copied to clipboard
data class DistributionArgs(val architecture: Output<DistributionArchitecture>? = null, val cpeUri: Output<String>, 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 Information section: https://spdx.github.io/spdx-spec/v2.3/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/v2.3/document-creation-information/

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>
Link copied to clipboard
data class EnvironmentArgs(val customValues: Output<Map<String, String>>? = null) : ConvertibleToJava<EnvironmentArgs>

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

Link copied to clipboard
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 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>, val v2Blob: Output<List<String>>) : ConvertibleToJava<FingerprintArgs>

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

Link copied to clipboard
Link copied to clipboard
data class GenericSignedAttestationArgs(val contentType: Output<GenericSignedAttestationContentType>? = null, val serializedPayload: Output<String>? = null, val signatures: Output<List<SignatureArgs>>? = null) : ConvertibleToJava<GenericSignedAttestationArgs>

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.

Link copied to clipboard
data class GerritSourceContextArgs(val aliasContext: Output<AliasContextArgs>? = null, val gerritProject: Output<String>? = null, val hostUri: Output<String>? = null, val revisionId: Output<String>? = null) : ConvertibleToJava<GerritSourceContextArgs>

A SourceContext referring to a Gerrit project.

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 GitSourceContextArgs(val revisionId: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<GitSourceContextArgs>

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

Link copied to clipboard
data class GrafeasV1beta1BuildDetailsArgs(val provenance: Output<BuildProvenanceArgs>, val provenanceBytes: Output<String>? = null) : ConvertibleToJava<GrafeasV1beta1BuildDetailsArgs>

Details of a build occurrence.

Link copied to clipboard
data class GrafeasV1beta1DeploymentDetailsArgs(val deployment: Output<DeploymentArgs>) : ConvertibleToJava<GrafeasV1beta1DeploymentDetailsArgs>

Details of a deployment occurrence.

Link copied to clipboard
data class GrafeasV1beta1DiscoveryDetailsArgs(val discovered: Output<DiscoveredArgs>) : ConvertibleToJava<GrafeasV1beta1DiscoveryDetailsArgs>

Details of a discovery occurrence.

Link copied to clipboard
data class GrafeasV1beta1ImageDetailsArgs(val derivedImage: Output<DerivedArgs>) : ConvertibleToJava<GrafeasV1beta1ImageDetailsArgs>

Details of an image occurrence.

Link copied to clipboard
data class GrafeasV1beta1IntotoArtifactArgs(val hashes: Output<ArtifactHashesArgs>? = null, val resourceUri: Output<String>? = null) : ConvertibleToJava<GrafeasV1beta1IntotoArtifactArgs>
Link copied to clipboard
data class GrafeasV1beta1IntotoDetailsArgs(val signatures: Output<List<GrafeasV1beta1IntotoSignatureArgs>>? = null, val signed: Output<LinkArgs>? = null) : ConvertibleToJava<GrafeasV1beta1IntotoDetailsArgs>

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.

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

A signature object consists of the KeyID used and the signature itself.

Link copied to clipboard
data class GrafeasV1beta1PackageDetailsArgs(val installation: Output<InstallationArgs>) : ConvertibleToJava<GrafeasV1beta1PackageDetailsArgs>

Details of a package occurrence.

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

Details of a vulnerability Occurrence.

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

Container message for hash values.

Link copied to clipboard

Builder for HashArgs.

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

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

Builder for HintArgs.

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 InTotoArgs(val expectedCommand: Output<List<String>>? = null, val expectedMaterials: Output<List<ArtifactRuleArgs>>? = null, val expectedProducts: Output<List<ArtifactRuleArgs>>? = null, val signingKeys: Output<List<SigningKeyArgs>>? = null, val stepName: Output<String>? = null, val threshold: Output<String>? = null) : ConvertibleToJava<InTotoArgs>

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.

Link copied to clipboard

Builder for InTotoArgs.

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 KnowledgeBaseArgs(val name: Output<String>? = null, val url: Output<String>? = null) : ConvertibleToJava<KnowledgeBaseArgs>
Link copied to clipboard
Link copied to clipboard
data class LayerArgs(val arguments: Output<String>? = null, val directive: Output<LayerDirective>) : 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 LinkArgs(val byproducts: Output<ByProductsArgs>? = null, val command: Output<List<String>>? = null, val environment: Output<EnvironmentArgs>? = null, val materials: Output<List<GrafeasV1beta1IntotoArtifactArgs>>? = null, val products: Output<List<GrafeasV1beta1IntotoArtifactArgs>>? = null) : ConvertibleToJava<LinkArgs>

This corresponds to an in-toto link.

Link copied to clipboard

Builder for LinkArgs.

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 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>, val packageType: Output<String>? = null, val url: Output<String>? = null, val version: Output<VersionArgs>? = null) : ConvertibleToJava<PackageArgs>

Package represents a particular package version.

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>, 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>) : 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 genericUri: Output<String>? = null, val id: Output<String>? = 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 ProjectRepoIdArgs(val project: Output<String>? = null, val repoName: Output<String>? = null) : ConvertibleToJava<ProjectRepoIdArgs>

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

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 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<RelatedUrlArgs>? = null) : ConvertibleToJava<RemediationArgs>

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

Link copied to clipboard
Link copied to clipboard
data class RepoIdArgs(val projectRepoId: Output<ProjectRepoIdArgs>? = null, val uid: Output<String>? = null) : ConvertibleToJava<RepoIdArgs>

A unique identifier for a Cloud Repo.

Link copied to clipboard

Builder for RepoIdArgs.

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

An entity that can have metadata. For example, 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 SignatureArgs(val publicKeyId: Output<String>? = null, val signature: Output<String>? = null) : ConvertibleToJava<SignatureArgs>

Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from public_key_id to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature public_key_id as anything more than a key lookup hint. The public_key_id DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The public_key_id is not recognized by the verifier. * The public key that public_key_id refers to does not verify the signature with respect to the payload. The signature contents SHOULD NOT be "attached" (where the payload is included with the serialized signature bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a payload field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).

Link copied to clipboard
Link copied to clipboard
data class SigningKeyArgs(val keyId: Output<String>? = null, val keyScheme: Output<String>? = null, val keyType: Output<String>? = null, val publicKeyValue: Output<String>? = null) : ConvertibleToJava<SigningKeyArgs>

This defines the format used to record keys used in the software supply chain. An in-toto link is attested using one or more keys defined in the in-toto layout. An example of this is: { "key_id": "776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...", "key_type": "rsa", "public_key_value": "-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0B...", "key_scheme": "rsassa-pss-sha256" } The format for in-toto's key definition can be found in section 4.2 of the in-toto specification.

Link copied to clipboard
Link copied to clipboard
data class SourceArgs(val additionalContexts: Output<List<SourceContextArgs>>? = null, val artifactStorageSourceUri: Output<String>? = null, val context: Output<SourceContextArgs>? = null, val fileHashes: Output<Map<String, String>>? = 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 SourceContextArgs(val cloudRepo: Output<CloudRepoSourceContextArgs>? = null, val gerrit: Output<GerritSourceContextArgs>? = null, val git: Output<GitSourceContextArgs>? = null, val labels: Output<Map<String, String>>? = null) : ConvertibleToJava<SourceContextArgs>

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
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 SubjectArgs(val digest: Output<Map<String, String>>? = null, val name: Output<String>? = null) : ConvertibleToJava<SubjectArgs>

Set of software artifacts that the attestation applies to. Each element represents a single software artifact.

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

Version contains structured information about the version of a package.

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<RelatedUrlArgs>>? = 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 VulnerabilityArgs(val cvssScore: Output<Double>? = null, val cvssV2: Output<CVSSArgs>? = null, val cvssV3: Output<CVSSv3Args>? = null, val cvssVersion: Output<VulnerabilityCvssVersion>? = null, val cwe: Output<List<String>>? = null, val details: Output<List<DetailArgs>>? = null, val severity: Output<VulnerabilitySeverity>? = null, val sourceUpdateTime: Output<String>? = null, val windowsDetails: Output<List<WindowsDetailArgs>>? = null) : ConvertibleToJava<VulnerabilityArgs>

Vulnerability provides metadata about a security vulnerability in a Note.

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.

Link copied to clipboard
data class VulnerabilityLocationArgs(val cpeUri: Output<String>, val package: Output<String>, val version: Output<VersionArgs>) : ConvertibleToJava<VulnerabilityLocationArgs>

The location of the vulnerability.

Link copied to clipboard
data class WindowsDetailArgs(val cpeUri: Output<String>, val description: Output<String>? = null, val fixingKbs: Output<List<KnowledgeBaseArgs>>, val name: Output<String>) : ConvertibleToJava<WindowsDetailArgs>
Link copied to clipboard