Resource: Occurrence
An instance of an analysis type that has been found on a resource.
JSON representation |
---|
{ "name": string, "resource": { object ( |
Fields | |
---|---|
name |
Output only. The name of the occurrence in the form of |
resource |
Required. Immutable. The resource for which the occurrence applies. |
noteName |
Required. Immutable. The analysis note associated with this occurrence, in the form of |
kind |
Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. |
remediation |
A description of actions that can be taken to remedy the note. |
createTime |
Output only. The time this occurrence was created. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time this occurrence was last updated. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
envelope |
|
Union field details . Required. Immutable. Describes the details of the note kind found on this resource. details can be only one of the following: |
|
vulnerability |
Describes a security vulnerability. |
build |
Describes a verifiable build. |
derivedImage |
Describes how this resource derives from the basis in the associated note. |
installation |
Describes the installation of a package on the linked resource. |
deployment |
Describes the deployment of an artifact on a runtime. |
discovered |
Describes when a resource was discovered. |
attestation |
Describes an attestation of an artifact. |
intoto |
Describes a specific in-toto link. |
sbom |
Describes a specific software bill of materials document. |
spdxPackage |
Describes a specific SPDX Package. |
spdxFile |
Describes a specific SPDX File. |
spdxRelationship |
Describes a specific SPDX Relationship. |
sbomReference |
Describes a specific SBOM reference occurrences. |
Methods |
|
---|---|
|
Creates new occurrences in batch. |
|
Creates a new occurrence. |
|
Deletes the specified occurrence. |
|
Gets the specified occurrence. |
|
Gets the access control policy for a note or an occurrence resource. |
|
Gets the note attached to the specified occurrence. |
|
Gets a summary of the number and severity of occurrences. |
|
Lists occurrences for the specified project. |
|
Updates the specified occurrence. |
|
Sets the access control policy on the specified note or occurrence. |
|
Returns the permissions that a caller has on the specified note or occurrence. |