Create Occurrence

container_analysis.create_occurrence
ActionGoogle Cloudconnection required

Calls containeranalysis v1 POST /v1/projects/{projectsId}/occurrences.

Creates a new occurrence.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Container Analysis
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
body
The Occurrence resource, as the API defines it.
objectYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
advisoryPublishTime
string—
aiSkillAnalysis
object—
attestation
object—
build
object—
compliance
object—
createTime
string—
deployment
object—
discovery
object—
dsseAttestation
object—
envelope
object—
image
object—
kind
string—
name
string—
noteName
string—
package
object—
remediation
string—
resourceUri
string—
sbomReference
object—
secret
object—
updateTime
string—
upgrade
object—
vulnerability
object—
{
  "advisoryPublishTime": "",
  "aiSkillAnalysis": {},
  "attestation": {},
  "build": {},
  "compliance": {},
  "createTime": "",
  "deployment": {},
  "discovery": {},
  "dsseAttestation": {},
  "envelope": {},
  "image": {},
  "kind": "",
  "name": "",
  "noteName": "",
  "package": {},
  "remediation": "",
  "resourceUri": "",
  "sbomReference": {},
  "secret": {},
  "updateTime": "",
  "upgrade": {},
  "vulnerability": {}
}

See Create Occurrence run in a workflow.

In a technical demo we add the Google Container Analysis connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.