Commit 2cad8bd
feat: wire cargo-deny output into weak_points emission
Implements issue #101: Add cargo-deny scanner integration that emits
weak_points for license policy violations, security advisories,
banned dependencies, and unknown sources.
- Add 4 new WeakPointCategory variants: LicensePolicy, Advisory,
BannedDep, UnknownSource
- Create src/scan/cargodeny.rs with full cargo-deny integration
- Parse JSON/SARIF output and map to WeakPoint structures
- Severity mapping: Error->High, Warning->Medium, Note->Low
- Code-to-category mapping for RUSTSEC, CVE, banned, license, etc.
- Per estate policy: do_not_automate=true for all findings
- Add sarif feature to Cargo.toml
- Update panll and report/sarif matches for new categories
Closes #101
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>1 parent 0f5786c commit 2cad8bd
7 files changed
Lines changed: 451 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
323 | 323 | | |
324 | 324 | | |
325 | 325 | | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
326 | 330 | | |
327 | 331 | | |
328 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
| |||
173 | 177 | | |
174 | 178 | | |
175 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
176 | 184 | | |
177 | 185 | | |
178 | 186 | | |
| |||
0 commit comments