Wiz
Monitoring Service accountQuery Wiz cloud security findings, issues and inventory from any Windmill script, flow or app.
Set up in 3 steps
Create a service account
In the Wiz portal, open Settings then Service Accounts, and create one with the scopes your scripts need. Copy its client id and secret.
Add the resource in Windmill
Open Resources, add a resource of type wiz, and fill client_id, client_secret and api_endpoint — the GraphQL host for your tenant, shown alongside the service account.
Run your first script
Fork any script below and read before writing anything.
Scripts
Building blocks, if none of the projects above fit. Fork one, run it, or call it as a step inside your own flow.
New Issues
Update Issue
List Vulnerability Findings
List Projects
List Issues
List Configuration Findings
List Cloud Resources
Get Vulnerability Finding
Get Project
Get Issue
Execute GraphQL Query
Create Issue Note
Resource type
wiz — the shape of the credential every script on this page expects.
| Field | Type | Required | What it is |
|---|---|---|---|
| api_endpoint | string | Yes | Tenant-specific GraphQL endpoint, e.g. https://api.us1.app.wiz.io/graphql (the region is shown in the portal under Settings > Service Accounts / API documentation). |
| audience | string | No | OAuth token audience. Optional — defaults to wiz-api. Some older tenants use beyond-api (check Settings > Service Accounts). |
| auth_url | string | No | OAuth token endpoint. Optional — defaults to https://auth.app.wiz.io/oauth/token (commercial). Gov tenants use https://auth.gov.wiz.io/oauth/token. |
| client_id | string | Yes | Service account Client ID from Settings > Service Accounts. |
| client_secret | string | Yes | Service account Client Secret. Shown only once at creation. |
Questions
Why an API endpoint field?
Wiz gives each tenant its own GraphQL host by region. Every call is built from it, so a wrong endpoint fails before the credentials are checked.
Why a client pair and not a token?
The scripts exchange them for a short-lived token on each run, so nothing expires in the resource.
Are my credentials stored on the hub?
Never. They live only in your own Windmill workspace, encrypted at rest.