Repository navigation
Commit 6d3d52a
authored
test(security): annotate intentional hardcoded-password detection fixture (#266)
The merged main commit fails `scan / rust-secrets` on
`tests/template_coverage_tests.rs:109`: the detector's deliberate dummy
HTML password is itself detected by the CI scanner.
Add the scanner's documented inline `scanner-allow: rust-secrets` pragma
to that one fixture line, with an explanatory comment. The input string
and detector assertions are unchanged; no workflow or scanner pattern is
changed.
Validation: executed the exact rust-secrets step from the pinned
vendored workflow against isolated fixtures. The original fails; the
annotated fixture passes; adding an unrelated dummy API-key canary in
the same tests directory still fails. Only two comments differ. Rust
formatting and the existing detector test must also pass in CI.
This addresses the executing scanner failure after #265. Separate
zero-job failures remain: the Rust CI startup annotation explicitly says
the metadatastician/standards reusable is excluded by the repository's
Actions policy. No policy change or mirror configuration is included.1 parent db8faea commit 6d3d52a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
0 commit comments