occurrences_notes
Creates, updates, deletes, gets or lists a occurrences_notes
resource.
Overview
Name | occurrences_notes |
Type | Resource |
Id | google.containeranalysis.occurrences_notes |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID] . |
attestation | object | Note kind that represents a logical attestation "role" or "authority". For example, an organization might have one Authority for "QA" and one for "build". This note is intended to act strictly as a grouping mechanism for the attached occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an occurrence to a given note. It also provides a single point of lookup to find all attached attestation occurrences, even if they don't all live in the same project. |
build | object | Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence. |
compliance | object | |
createTime | string | Output only. The time this note was created. This field can be used as a filter in list requests. |
deployment | object | An artifact that can be deployed in some runtime. |
discovery | object | A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A Discovery occurrence is created in a consumer's project at the start of analysis. |
dsseAttestation | object | |
expirationTime | string | Time of expiration for this note. Empty if note does not expire. |
image | object | Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g., a tag of the resource_url. |
kind | string | Output only. The type of analysis. This field can be used as a filter in list requests. |
longDescription | string | A detailed description of this note. |
package | object | PackageNote represents a particular package version. |
relatedNoteNames | array | Other notes related to this note. |
relatedUrl | array | URLs associated with this note. |
sbomReference | object | The note representing an SBOM reference. |
shortDescription | string | A one sentence description of this note. |
updateTime | string | Output only. The time this note was last updated. This field can be used as a filter in list requests. |
upgrade | object | An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be an Upgrade Note. For Windows, windows_update field represents the information related to the update. |
vulnerability | object | A security vulnerability that can be found in resources. |
vulnerabilityAssessment | object | A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
projects_locations_occurrences_get_notes | SELECT | locationsId, occurrencesId, projectsId | Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. |
projects_occurrences_get_notes | SELECT | occurrencesId, projectsId | Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. |
SELECT
examples
Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
SELECT
name,
attestation,
build,
compliance,
createTime,
deployment,
discovery,
dsseAttestation,
expirationTime,
image,
kind,
longDescription,
package,
relatedNoteNames,
relatedUrl,
sbomReference,
shortDescription,
updateTime,
upgrade,
vulnerability,
vulnerabilityAssessment
FROM google.containeranalysis.occurrences_notes
WHERE occurrencesId = '{{ occurrencesId }}'
AND projectsId = '{{ projectsId }}';