diff --git a/backend/app/services/intel_service.py b/backend/app/services/intel_service.py index 5ff6323..c75b36d 100644 --- a/backend/app/services/intel_service.py +++ b/backend/app/services/intel_service.py @@ -33,8 +33,8 @@ RSS_FEEDS: list[dict[str, str]] = [ "url": "https://www.cisa.gov/cybersecurity-advisories/all.xml", }, { - "name": "NIST NVD CVE", - "url": "https://nvd.nist.gov/feeds/xml/cve/misc/nvd-rss.xml", + "name": "SecurityWeek", + "url": "https://feeds.feedburner.com/Securityweek", }, { "name": "SANS ISC", @@ -151,12 +151,6 @@ def _entry_matches( return any(p.search(text) for p in id_patterns + name_patterns) -def _entry_matches(entry: dict[str, str], patterns: list[re.Pattern]) -> bool: - """Return True if any pattern matches the entry's title or description.""" - text = f"{entry.get('title', '')} {entry.get('description', '')}" - return any(p.search(text) for p in patterns) - - # --------------------------------------------------------------------------- # Public API # ---------------------------------------------------------------------------