Analyze Packages

on_demand_scanning.analyze_packages
ActionGoogle Cloudconnection required

Calls On-Demand Scanning POST /v1/projects/{projectsId}/locations/{locationsId}/scans:analyzePackages.

Initiates an analysis of the provided packages.

Connection

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

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
location
Location / region (overrides connection).
stringNo———
body
Request body (AnalyzePackagesRequestV1) as JSON.
objectNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
response
object—
done
boolean—
error
object—
name
string—
metadata
object—
{
  "done": false,
  "error": {},
  "metadata": {},
  "name": "",
  "ok": false,
  "response": {}
}

Related Google On-Demand Scanning nodes

See Analyze Packages run in a workflow.

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