Skip to content

ci(extract,db): add fortinet-cvrf + fortinet-csaf#187

Merged
shino merged 4 commits into
mainfrom
shino/db-add-fortinet
Jun 30, 2026
Merged

ci(extract,db): add fortinet-cvrf + fortinet-csaf#187
shino merged 4 commits into
mainfrom
shino/db-add-fortinet

Conversation

@shino

@shino shino commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

What

Add the two new Fortinet extractors — fortinet-cvrf and fortinet-csaf — to the DB build, both rooted on the FG-IR PSIRT advisory.

  • db-nightly.mk: enabled (active) so the nightly DB carries Fortinet detection criteria.
  • db-main.mk: added commented out — the production main (:0 / :latest) DB stays unchanged for now.

Why

vuls is migrating Fortinet CPE detection from go-cve-dictionary to the vuls2 path (future-architect/vuls#2591), which reads this DB. Mirrors the Cisco (#184) / Palo Alto enablement.

Note

Dependencies, before this can build / be un-commented:

Kept as a draft until the above are in place.

…nted)

Add the two new Fortinet extractors to the DB build, both rooted on the FG-IR
PSIRT advisory:
- db-nightly.mk: enable fortinet-cvrf and fortinet-csaf so the nightly DB carries
  Fortinet detection criteria.
- db-main.mk: add them commented out — keep the production main (:0/:latest) DB
  unchanged until vuls is ready to consume them.

Required for vuls's Fortinet CPE detection once it routes Fortinet through vuls2
(future-architect/vuls#2591).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 30, 2026 06:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the DB build inputs to include two new Fortinet extracted data sources (fortinet-cvrf and fortinet-csaf), enabling them for the nightly DB build while keeping the main (production) DB build unchanged by leaving the entries commented out.

Changes:

  • Enable vuls-data-extracted-fortinet-cvrf and vuls-data-extracted-fortinet-csaf in db-nightly.mk.
  • Add the same Fortinet DB-add lines to db-main.mk, but commented out to avoid affecting :0/:latest.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
db-nightly.mk Adds Fortinet extracted repos to the nightly DB build inputs.
db-main.mk Adds (commented) Fortinet extracted repos to main DB build inputs for future enablement.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread db-nightly.mk Outdated
shino and others added 2 commits June 30, 2026 16:08
…ore/truncate

The db-add lines alone are not enough — a new extracted source must also be
listed in the surrounding CI workflows (mirrors the paloalto wiring in #182).
The raw side (fetch-fortinet-csaf/cvrf, raw backup/gc/archive/restore) was
already wired, so this only adds the extract/extracted side:

- extract-all.yml / extract-main.yml: uncomment fortinet-csaf and fortinet-cvrf
  (fortinet-handmade stays commented).
- backup-daily/monthly/weekly.yml, gc.yml, restore-all.yml, truncate.yml: add
  vuls-data-extracted-fortinet-csaf / -cvrf to the extracted matrices.
- gc-extracted.yml: add the two extracted tags with the standard pack settings.
- truncate-extracted.yml: add the bare fortinet-csaf / fortinet-cvrf names.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
archive-raw.yml listed fortinet-csaf and fortinet-cvrf but not the bare
"fortinet" raw source, which every other raw workflow (archive, gc, gc-raw,
backup-*, restore-all) already includes. Add it for consistency.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 30, 2026 07:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 2 comments.

Comment thread db-nightly.mk Outdated
Comment thread db-main.mk Outdated
Match the csaf-then-cvrf ordering used by the workflow / backup / gc / truncate
lists in this PR (and alphabetical), so the db-add lists stay easy to diff and
keep in sync.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings June 30, 2026 07:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 8 comments.

Comment thread .github/workflows/extract-all.yml
Comment thread .github/workflows/extract-all.yml
Comment thread .github/workflows/truncate-extracted.yml
Comment thread .github/workflows/backup-daily.yml
Comment thread .github/workflows/backup-weekly.yml
Comment thread .github/workflows/backup-monthly.yml
Comment thread .github/workflows/extract-main.yml
Comment thread db-nightly.mk

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/extract-all.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/archive-raw.yml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 13 out of 13 changed files in this pull request and generated no new comments.

@shino shino changed the title ci(db): add fortinet-cvrf + fortinet-csaf (nightly active, main commented) ci(extract,db): add fortinet-cvrf + fortinet-csaf Jun 30, 2026
@shino shino marked this pull request as ready for review June 30, 2026 12:02
@shino shino requested a review from MaineK00n June 30, 2026 12:02

@MaineK00n MaineK00n left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎪

@shino shino merged commit c3046b0 into main Jun 30, 2026
4 checks passed
@shino shino deleted the shino/db-add-fortinet branch June 30, 2026 12:06
shino added a commit that referenced this pull request Jul 1, 2026
…0) DB build (#188)

Uncomment the fortinet-csaf and fortinet-cvrf db-add lines in db-main.mk so the
main (:latest/:0) DB includes them. Both have been live in db-nightly.mk since
#187; this promotes them to main.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants