Files
blog/content/posts/commits/2026-07-06-commit-af66e74.md
grafana-watcher 17e4b8d00e
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
post: commit af66e74 in bojemoi
2026-07-06 00:02:52 +02:00

1.3 KiB

title, date, draft, tags, categories, summary, author
title date draft tags categories summary author
[bojemoi] feat(cve-campaign): process all today's CVEs with flag table dedup 2026-07-06T00:02:51+02:00 false
commit
bojemoi
main
Git Activity
Commit af66e74 par grafana-watcher dans bojemoi grafana-watcher

Commit af66e74

Repository bojemoi
Branch main
Author grafana-watcher
Hash af66e74055046548c922c2e86265701867032e6e

Description

  • cve_campaign_agent.py: add cve_campaign_log table to track processed CVEs
    • ensure_log_table() / get_already_processed() / mark_processed()
    • run_campaign() now fetches all today's CVEs, skips already-processed
    • loops over each new CVE independently, marks each after processing
  • cve_ip_matcher.py: add get_todays_cves() using NVD pubStartDate/pubEndDate
  • Use valkey package (not redis) throughout
  • Tested: 53 CVEs processed dry-run, all flagged in cve_campaign_log

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Files Changed

M	ml-threat/cve_campaign_agent.py
M	ml-threat/cve_ip_matcher.py

Diff Summary

 ml-threat/cve_campaign_agent.py | 293 ++++++++++++++++++++++++++++------------
 ml-threat/cve_ip_matcher.py     |  31 +++++
 2 files changed, 239 insertions(+), 85 deletions(-)