Skip to content

docs: document the advisories init command#853

Open
ELHart05 wants to merge 1 commit into
OWASP:mainfrom
ELHart05:feature/issue-850-document-advisories-init
Open

docs: document the advisories init command#853
ELHart05 wants to merge 1 commit into
OWASP:mainfrom
ELHart05:feature/issue-850-document-advisories-init

Conversation

@ELHart05

Copy link
Copy Markdown
Contributor

Summary

Documents advisories init (shipped in #847) next to the existing advisories sync docs, so air-gapped users can find the init -> populate -> --offline-db workflow.

What changed

  • cli-reference.md: init in the usage block, plus an offline example with the no-overwrite note.
  • offline-advisory-db.md: a workflow-modes section for environments that cannot reach OSV at all.
  • README.md: one-line mention next to advisories sync.

Validation

npm run build in website/ builds the Docusaurus site cleanly. Docs only, no code changes.

Closes #850

Add `advisories init` alongside the existing `advisories sync` docs so
air-gapped users can find the init then populate then --offline-db
workflow.

- cli-reference.md: add init to the usage block and the offline sync
  examples, with a note that init refuses to overwrite an existing file.
- offline-advisory-db.md: add a workflow-modes section for environments
  that cannot reach OSV at all.
- README.md: one-line mention in the command list next to sync.

Docs only, no code changes. Verified `npm run build` in website/ still
builds the Docusaurus site.

Closes OWASP#850
@ELHart05
ELHart05 requested a review from sonukapoor as a code owner July 19, 2026 16:36
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.

docs: document the new advisories init command

1 participant