combine-to-osv

command
v0.0.0-...-b9de0f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

combine-to-osv

What

Combine PackageInfo file fragments into a single OSV record.

Why

To address the generation of CVE records from multiple disparate sources (all requiring a common record prefix):

How

See run_combine_to_osv_convert.sh:

Operational matters

Overriding an OSV record
Situation

There's a generated OSV record that contains incorrect information and needs to be overriden (e.g. it is causing false positives)

Possible edits to consider making:

  • remove or correct an incorrect affected entry
  • add a withdrawn field
Considerations

This statically overrides the record generated, meaning any and all of the inputs for this record will be diregarded. The record will no longer change.

Procedure
  1. gsutil cp gs://cve-osv-conversion/osv-output/CVE-YYYY-NNNN.json
  2. manually edit the file
  3. gsutil cp gs://cve-osv-conversion/osv-output-overrides/CVE-YYYY-NNNN.json

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL