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 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 AttestationNoteArgs(val hint: Output<HintArgs>? = null) : ConvertibleToJava<AttestationNoteArgs>

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
data class AttestationOccurrenceArgs(val jwts: Output<List<JwtArgs>>? = null, val serializedPayload: Output<String>, val signatures: Output<List<SignatureArgs>>? = null) : ConvertibleToJava<AttestationOccurrenceArgs>

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 lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.

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 BuilderConfigArgs(val id: Output<String>? = null) : ConvertibleToJava<BuilderConfigArgs>
Link copied to clipboard
Link copied to clipboard
data class BuildNoteArgs(val builderVersion: Output<String>) : ConvertibleToJava<BuildNoteArgs>

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
Link copied to clipboard
data class BuildOccurrenceArgs(val intotoProvenance: Output<InTotoProvenanceArgs>? = null, val intotoStatement: Output<InTotoStatementArgs>? = null, val provenance: Output<BuildProvenanceArgs>? = null, val provenanceBytes: Output<String>? = null) : ConvertibleToJava<BuildOccurrenceArgs>

Details of a build occurrence.

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

The category to which the update belongs.

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 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 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>
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. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.

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>

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 DeploymentNoteArgs(val resourceUri: Output<List<String>>) : ConvertibleToJava<DeploymentNoteArgs>

An artifact that can be deployed in some runtime.

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

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

Link copied to clipboard
data class DetailArgs(val affectedCpeUri: Output<String>, val affectedPackage: Output<String>, val affectedVersionEnd: Output<VersionArgs>? = null, val affectedVersionStart: Output<VersionArgs>? = null, val description: Output<String>? = null, val fixedCpeUri: Output<String>? = null, val fixedPackage: Output<String>? = null, val fixedVersion: Output<VersionArgs>? = null, val isObsolete: Output<Boolean>? = null, 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>

A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).

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 DiscoveryNoteArgs(val analysisKind: Output<DiscoveryNoteAnalysisKind>) : ConvertibleToJava<DiscoveryNoteArgs>

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 DiscoveryOccurrenceArgs(val analysisCompleted: Output<AnalysisCompletedArgs>? = null, val analysisError: Output<List<StatusArgs>>? = null, val analysisStatus: Output<DiscoveryOccurrenceAnalysisStatus>? = null, val analysisStatusError: Output<StatusArgs>? = null, val continuousAnalysis: Output<DiscoveryOccurrenceContinuousAnalysis>? = null, val cpe: Output<String>? = null, val lastScanTime: Output<String>? = null) : ConvertibleToJava<DiscoveryOccurrenceArgs>

Provides information about the analysis status of a discovered resource.

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 DSSEAttestationNoteArgs(val hint: Output<DSSEHintArgs>? = null) : ConvertibleToJava<DSSEAttestationNoteArgs>
Link copied to clipboard
data class DSSEAttestationOccurrenceArgs(val envelope: Output<EnvelopeArgs>? = null, val statement: Output<InTotoStatementArgs>? = null) : ConvertibleToJava<DSSEAttestationOccurrenceArgs>

Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence.

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>
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 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 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 GrafeasV1FileLocationArgs(val filePath: Output<String>? = null) : ConvertibleToJava<GrafeasV1FileLocationArgs>

Indicates the location at which a package was found.

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

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

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

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

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

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 GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationArgs(val configSource: Output<GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSourceArgs>? = null, val environment: Output<Map<String, String>>? = null, val parameters: Output<Map<String, String>>? = null) : ConvertibleToJava<GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationArgs>

Identifies the event that kicked off the build.

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

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

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

Other properties of the build.

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 IdentityArgs(val revision: Output<Int>? = null, val updateId: Output<String>? = null) : ConvertibleToJava<IdentityArgs>

The unique identifier of the update.

Link copied to clipboard
Link copied to clipboard
data class ImageNoteArgs(val fingerprint: Output<FingerprintArgs>, val resourceUrl: Output<String>) : ConvertibleToJava<ImageNoteArgs>

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
Link copied to clipboard
data class ImageOccurrenceArgs(val fingerprint: Output<FingerprintArgs>, val layerInfo: Output<List<LayerArgs>>? = null) : ConvertibleToJava<ImageOccurrenceArgs>

Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .

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 JwtArgs(val compactJwt: Output<String>? = null) : ConvertibleToJava<JwtArgs>
Link copied to clipboard

Builder for JwtArgs.

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<String>) : 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>
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. display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using 'path'.

Link copied to clipboard
data class PackageIssueArgs(val affectedCpeUri: Output<String>, val affectedPackage: Output<String>, val affectedVersion: Output<VersionArgs>, val fileLocation: Output<List<GrafeasV1FileLocationArgs>>? = null, val fixedCpeUri: Output<String>? = null, val fixedPackage: Output<String>? = null, val fixedVersion: Output<VersionArgs>, val packageType: Output<String>? = null) : ConvertibleToJava<PackageIssueArgs>

A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).

Link copied to clipboard
Link copied to clipboard
data class PackageNoteArgs(val architecture: Output<PackageNoteArchitecture>? = 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<PackageNoteArgs>

PackageNote represents a particular package version.

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

Details on how a particular software package was installed on a system.

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 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 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 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 SlsaBuilderArgs(val id: Output<String>? = null) : ConvertibleToJava<SlsaBuilderArgs>
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>
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<GrafeasV1SlsaProvenanceZeroTwoSlsaBuilderArgs>? = null, val invocation: Output<GrafeasV1SlsaProvenanceZeroTwoSlsaInvocationArgs>? = null, val materials: Output<List<GrafeasV1SlsaProvenanceZeroTwoSlsaMaterialArgs>>? = null, val metadata: Output<GrafeasV1SlsaProvenanceZeroTwoSlsaMetadataArgs>? = null) : ConvertibleToJava<SlsaProvenanceZeroTwoArgs>

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<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>
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, val windowsUpdate: Output<WindowsUpdateArgs>? = 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 an Upgrade Note. For Windows, windows_update field represents the information related to the update.

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, val windowsUpdate: Output<WindowsUpdateArgs>? = 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). For Windows, both distribution and windows_update contain information for the Windows update.

Link copied to clipboard
data class VersionArgs(val epoch: Output<Int>? = null, val fullName: Output<String>? = 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 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 VulnerabilityNoteArgs(val cvssScore: Output<Double>? = null, val cvssV2: Output<CVSSArgs>? = null, val cvssV3: Output<CVSSv3Args>? = null, val cvssVersion: Output<VulnerabilityNoteCvssVersion>? = null, val details: Output<List<DetailArgs>>? = null, val severity: Output<VulnerabilityNoteSeverity>? = null, val sourceUpdateTime: Output<String>? = null, val windowsDetails: Output<List<WindowsDetailArgs>>? = null) : ConvertibleToJava<VulnerabilityNoteArgs>

A security vulnerability that can be found in resources.

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

An occurrence of a severity vulnerability on a resource.

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
Link copied to clipboard
data class WindowsUpdateArgs(val categories: Output<List<CategoryArgs>>? = null, val description: Output<String>? = null, val identity: Output<IdentityArgs>? = null, val kbArticleIds: Output<List<String>>? = null, val lastPublishedTimestamp: Output<String>? = null, val supportUrl: Output<String>? = null, val title: Output<String>? = null) : ConvertibleToJava<WindowsUpdateArgs>

Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.

Link copied to clipboard