Resource: Occurrence
An instance of an analysis type that has been found on a resource.
JSON representation |
---|
{ "name": string, "resourceUri": string, "noteName": string, "kind": enum ( |
Fields | |
---|---|
name |
Output only. The name of the occurrence in the form of |
resourceUri |
Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, |
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. |
image |
Describes how this resource derives from the basis in the associated note. |
package |
Describes the installation of a package on the linked resource. |
deployment |
Describes the deployment of an artifact on a runtime. |
discovery |
Describes when a resource was discovered. |
attestation |
Describes an attestation of an artifact. |
upgrade |
Describes an available package upgrade on the linked resource. |
compliance |
Describes a compliance violation on a linked resource. |
dsseAttestation |
Describes an attestation of an artifact using dsse. |
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. |