Resource: Note
A type of analysis that can be done for a resource.
JSON representation |
---|
{ "name": string, "shortDescription": string, "longDescription": string, "kind": enum ( |
Fields | |
---|---|
name |
Output only. The name of the note in the form of |
shortDescription |
A one sentence description of this note. |
longDescription |
A detailed description of this note. |
kind |
Output only. The type of analysis. This field can be used as a filter in list requests. |
relatedUrl[] |
URLs associated with this note. |
expirationTime |
Time of expiration for this note. Empty if note does not expire. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
createTime |
Output only. The time this note was created. This field can be used as a filter in list requests. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. The time this note was last updated. This field can be used as a filter in list requests. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
relatedNoteNames[] |
Other notes related to this note. |
Union field type . Required. Immutable. The type of analysis this note represents. type can be only one of the following: |
|
vulnerability |
A note describing a package vulnerability. |
build |
A note describing build provenance for a verifiable build. |
baseImage |
A note describing a base image. |
package |
A note describing a package hosted by various package managers. |
deployable |
A note describing something that can be deployed. |
discovery |
A note describing the initial analysis of a resource. |
attestationAuthority |
A note describing an attestation role. |
intoto |
A note describing an in-toto link. |
sbom |
A note describing a software bill of materials. |
spdxPackage |
A note describing an SPDX Package. |
spdxFile |
A note describing an SPDX File. |
spdxRelationship |
A note describing an SPDX File. |
vulnerabilityAssessment |
A note describing a vulnerability assessment. |
sbomReference |
A note describing an SBOM reference. |
Methods |
|
---|---|
|
Creates new notes in batch. |
|
Creates a new note. |
|
Deletes the specified note. |
|
Gets the specified note. |
|
Gets the access control policy for a note or an occurrence resource. |
|
Lists notes for the specified project. |
|
Updates the specified note. |
|
Sets the access control policy on the specified note or occurrence. |
|
Returns the permissions that a caller has on the specified note or occurrence. |