Audit Depot OIDC trust policies across projects
depot_audit_trust_policiesAudit OIDC trust policies across Depot projects to reveal which external CI identities can push builds. Use for access reviews, spotting stale trusts, or detecting out-of-organization trust.
Instructions
List every OIDC trust policy across your Depot container build projects and summarise which external CI identities (a GitHub repository, a Buildkite pipeline, a CircleCI project, a GitLab project) can build into which project.
Use this for access reviews: "who can push builds into our projects without a token", "is a repository we archived still trusted", "does any project trust a repository outside our organization". A project with no trust policies is common and fine; its builds authenticate with a token instead.
Pass projectId to audit one project; otherwise the first 50 projects are checked with one ListTrustPolicies call each. Read-only: adding or removing a trust policy is not offered by this server. Organization token only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Limit the audit to one project. Without it, up to 50 projects are audited. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | Yes | ||
| projects | Yes | ||
| identities | Yes | ||
| policyCount | Yes | ||
| projectCapHit | Yes | ||
| projectsFailed | Yes | ||
| projectsAudited | Yes | ||
| projectsWithPolicies | Yes |