logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

cve-publish - Publish a CNA container of a CVE record...

Description

       Publish a CNA container of a CVE record for a reserved (or rejected) CVE ID.

       If the CVE is already published, this action will update the CNA container in its record. A published CVE
       can only be moved to the rejected state with an appropriate reject record (see `cve reject`). A published
       CVE cannot be moved back to the reserved state.

       The CNA container can be specified as a string:

         cve publish CVE-2022-1234 -j '{"affected": [], "descriptions": [], "references": {}, ...}'

       Or passed in a file:

         cve publish CVE-2022-1234 -f cve.json

       For information on the required properties in a given CNA container of a CVE record, see the schema in:

       https://cveproject.github.io/cve-schema/schema/docs/

       Because  the CVE Services API only expects the CNA container contents of the full CVE v5 record, the data
       you pass to this command can  specify  just  the  attributes  defined  by  the  cnaPublishedContainer  or
       cnaRejectedContainer subschemas, and not the full schema record.

Name

       cve-publish - Publish a CNA container of a CVE record...

Options

-j, --cve-json TEXT
              JSON body of CVE record to publish.

       -f, --cve-json-file FILENAME
              File containing JSON body of CVE record to publish.

       --raw  Print response JSON.

1.7.1                                              2024-12-06                                     CVEPUBLISH(1)

Synopsis

cvepublish [OPTIONS] CVE_ID

See Also