Package-level declarations

Types

Link copied to clipboard

Creates a new note. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class NoteArgs(val attestationAuthority: Output<AuthorityArgs>? = null, val baseImage: Output<BasisArgs>? = null, val build: Output<BuildArgs>? = null, val deployable: Output<DeployableArgs>? = null, val discovery: Output<DiscoveryArgs>? = null, val expirationTime: Output<String>? = null, val intoto: Output<InTotoArgs>? = null, val longDescription: Output<String>? = null, val noteId: Output<String>? = null, val package: Output<PackageArgs>? = null, val project: Output<String>? = null, val relatedNoteNames: Output<List<String>>? = null, val relatedUrl: Output<List<RelatedUrlArgs>>? = null, val sbom: Output<DocumentNoteArgs>? = null, val sbomReference: Output<SBOMReferenceNoteArgs>? = null, val shortDescription: Output<String>? = null, val spdxFile: Output<FileNoteArgs>? = null, val spdxPackage: Output<PackageInfoNoteArgs>? = null, val spdxRelationship: Output<RelationshipNoteArgs>? = null, val vulnerability: Output<VulnerabilityArgs>? = null, val vulnerabilityAssessment: Output<VulnerabilityAssessmentNoteArgs>? = null) : ConvertibleToJava<NoteArgs>

Creates a new note. Auto-naming is currently not supported for this resource.

Link copied to clipboard

Builder for NoteArgs.

Link copied to clipboard

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

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

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

Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
data class NoteIamMemberArgs(val condition: Output<ConditionArgs>? = null, val member: Output<String>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<NoteIamMemberArgs>

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Sets the access control policy on the specified note or occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or an occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class NoteIamPolicyArgs(val bindings: Output<List<BindingArgs>>? = null, val etag: Output<String>? = null, val noteId: Output<String>? = null, val project: Output<String>? = null, val version: Output<Int>? = null) : ConvertibleToJava<NoteIamPolicyArgs>

Sets the access control policy on the specified note or occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or an occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Builder for Note.

Link copied to clipboard

Creates a new occurrence. Auto-naming is currently not supported for this resource.

Link copied to clipboard
data class OccurrenceArgs(val attestation: Output<DetailsArgs>? = null, val build: Output<GrafeasV1beta1BuildDetailsArgs>? = null, val deployment: Output<GrafeasV1beta1DeploymentDetailsArgs>? = null, val derivedImage: Output<GrafeasV1beta1ImageDetailsArgs>? = null, val discovered: Output<GrafeasV1beta1DiscoveryDetailsArgs>? = null, val envelope: Output<EnvelopeArgs>? = null, val installation: Output<GrafeasV1beta1PackageDetailsArgs>? = null, val intoto: Output<GrafeasV1beta1IntotoDetailsArgs>? = null, val noteName: Output<String>? = null, val project: Output<String>? = null, val remediation: Output<String>? = null, val resource: Output<ResourceArgs>? = null, val sbom: Output<DocumentOccurrenceArgs>? = null, val sbomReference: Output<SBOMReferenceOccurrenceArgs>? = null, val spdxFile: Output<FileOccurrenceArgs>? = null, val spdxPackage: Output<PackageInfoOccurrenceArgs>? = null, val spdxRelationship: Output<RelationshipOccurrenceArgs>? = null, val vulnerability: Output<GrafeasV1beta1VulnerabilityDetailsArgs>? = null) : ConvertibleToJava<OccurrenceArgs>

Creates a new occurrence. Auto-naming is currently not supported for this resource.

Link copied to clipboard
Link copied to clipboard

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

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

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

Link copied to clipboard

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

Link copied to clipboard
data class OccurrenceIamMemberArgs(val condition: Output<ConditionArgs>? = null, val member: Output<String>? = null, val name: Output<String>? = null, val role: Output<String>? = null) : ConvertibleToJava<OccurrenceIamMemberArgs>

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

Link copied to clipboard

Sets the access control policy on the specified note or occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or an occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
data class OccurrenceIamPolicyArgs(val bindings: Output<List<BindingArgs>>? = null, val etag: Output<String>? = null, val occurrenceId: Output<String>? = null, val project: Output<String>? = null, val version: Output<Int>? = null) : ConvertibleToJava<OccurrenceIamPolicyArgs>

Sets the access control policy on the specified note or occurrence. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or an occurrence, respectively. The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun note(name: String): Note
suspend fun note(name: String, block: suspend NoteResourceBuilder.() -> Unit): Note
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun occurrence(name: String, block: suspend OccurrenceResourceBuilder.() -> Unit): Occurrence