Repository navigation
Commit cbfe9d3
committed
fix(security-audit): allowlist RQA credential-secrecy test fixtures
test_rqa_authority_secrecy.py, test_rqa_remediation_push.py and
test_rqa_remediation_remediate.py each embed a deliberately real-looking
token so the test can prove the code never lets one escape -- the same
purpose the security_audit_fixtures/secrets/ and the-professor fixture
entries already document. gitleaks reads them as live credentials and
fails the audit gate on PRs block#2238 and block#2244.
The values are synthetic: a ghp_ prefix on a literal sequential-alphabet
body, and a named canary constant. No real credential is present.
Scoped to three literal paths rather than a tests/.* glob, for the reason
issue block#389 records for Cargo.lock: a directory-wide exemption would
silently cover every present and future file in that tree against every
rule, and only these three were verified.
Signed-off-by: Serina Mcfall <[email protected]>1 parent e5f19cb commit cbfe9d3
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
148 | 170 | | |
149 | 171 | | |
150 | 172 | | |
| |||
0 commit comments