Skip to content

Allow-list hosted agents v2 test fixtures in the secret scan - #1972

Closed
niall-sandboxaq wants to merge 4 commits into
mainfrom
gitleaks-allowlist-hosted-v2-fixtures
Closed

niall-sandboxaq wants to merge 4 commits into
mainfrom
gitleaks-allowlist-hosted-v2-fixtures

Conversation

@niall-sandboxaq

Copy link
Copy Markdown
Collaborator

Test fakes allow-listed by file and value for the upcoming hosted agents v2 change. Each entry needs both the file path and the exact line, and applies only to the generic-api-key rule, so the same text anywhere else, or any other value in the same file, is still scanned. The existing allowlist moves to [[allowlists]], unchanged in effect.

🤖 Generated with Claude Code

The PR secret scan reads the base branch's .gitleaks.toml, so the hosted
agents v2 PR's reviewed test fixtures need their entries here first. Each
entry needs both the file path and the exact line, so the same text
anywhere else, or any other value in the same file, is still scanned. The
existing allowlist moves to the [[allowlists]] form, unchanged in effect.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@niall-sandboxaq

Copy link
Copy Markdown
Collaborator Author

Closing: its allow-list entries now live in the PRs that carry the files they cover. #2017 has the box runtime entries (upstream-sync blob ids, split-runtime and sealed-login test fixtures). #2021 has the controller test entries (box operator keyed id, Kubernetes field fixture). #2042, and #2112 on top of it, have the read-views keyed id. All four include the switch to the [[allowlists]] format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant