Audit an Organization's Full Inventory
A 6-step recipe with Terraform. We can help you get access.
Recipe · 6 steps
Audit an Organization's Full Inventory
with Terraform
Enumerate an organization's projects, workspaces, teams, and policies.
- List the organizations the token can reach, filtered by name, to confirm the audit target is in scope for this credential before enumerating it.
- Read the organization's settings, capturing the authentication policy, session timeouts, and plan posture that frame everything else in the audit.
- Enumerate the organization's projects, the top-level grouping every workspace belongs to.
- Enumerate every workspace in the organization, the unit that actually holds state and runs infrastructure.
- Enumerate the organization's teams to capture who has access to the estate enumerated above.
- Enumerate the Sentinel and OPA policies governing the organization, completing the picture of what is enforced against every run.
What you'll need to have ready
- organizationName: The organization to audit.
- pageSize: Results per page for each listing, up to 100.
For your developer
Arazzo workflow terraform:audit-organization-inventory, 6 operations: ListOrganizations → GetOrganization → ListProjects → ListWorkspaces → ListTeams → ListPolicies. Specs on APIs.io.