Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to dump the comments and bundles in an archive #65

Closed
cedricbonhomme opened this issue Aug 2, 2024 · 1 comment
Closed
Labels
enhancement New feature or request

Comments

@cedricbonhomme
Copy link
Member

Add a way to dump (a command and/or via the web interface) all the comments and bundles in JSON format, in a archive. The same way we are doing for the various vulnerability sources.

@cedricbonhomme cedricbonhomme added the enhancement New feature or request label Aug 2, 2024
@cedricbonhomme
Copy link
Member Author

Usage:

$ dump --comments --bundles
Dumping comments...
Dumping bundles...
$ cat dumps/bundles.ndjson | jq
{
  "uuid": "94cb9f68-8d24-4081-831d-57d60423195f",
  "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd",
  "name": "Bundle 42",
  "description": "Test",
  "description_format": "markdown",
  "creation_timestamp": "2024-07-31T11:15:40.455037Z",
  "timestamp": "2024-07-31T11:15:40.455037Z",
  "related_vulnerabilities": [
    "CVE-2024-31497"
  ],
  "meta": {}
}
.
.
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant