Commit f434e12
committed
Tighten prompt: require jq query of trivy-results.json for CVSS data
Run 24999949466 produced an excellent fix recommendation but inferred the
CVSS score/vector from training knowledge instead of reading trivy-results.json
(where the actual 8.1 score and AV:N/AC:H/... vector were available). Claude
went deep on git history early and apparently skipped the jq query.
Make this explicit: trivy-results.json is the canonical source for CVSS
data, query it with jq, and only fall back to training knowledge when the
CVE genuinely isn't in the scan (test mode).1 parent 365d626 commit f434e12
1 file changed
Lines changed: 11 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
228 | 236 | | |
229 | 237 | | |
230 | 238 | | |
| |||
0 commit comments