File: cve-publish-adp.1

package info (click to toggle)
cvelib 1.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 728 kB
  • sloc: python: 1,884; makefile: 3
file content (38 lines) | stat: -rw-r--r-- 1,190 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
.TH "CVE PUBLISH-ADP" "1" "2024-12-06" "1.7.1" "cve publish-adp Manual"
.SH NAME
cve\-publish-adp \- Add or update an ADP container in a CVE...
.SH SYNOPSIS
.B cve publish-adp
[OPTIONS] CVE_ID
.SH DESCRIPTION
Add or update an ADP container in a CVE record for a published CVE ID.
.PP
NOTE: a published ADP container cannot be removed, only updated with new data.
.PP
The ADP container can be specified as a string:
.PP
  cve publish-adp CVE-2022-1234 -j '{"affected": [], "descriptions": [], "references": {}, ...}'
.PP
Or passed in a file:
.PP
  cve publish-adp CVE-2022-1234 -f adp.json
.PP
For information on the required properties in a given ADP container of a CVE record,
see the schema in:
.PP
https://cveproject.github.io/cve-schema/schema/docs/
.PP
Because the CVE Services API only expects the ADP container contents of the full CVE v5 record,
the data you pass to this command can specify just the attributes defined by the adpContainer
subschema.
.PP
.SH OPTIONS
.TP
\fB\-j,\fP \-\-adp\-json TEXT
JSON body of the ADP container to publish.
.TP
\fB\-f,\fP \-\-adp\-json\-file FILENAME
File containing JSON body of ADP container to publish.
.TP
\fB\-\-raw\fP
Print response JSON.