OccurenceState class
Input properties used for looking up and filtering Occurence resources.
Constructors
-
OccurenceState({Input<
OccurenceAttestation?> ? attestation, Input<String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? kind, Input<String?> ? name, Input<String?> ? noteName, Input<String?> ? project, Input<String?> ? remediation, Input<String?> ? resourceUri, Input<String?> ? updateTime}) -
Creates a new OccurenceState.
attestationOccurrence that represents a single "attestation". The authenticitycreateTimeThe time when the repository was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.kindThe note kind which explicitly denotes which of the occurrencenameThe name of the occurrence.noteNameThe analysis note associated with this occurrence, in the form ofprojectThe ID of the project in which the resource belongs.remediationA description of actions that can be taken to remedy the note.resourceUriRequired. Immutable. A URI that represents the resource for whichupdateTimeThe time when the repository was last updated.const -
OccurenceState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
attestation
→ Input<
OccurenceAttestation?> ? -
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.
Structure is documented below.
final
-
createTime
→ Input<
String?> ? -
The time when the repository was created.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kind
→ Input<
String?> ? -
The note kind which explicitly denotes which of the occurrence
details are specified. This field can be used as a filter in list
requests.
final
-
name
→ Input<
String?> ? -
The name of the occurrence.
final
-
noteName
→ Input<
String?> ? -
The analysis note associated with this occurrence, in the form of
projects/
PROJECT/notes/NOTE_ID. This field can be used as a filter in list requests.final -
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
remediation
→ Input<
String?> ? -
A description of actions that can be taken to remedy the note.
final
-
resourceUri
→ Input<
String?> ? -
Required. Immutable. A URI that represents the resource for which
the occurrence applies. For example,
https://gcr.io/project/image@sha256:123abc for a Docker image.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
updateTime
→ Input<
String?> ? -
The time when the repository was last updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited