notes
Creates, updates, deletes, gets or lists a notes resource.
Overview
| Name | notes |
| Type | Resource |
| Id | google.containeranalysis.notes |
Fields
The following fields are returned by SELECT queries:
- projects_locations_notes_get
- projects_locations_notes_list
- projects_notes_get
- projects_notes_list
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. |
aiSkillAnalysis | object | A note describing an AI skill analysis. (id: AISkillAnalysisNote) |
attestation | object | A note describing an attestation role. (id: AttestationNote) |
build | object | A note describing build provenance for a verifiable build. (id: BuildNote) |
compliance | object | A note describing a compliance check. (id: ComplianceNote) |
createTime | string (google-datetime) | Output only. The time this note was created. This field can be used as a filter in list requests. |
deployment | object | A note describing something that can be deployed. (id: DeploymentNote) |
discovery | object | A note describing the initial analysis of a resource. (id: DiscoveryNote) |
dsseAttestation | object | A note describing a dsse attestation note. (id: DSSEAttestationNote) |
expirationTime | string (google-datetime) | Time of expiration for this note. Empty if note does not expire. |
image | object | A note describing a base image. (id: ImageNote) |
kind | string | Output only. The type of analysis. This field can be used as a filter in list requests. (NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE, COMPLIANCE, DSSE_ATTESTATION, VULNERABILITY_ASSESSMENT, SBOM_REFERENCE, SECRET, AI_SKILL_ANALYSIS) |
longDescription | string | A detailed description of this note. |
package | object | A note describing a package hosted by various package managers. (id: PackageNote) |
relatedNoteNames | array | Other notes related to this note. |
relatedUrl | array | URLs associated with this note. |
sbomReference | object | A note describing an SBOM reference. (id: SBOMReferenceNote) |
secret | object | A note describing a secret. (id: SecretNote) |
shortDescription | string | A one sentence description of this note. |
updateTime | string (google-datetime) | Output only. The time this note was last updated. This field can be used as a filter in list requests. |
upgrade | object | A note describing available package upgrades. (id: UpgradeNote) |
vulnerability | object | A note describing a package vulnerability. (id: VulnerabilityNote) |
vulnerabilityAssessment | object | A note describing a vulnerability assessment. (id: VulnerabilityAssessmentNote) |
| Name | Datatype | Description |
|---|
| Name | Datatype | Description |
|---|---|---|
name | string | Output only. The name of the note in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID]. |
aiSkillAnalysis | object | A note describing an AI skill analysis. (id: AISkillAnalysisNote) |
attestation | object | A note describing an attestation role. (id: AttestationNote) |
build | object | A note describing build provenance for a verifiable build. (id: BuildNote) |
compliance | object | A note describing a compliance check. (id: ComplianceNote) |
createTime | string (google-datetime) | Output only. The time this note was created. This field can be used as a filter in list requests. |
deployment | object | A note describing something that can be deployed. (id: DeploymentNote) |
discovery | object | A note describing the initial analysis of a resource. (id: DiscoveryNote) |
dsseAttestation | object | A note describing a dsse attestation note. (id: DSSEAttestationNote) |
expirationTime | string (google-datetime) | Time of expiration for this note. Empty if note does not expire. |
image | object | A note describing a base image. (id: ImageNote) |
kind | string | Output only. The type of analysis. This field can be used as a filter in list requests. (NOTE_KIND_UNSPECIFIED, VULNERABILITY, BUILD, IMAGE, PACKAGE, DEPLOYMENT, DISCOVERY, ATTESTATION, UPGRADE, COMPLIANCE, DSSE_ATTESTATION, VULNERABILITY_ASSESSMENT, SBOM_REFERENCE, SECRET, AI_SKILL_ANALYSIS) |
longDescription | string | A detailed description of this note. |
package | object | A note describing a package hosted by various package managers. (id: PackageNote) |
relatedNoteNames | array | Other notes related to this note. |
relatedUrl | array | URLs associated with this note. |
sbomReference | object | A note describing an SBOM reference. (id: SBOMReferenceNote) |
secret | object | A note describing a secret. (id: SecretNote) |
shortDescription | string | A one sentence description of this note. |
updateTime | string (google-datetime) | Output only. The time this note was last updated. This field can be used as a filter in list requests. |
upgrade | object | A note describing available package upgrades. (id: UpgradeNote) |
vulnerability | object | A note describing a package vulnerability. (id: VulnerabilityNote) |
vulnerabilityAssessment | object | A note describing a vulnerability assessment. (id: VulnerabilityAssessmentNote) |
| Name | Datatype | Description |
|---|
Methods
The following methods are available for this resource:
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
notesId | string | |
projectsId | string | |
filter | string | |
noteId | string | |
pageSize | integer (int32) | |
pageToken | string | |
returnPartialSuccess | boolean | |
updateMask | string (google-fieldmask) |
SELECT examples
- projects_locations_notes_get
- projects_locations_notes_list
- projects_notes_get
- projects_notes_list
Gets the specified note.
SELECT
name,
aiSkillAnalysis,
attestation,
build,
compliance,
createTime,
deployment,
discovery,
dsseAttestation,
expirationTime,
image,
kind,
longDescription,
package,
relatedNoteNames,
relatedUrl,
sbomReference,
secret,
shortDescription,
updateTime,
upgrade,
vulnerability,
vulnerabilityAssessment
FROM google.containeranalysis.notes
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND notesId = '{{ notesId }}' -- required
;
Lists notes for the specified project.
SELECT
*
FROM google.containeranalysis.notes
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND filter = '{{ filter }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Gets the specified note.
SELECT
name,
aiSkillAnalysis,
attestation,
build,
compliance,
createTime,
deployment,
discovery,
dsseAttestation,
expirationTime,
image,
kind,
longDescription,
package,
relatedNoteNames,
relatedUrl,
sbomReference,
secret,
shortDescription,
updateTime,
upgrade,
vulnerability,
vulnerabilityAssessment
FROM google.containeranalysis.notes
WHERE projectsId = '{{ projectsId }}' -- required
AND notesId = '{{ notesId }}' -- required
;
Lists notes for the specified project.
SELECT
*
FROM google.containeranalysis.notes
WHERE projectsId = '{{ projectsId }}' -- required
AND filter = '{{ filter }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
INSERT examples
- projects_locations_notes_create
- projects_locations_notes_batch_create
- projects_notes_create
- projects_notes_batch_create
- Manifest
Creates a new note.
INSERT INTO google.containeranalysis.notes (
data__createTime,
data__discovery,
data__kind,
data__relatedUrl,
data__expirationTime,
data__package,
data__compliance,
data__aiSkillAnalysis,
data__attestation,
data__vulnerability,
data__dsseAttestation,
data__vulnerabilityAssessment,
data__build,
data__deployment,
data__name,
data__image,
data__shortDescription,
data__longDescription,
data__updateTime,
data__relatedNoteNames,
data__upgrade,
data__sbomReference,
data__secret,
projectsId,
locationsId,
noteId
)
SELECT
'{{ createTime }}',
'{{ discovery }}',
'{{ kind }}',
'{{ relatedUrl }}',
'{{ expirationTime }}',
'{{ package }}',
'{{ compliance }}',
'{{ aiSkillAnalysis }}',
'{{ attestation }}',
'{{ vulnerability }}',
'{{ dsseAttestation }}',
'{{ vulnerabilityAssessment }}',
'{{ build }}',
'{{ deployment }}',
'{{ name }}',
'{{ image }}',
'{{ shortDescription }}',
'{{ longDescription }}',
'{{ updateTime }}',
'{{ relatedNoteNames }}',
'{{ upgrade }}',
'{{ sbomReference }}',
'{{ secret }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ noteId }}'
RETURNING
name,
aiSkillAnalysis,
attestation,
build,
compliance,
createTime,
deployment,
discovery,
dsseAttestation,
expirationTime,
image,
kind,
longDescription,
package,
relatedNoteNames,
relatedUrl,
sbomReference,
secret,
shortDescription,
updateTime,
upgrade,
vulnerability,
vulnerabilityAssessment
;
Creates new notes in batch.
INSERT INTO google.containeranalysis.notes (
data__notes,
projectsId,
locationsId
)
SELECT
'{{ notes }}',
'{{ projectsId }}',
'{{ locationsId }}'
RETURNING
notes
;
Creates a new note.
INSERT INTO google.containeranalysis.notes (
data__createTime,
data__discovery,
data__kind,
data__relatedUrl,
data__expirationTime,
data__package,
data__compliance,
data__aiSkillAnalysis,
data__attestation,
data__vulnerability,
data__dsseAttestation,
data__vulnerabilityAssessment,
data__build,
data__deployment,
data__name,
data__image,
data__shortDescription,
data__longDescription,
data__updateTime,
data__relatedNoteNames,
data__upgrade,
data__sbomReference,
data__secret,
projectsId,
noteId
)
SELECT
'{{ createTime }}',
'{{ discovery }}',
'{{ kind }}',
'{{ relatedUrl }}',
'{{ expirationTime }}',
'{{ package }}',
'{{ compliance }}',
'{{ aiSkillAnalysis }}',
'{{ attestation }}',
'{{ vulnerability }}',
'{{ dsseAttestation }}',
'{{ vulnerabilityAssessment }}',
'{{ build }}',
'{{ deployment }}',
'{{ name }}',
'{{ image }}',
'{{ shortDescription }}',
'{{ longDescription }}',
'{{ updateTime }}',
'{{ relatedNoteNames }}',
'{{ upgrade }}',
'{{ sbomReference }}',
'{{ secret }}',
'{{ projectsId }}',
'{{ noteId }}'
RETURNING
name,
aiSkillAnalysis,
attestation,
build,
compliance,
createTime,
deployment,
discovery,
dsseAttestation,
expirationTime,
image,
kind,
longDescription,
package,
relatedNoteNames,
relatedUrl,
sbomReference,
secret,
shortDescription,
updateTime,
upgrade,
vulnerability,
vulnerabilityAssessment
;
Creates new notes in batch.
INSERT INTO google.containeranalysis.notes (
data__notes,
projectsId
)
SELECT
'{{ notes }}',
'{{ projectsId }}'
RETURNING
notes
;
# Description fields are for documentation purposes
- name: notes
props:
- name: projectsId
value: "{{ projectsId }}"
description: Required parameter for the notes resource.
- name: locationsId
value: "{{ locationsId }}"
description: Required parameter for the notes resource.
- name: createTime
value: "{{ createTime }}"
description: |
Output only. The time this note was created. This field can be used as a filter in list requests.
- name: discovery
description: |
A note describing the initial analysis of a resource.
value:
analysisKind: "{{ analysisKind }}"
- name: kind
value: "{{ kind }}"
description: |
Output only. The type of analysis. This field can be used as a filter in list requests.
valid_values: ['NOTE_KIND_UNSPECIFIED', 'VULNERABILITY', 'BUILD', 'IMAGE', 'PACKAGE', 'DEPLOYMENT', 'DISCOVERY', 'ATTESTATION', 'UPGRADE', 'COMPLIANCE', 'DSSE_ATTESTATION', 'VULNERABILITY_ASSESSMENT', 'SBOM_REFERENCE', 'SECRET', 'AI_SKILL_ANALYSIS']
- name: relatedUrl
description: |
URLs associated with this note.
value:
- url: "{{ url }}"
label: "{{ label }}"
- name: expirationTime
value: "{{ expirationTime }}"
description: |
Time of expiration for this note. Empty if note does not expire.
- name: package
description: |
A note describing a package hosted by various package managers.
value:
version:
epoch: {{ epoch }}
name: "{{ name }}"
inclusive: {{ inclusive }}
kind: "{{ kind }}"
revision: "{{ revision }}"
fullName: "{{ fullName }}"
url: "{{ url }}"
distribution:
- latestVersion:
epoch: {{ epoch }}
name: "{{ name }}"
inclusive: {{ inclusive }}
kind: "{{ kind }}"
revision: "{{ revision }}"
fullName: "{{ fullName }}"
maintainer: "{{ maintainer }}"
url: "{{ url }}"
cpeUri: "{{ cpeUri }}"
description: "{{ description }}"
architecture: "{{ architecture }}"
maintainer: "{{ maintainer }}"
architecture: "{{ architecture }}"
description: "{{ description }}"
cpeUri: "{{ cpeUri }}"
name: "{{ name }}"
digest:
- algo: "{{ algo }}"
digestBytes: "{{ digestBytes }}"
license:
expression: "{{ expression }}"
comments: "{{ comments }}"
packageType: "{{ packageType }}"
- name: compliance
description: |
A note describing a compliance check.
value:
cisBenchmark:
profileLevel: {{ profileLevel }}
severity: "{{ severity }}"
description: "{{ description }}"
rationale: "{{ rationale }}"
impact: "{{ impact }}"
version:
- benchmarkDocument: "{{ benchmarkDocument }}"
version: "{{ version }}"
cpeUri: "{{ cpeUri }}"
title: "{{ title }}"
remediation: "{{ remediation }}"
scanInstructions: "{{ scanInstructions }}"
- name: aiSkillAnalysis
value: "{{ aiSkillAnalysis }}"
description: |
A note describing an AI skill analysis.
- name: attestation
description: |
A note describing an attestation role.
value:
hint:
humanReadableName: "{{ humanReadableName }}"
- name: vulnerability
description: |
A note describing a package vulnerability.
value:
details:
- sourceUpdateTime: "{{ sourceUpdateTime }}"
fixedVersion:
epoch: {{ epoch }}
name: "{{ name }}"
inclusive: {{ inclusive }}
kind: "{{ kind }}"
revision: "{{ revision }}"
fullName: "{{ fullName }}"
source: "{{ source }}"
fixedPackage: "{{ fixedPackage }}"
isObsolete: {{ isObsolete }}
severityName: "{{ severityName }}"
affectedVersionEnd:
epoch: {{ epoch }}
name: "{{ name }}"
inclusive: {{ inclusive }}
kind: "{{ kind }}"
revision: "{{ revision }}"
fullName: "{{ fullName }}"
fixedCpeUri: "{{ fixedCpeUri }}"
affectedPackage: "{{ affectedPackage }}"
packageType: "{{ packageType }}"
affectedCpeUri: "{{ affectedCpeUri }}"
affectedVersionStart:
epoch: {{ epoch }}
name: "{{ name }}"
inclusive: {{ inclusive }}
kind: "{{ kind }}"
revision: "{{ revision }}"
fullName: "{{ fullName }}"
vendor: "{{ vendor }}"
description: "{{ description }}"
cvssVersion: "{{ cvssVersion }}"
cvssV3:
baseScore: {{ baseScore }}
exploitabilityScore: {{ exploitabilityScore }}
privilegesRequired: "{{ privilegesRequired }}"
attackComplexity: "{{ attackComplexity }}"
confidentialityImpact: "{{ confidentialityImpact }}"
integrityImpact: "{{ integrityImpact }}"
availabilityImpact: "{{ availabilityImpact }}"
scope: "{{ scope }}"
attackVector: "{{ attackVector }}"
userInteraction: "{{ userInteraction }}"
impactScore: {{ impactScore }}
cvssV4:
vulnerableSystemIntegrityImpact: "{{ vulnerableSystemIntegrityImpact }}"
attackVector: "{{ attackVector }}"
impactScore: {{ impactScore }}
authentication: "{{ authentication }}"
subsequentSystemAvailabilityImpact: "{{ subsequentSystemAvailabilityImpact }}"
subsequentSystemIntegrityImpact: "{{ subsequentSystemIntegrityImpact }}"
baseScore: {{ baseScore }}
integrityImpact: "{{ integrityImpact }}"
availabilityImpact: "{{ availabilityImpact }}"
vulnerableSystemConfidentialityImpact: "{{ vulnerableSystemConfidentialityImpact }}"
subsequentSystemConfidentialityImpact: "{{ subsequentSystemConfidentialityImpact }}"
exploitMaturity: "{{ exploitMaturity }}"
scope: "{{ scope }}"
attackRequirements: "{{ attackRequirements }}"
userInteraction: "{{ userInteraction }}"
vulnerableSystemAvailabilityImpact: "{{ vulnerableSystemAvailabilityImpact }}"
exploitabilityScore: {{ exploitabilityScore }}
privilegesRequired: "{{ privilegesRequired }}"
attackComplexity: "{{ attackComplexity }}"
confidentialityImpact: "{{ confidentialityImpact }}"
advisoryPublishTime: "{{ advisoryPublishTime }}"
sourceUpdateTime: "{{ sourceUpdateTime }}"
cvssV2:
vulnerableSystemIntegrityImpact: "{{ vulnerableSystemIntegrityImpact }}"
attackVector: "{{ attackVector }}"
impactScore: {{ impactScore }}
authentication: "{{ authentication }}"
subsequentSystemAvailabilityImpact: "{{ subsequentSystemAvailabilityImpact }}"
subsequentSystemIntegrityImpact: "{{ subsequentSystemIntegrityImpact }}"
baseScore: {{ baseScore }}
integrityImpact: "{{ integrityImpact }}"
availabilityImpact: "{{ availabilityImpact }}"
vulnerableSystemConfidentialityImpact: "{{ vulnerableSystemConfidentialityImpact }}"
subsequentSystemConfidentialityImpact: "{{ subsequentSystemConfidentialityImpact }}"
exploitMaturity: "{{ exploitMaturity }}"
scope: "{{ scope }}"
attackRequirements: "{{ attackRequirements }}"
userInteraction: "{{ userInteraction }}"
vulnerableSystemAvailabilityImpact: "{{ vulnerableSystemAvailabilityImpact }}"
exploitabilityScore: {{ exploitabilityScore }}
privilegesRequired: "{{ privilegesRequired }}"
attackComplexity: "{{ attackComplexity }}"
confidentialityImpact: "{{ confidentialityImpact }}"
windowsDetails:
- cpeUri: "{{ cpeUri }}"
fixingKbs: "{{ fixingKbs }}"
name: "{{ name }}"
description: "{{ description }}"
cvssScore: {{ cvssScore }}
severity: "{{ severity }}"
- name: dsseAttestation
description: |
A note describing a dsse attestation note.
value:
hint:
humanReadableName: "{{ humanReadableName }}"
- name: vulnerabilityAssessment
description: |
A note describing a vulnerability assessment.
value:
shortDescription: "{{ shortDescription }}"
longDescription: "{{ longDescription }}"
assessment:
cve: "{{ cve }}"
state: "{{ state }}"
relatedUris:
- url: "{{ url }}"
label: "{{ label }}"
vulnerabilityId: "{{ vulnerabilityId }}"
shortDescription: "{{ shortDescription }}"
longDescription: "{{ longDescription }}"
impacts:
- "{{ impacts }}"
justification:
justificationType: "{{ justificationType }}"
details: "{{ details }}"
remediations:
- details: "{{ details }}"
remediationType: "{{ remediationType }}"
remediationUri:
url: "{{ url }}"
label: "{{ label }}"
title: "{{ title }}"
languageCode: "{{ languageCode }}"
publisher:
name: "{{ name }}"
publisherNamespace: "{{ publisherNamespace }}"
issuingAuthority: "{{ issuingAuthority }}"
product:
genericUri: "{{ genericUri }}"
name: "{{ name }}"
id: "{{ id }}"
- name: build
description: |
A note describing build provenance for a verifiable build.
value:
builderVersion: "{{ builderVersion }}"
- name: deployment
description: |
A note describing something that can be deployed.
value:
resourceUri:
- "{{ resourceUri }}"
- name: name
value: "{{ name }}"
description: |
Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
- name: image
description: |
A note describing a base image.
value:
fingerprint:
v1Name: "{{ v1Name }}"
v2Name: "{{ v2Name }}"
v2Blob:
- "{{ v2Blob }}"
resourceUrl: "{{ resourceUrl }}"
- name: shortDescription
value: "{{ shortDescription }}"
description: |
A one sentence description of this note.
- name: longDescription
value: "{{ longDescription }}"
description: |
A detailed description of this note.
- name: updateTime
value: "{{ updateTime }}"
description: |
Output only. The time this note was last updated. This field can be used as a filter in list requests.
- name: relatedNoteNames
value:
- "{{ relatedNoteNames }}"
description: |
Other notes related to this note.
- name: upgrade
description: |
A note describing available package upgrades.
value:
package: "{{ package }}"
distributions:
- cve: "{{ cve }}"
cpeUri: "{{ cpeUri }}"
classification: "{{ classification }}"
severity: "{{ severity }}"
version:
epoch: {{ epoch }}
name: "{{ name }}"
inclusive: {{ inclusive }}
kind: "{{ kind }}"
revision: "{{ revision }}"
fullName: "{{ fullName }}"
windowsUpdate:
lastPublishedTimestamp: "{{ lastPublishedTimestamp }}"
title: "{{ title }}"
description: "{{ description }}"
categories:
- name: "{{ name }}"
categoryId: "{{ categoryId }}"
supportUrl: "{{ supportUrl }}"
identity:
revision: {{ revision }}
updateId: "{{ updateId }}"
kbArticleIds:
- "{{ kbArticleIds }}"
- name: sbomReference
description: |
A note describing an SBOM reference.
value:
format: "{{ format }}"
version: "{{ version }}"
- name: secret
value: "{{ secret }}"
description: |
A note describing a secret.
- name: notes
value: "{{ notes }}"
description: |
Required. The notes to create. Max allowed length is 1000.
- name: noteId
value: "{{ noteId }}"
UPDATE examples
- projects_locations_notes_patch
- projects_notes_patch
Updates the specified note.
UPDATE google.containeranalysis.notes
SET
data__createTime = '{{ createTime }}',
data__discovery = '{{ discovery }}',
data__kind = '{{ kind }}',
data__relatedUrl = '{{ relatedUrl }}',
data__expirationTime = '{{ expirationTime }}',
data__package = '{{ package }}',
data__compliance = '{{ compliance }}',
data__aiSkillAnalysis = '{{ aiSkillAnalysis }}',
data__attestation = '{{ attestation }}',
data__vulnerability = '{{ vulnerability }}',
data__dsseAttestation = '{{ dsseAttestation }}',
data__vulnerabilityAssessment = '{{ vulnerabilityAssessment }}',
data__build = '{{ build }}',
data__deployment = '{{ deployment }}',
data__name = '{{ name }}',
data__image = '{{ image }}',
data__shortDescription = '{{ shortDescription }}',
data__longDescription = '{{ longDescription }}',
data__updateTime = '{{ updateTime }}',
data__relatedNoteNames = '{{ relatedNoteNames }}',
data__upgrade = '{{ upgrade }}',
data__sbomReference = '{{ sbomReference }}',
data__secret = '{{ secret }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND notesId = '{{ notesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
aiSkillAnalysis,
attestation,
build,
compliance,
createTime,
deployment,
discovery,
dsseAttestation,
expirationTime,
image,
kind,
longDescription,
package,
relatedNoteNames,
relatedUrl,
sbomReference,
secret,
shortDescription,
updateTime,
upgrade,
vulnerability,
vulnerabilityAssessment;
Updates the specified note.
UPDATE google.containeranalysis.notes
SET
data__createTime = '{{ createTime }}',
data__discovery = '{{ discovery }}',
data__kind = '{{ kind }}',
data__relatedUrl = '{{ relatedUrl }}',
data__expirationTime = '{{ expirationTime }}',
data__package = '{{ package }}',
data__compliance = '{{ compliance }}',
data__aiSkillAnalysis = '{{ aiSkillAnalysis }}',
data__attestation = '{{ attestation }}',
data__vulnerability = '{{ vulnerability }}',
data__dsseAttestation = '{{ dsseAttestation }}',
data__vulnerabilityAssessment = '{{ vulnerabilityAssessment }}',
data__build = '{{ build }}',
data__deployment = '{{ deployment }}',
data__name = '{{ name }}',
data__image = '{{ image }}',
data__shortDescription = '{{ shortDescription }}',
data__longDescription = '{{ longDescription }}',
data__updateTime = '{{ updateTime }}',
data__relatedNoteNames = '{{ relatedNoteNames }}',
data__upgrade = '{{ upgrade }}',
data__sbomReference = '{{ sbomReference }}',
data__secret = '{{ secret }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND notesId = '{{ notesId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
aiSkillAnalysis,
attestation,
build,
compliance,
createTime,
deployment,
discovery,
dsseAttestation,
expirationTime,
image,
kind,
longDescription,
package,
relatedNoteNames,
relatedUrl,
sbomReference,
secret,
shortDescription,
updateTime,
upgrade,
vulnerability,
vulnerabilityAssessment;
DELETE examples
- projects_locations_notes_delete
- projects_notes_delete
Deletes the specified note.
DELETE FROM google.containeranalysis.notes
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND notesId = '{{ notesId }}' --required
;
Deletes the specified note.
DELETE FROM google.containeranalysis.notes
WHERE projectsId = '{{ projectsId }}' --required
AND notesId = '{{ notesId }}' --required
;