47 lines
1.3 KiB
Markdown
47 lines
1.3 KiB
Markdown
---
|
|
title: "[bojemoi] feat(cve-campaign): process all today's CVEs with flag table dedup"
|
|
date: 2026-07-06T00:02:51+02:00
|
|
draft: false
|
|
tags: ["commit", "bojemoi", "main"]
|
|
categories: ["Git Activity"]
|
|
summary: "Commit af66e74 par grafana-watcher dans bojemoi"
|
|
author: "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(-)
|
|
```
|