Add Check Point security advisories importer#2221
Open
NucleiAv wants to merge 2 commits intoaboutcode-org:mainfrom
Open
Add Check Point security advisories importer#2221NucleiAv wants to merge 2 commits intoaboutcode-org:mainfrom
NucleiAv wants to merge 2 commits intoaboutcode-org:mainfrom
Conversation
Signed-off-by: Anmol Vats <anmolvats2003@gmail.com>
Signed-off-by: Anmol Vats <anmolvats2003@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an importer for Check Point security advisories from https://advisories.checkpoint.com/advisories/, as listed in #2220 and #106.
The page has no official API. I generated an RSS feed via rss.app (https://rss.app/feeds/F22yOateJqF3fTZE.xml) to explore that path, but decided against using it for three reasons: it only captures recent entries with no historical data, severity is missing from the feed entirely, and it introduces a dependency on a third-party scraper that we don't control. The RSS feed items only have title (CPAI ID), description (summary text), link, and pubDate, etc. No severity field at all. The actual Check Point website has severity in two places, the listing table (Medium/High/Critical in column 0) and the individual advisory detail pages. The scraper gets it from the listing table itself. The rss.app feed just doesn't expose it. Scraping the source directly is the right call.
The importer paginates through all available years (detected from the year navigation links, with the current year always added since it does not appear in the nav). Each row in the advisory table maps as follows: the CPAI reference goes into advisory_id, the CVE ID goes into aliases and gets an NVD reference, and severity from the listing table goes into severities. Affected packages are not listed on this page so affected_packages is empty.