allowlists:
commands:
- { command: "glp status", trust: minimal }
- { command: "glp jobs", trust: minimal }
- { command: "glp log", trust: minimal }
- { command: "glp --version", trust: minimal }
- { command: "glp --help", trust: minimal }
- { command: "glp -h", trust: minimal }
- { command: "glp retry", trust: full, reason: "Retries a GitLab CI/CD pipeline job" }
- { command: "glab auth status", trust: minimal }
- { command: "glab ci status", trust: minimal }
- { command: "glab ci view", trust: minimal }
- { command: "glab ci list", trust: minimal }
- { command: "glab ci trace", trust: minimal }
- { command: "glab ci get", trust: minimal }
- { command: "glab repo list", trust: minimal }
- { command: "glab repo view", trust: minimal }
- { command: "glab group list", trust: minimal }
- { command: "glab issue list", trust: minimal }
- { command: "glab issue view", trust: minimal }
- { command: "glab mr list", trust: minimal }
- { command: "glab mr view", trust: minimal }
- { command: "glab --version", trust: minimal }
- { command: "glab --help", trust: minimal }
- { command: "gh pr list", trust: minimal }
- { command: "gh pr view", trust: minimal }
- { command: "gh pr status", trust: minimal }
- { command: "gh pr diff", trust: minimal }
- { command: "gh pr checks", trust: minimal }
- { command: "gh issue list", trust: minimal }
- { command: "gh issue view", trust: minimal }
- { command: "gh issue status", trust: minimal }
- { command: "gh repo list", trust: minimal }
- { command: "gh repo view", trust: minimal }
- { command: "gh auth status", trust: minimal }
- { command: "gh --version", trust: minimal }
- { command: "gh --help", trust: minimal }
- { command: "gh -h", trust: minimal }
- { command: "gh run list", trust: standard, reason: "Lists GitHub Actions workflow runs" }
- { command: "gh run view", trust: standard, reason: "Views details of a GitHub Actions run" }
- { command: "gh run watch", trust: standard, reason: "Watches a GitHub Actions run until it completes" }
- { command: "gh workflow list", trust: standard, reason: "Lists GitHub Actions workflows" }
- { command: "gh workflow view", trust: standard, reason: "Views details of a GitHub Actions workflow" }
- { command: "gh api", trust: full, reason: "Makes authenticated GitHub API requests" }
- { command: "gh pr create", trust: full, reason: "Creates a pull request on GitHub" }
- { command: "gh pr merge", trust: full, reason: "Merges a pull request on GitHub" }
- { command: "gh pr close", trust: full, reason: "Closes a pull request on GitHub" }
- { command: "gh pr reopen", trust: full, reason: "Reopens a closed pull request" }
- { command: "gh pr comment", trust: full, reason: "Adds a comment to a pull request" }
- { command: "gh pr review", trust: full, reason: "Submits a review on a pull request" }
- { command: "gh pr edit", trust: full, reason: "Edits a pull request's metadata" }
- { command: "gh pr ready", trust: full, reason: "Marks a pull request as ready for review" }
- { command: "gh issue create", trust: full, reason: "Creates a new GitHub issue" }
- { command: "gh issue close", trust: full, reason: "Closes a GitHub issue" }
- { command: "gh issue reopen", trust: full, reason: "Reopens a closed GitHub issue" }
- { command: "gh issue comment", trust: full, reason: "Adds a comment to a GitHub issue" }
- { command: "gh issue edit", trust: full, reason: "Edits a GitHub issue's metadata" }
- { command: "gh issue delete", trust: full, reason: "Permanently deletes a GitHub issue" }
- { command: "gh release create", trust: full, reason: "Creates a new GitHub release" }
- { command: "gh release delete", trust: full, reason: "Deletes a GitHub release" }
- { command: "gh release edit", trust: full, reason: "Edits a GitHub release" }
- { command: "gh repo create", trust: full, reason: "Creates a new GitHub repository" }
- { command: "gh repo delete", trust: full, reason: "Permanently deletes a GitHub repository" }
- { command: "gh repo edit", trust: full, reason: "Edits GitHub repository settings" }
- { command: "gh repo fork", trust: full, reason: "Forks a GitHub repository" }
- { command: "gh label create", trust: full, reason: "Creates a new label in a repository" }
- { command: "gh label edit", trust: full, reason: "Edits an existing repository label" }
- { command: "gh label delete", trust: full, reason: "Deletes a repository label" }
- { command: "gh run rerun", trust: full, reason: "Re-runs a GitHub Actions workflow run" }
- { command: "gh run cancel", trust: full, reason: "Cancels a GitHub Actions workflow run" }
- { command: "gh workflow run", trust: full, reason: "Triggers a GitHub Actions workflow" }
- { command: "gh workflow enable", trust: full, reason: "Enables a GitHub Actions workflow" }
- { command: "gh workflow disable", trust: full, reason: "Disables a GitHub Actions workflow" }
- { command: "glab api", trust: full, reason: "Makes authenticated GitLab API requests" }
- { command: "glab mr create", trust: full, reason: "Creates a merge request on GitLab" }
- { command: "glab mr merge", trust: full, reason: "Merges a merge request on GitLab" }
- { command: "glab mr close", trust: full, reason: "Closes a merge request on GitLab" }
- { command: "glab mr reopen", trust: full, reason: "Reopens a closed merge request" }
- { command: "glab mr approve", trust: full, reason: "Approves a merge request on GitLab" }
- { command: "glab mr revoke", trust: full, reason: "Revokes approval from a merge request" }
- { command: "glab mr comment", trust: full, reason: "Adds a comment to a merge request" }
- { command: "glab mr note", trust: full, reason: "Adds a note to a merge request" }
- { command: "glab mr update", trust: full, reason: "Updates a merge request's metadata" }
- { command: "glab mr delete", trust: full, reason: "Deletes a merge request on GitLab" }
- { command: "glab issue create", trust: full, reason: "Creates a new GitLab issue" }
- { command: "glab issue close", trust: full, reason: "Closes a GitLab issue" }
- { command: "glab issue reopen", trust: full, reason: "Reopens a closed GitLab issue" }
- { command: "glab issue comment", trust: full, reason: "Adds a comment to a GitLab issue" }
- { command: "glab issue note", trust: full, reason: "Adds a note to a GitLab issue" }
- { command: "glab issue update", trust: full, reason: "Updates a GitLab issue's metadata" }
- { command: "glab issue delete", trust: full, reason: "Permanently deletes a GitLab issue" }
- { command: "glab release create", trust: full, reason: "Creates a new GitLab release" }
- { command: "glab release delete", trust: full, reason: "Deletes a GitLab release" }
- { command: "glab ci run", trust: full, reason: "Triggers a GitLab CI/CD pipeline" }
- { command: "glab ci retry", trust: full, reason: "Retries a GitLab CI/CD pipeline job" }
- { command: "glab ci cancel", trust: full, reason: "Cancels a GitLab CI/CD pipeline" }
- { command: "glab repo create", trust: full, reason: "Creates a new GitLab repository" }
- { command: "glab repo fork", trust: full, reason: "Forks a GitLab repository" }
- { command: "glab repo delete", trust: full, reason: "Permanently deletes a GitLab repository" }
- { command: "glab label create", trust: full, reason: "Creates a new label in a GitLab project" }
- { command: "glab label delete", trust: full, reason: "Deletes a label from a GitLab project" }
- { command: "pfp ls", trust: minimal }
- { command: "pfp list", trust: minimal }
- { command: "pfp runs", trust: minimal }
- { command: "pfp logs", trust: minimal }
- { command: "pfp --help", trust: minimal }
- { command: "pfp -h", trust: minimal }
- { command: "pfp --version", trust: minimal }
- { command: "pfp -V", trust: minimal }
- { command: "pfp run", trust: full, reason: "Triggers a Prefect flow run" }
- { command: "pfp pause", trust: full, reason: "Pauses a Prefect flow run" }
- { command: "pfp resume", trust: full, reason: "Resumes a paused Prefect flow run" }
- { command: "pfp cancel", trust: full, reason: "Cancels a Prefect flow run" }
- { command: "git-cliff", trust: standard, reason: "Generates a changelog from git history" }
- { command: "git-cliff --unreleased", trust: standard, reason: "Generates changelog for unreleased changes" }
- { command: "git-cliff --latest", trust: standard, reason: "Generates changelog for the latest release" }
- { command: "git-cliff --current", trust: standard, reason: "Generates changelog for the current version" }
rules:
- id: glab-api-mutating
level: high
match:
command: glab
args:
any_of: ["POST", "PUT", "DELETE", "PATCH"]
decision: ask
reason: "GitLab API mutating operation (POST/PUT/DELETE/PATCH)"
- id: gh-api-mutating
level: high
match:
command: gh
args:
any_of: ["POST", "PUT", "DELETE", "PATCH"]
decision: ask
reason: "GitHub API mutating operation (POST/PUT/DELETE/PATCH)"
- id: git-cliff-write-file
level: high
match:
command: git-cliff
flags:
any_of: ["-o", "--output", "--init", "--tag"]
decision: ask
reason: "git-cliff operation that writes files or modifies state"