Get Posture
security_posture.get_posture
ActionGoogle Cloudconnection required
Calls Security Posture GET /v1/organizations/{organizationsId}/locations/{locationsId}/postures/{posturesId}.
Gets a single revision of a Posture.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Security Posture
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- location
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
location Location / region (overrides connection). | string | No | — | — | — |
organization Organization id. | string | Yes | — | — | — |
posture Id of the posture to act on, from security_posture.list_postures — not its name. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
reconciling | boolean | — |
description | string | — |
annotations | object | — |
updateTime | string | — |
policySets | array | — |
etag | string | — |
{
"annotations": {},
"description": "",
"etag": "",
"ok": false,
"policySets": [],
"reconciling": false,
"updateTime": ""
}See Get Posture run in a workflow.
In a technical demo we add the Google Security Posture connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.