List Postures
security_posture.list_postures
ActionGoogle Cloudconnection required
Calls Security Posture GET /v1/organizations/{organizationsId}/locations/{locationsId}/postures.
Lists the most recent revisions of all Posture resources in a specified organization and location.
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
5 fields, 1 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 | — | — | — |
filter Optional. A filter to apply to the list of postures, in the format defined in [AIP-160: Filtering](https://goo | string | No | — | — | — |
page_size The maximum number of postures to return. The default value is `500`. If you exceed the maximum value of `1000 | number | No | 50 | ≥ 1 | — |
page_token A pagination token returned from a previous request to list postures. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"page_size": 50
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
unreachable | array | — |
postures | array | — |
nextPageToken | string | — |
{
"nextPageToken": "",
"ok": false,
"postures": [],
"unreachable": []
}See List Postures 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.