diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f774ad..dce39ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.2.0](https://github.com/RedHatProductSecurity/cvelib/compare/1.1.0...1.2.0) (Dec 2, 2022) + +* The `list` and `users` commands have a new `-N/--no-header` option that skips printing a header in the table + output. (#55). +* The bundled CNA Published JSON schema is used by default when calling `CveRecord.validate()` (#57). +* The `jsonschema` required dependency was relaxed to an older version (#54). + ## [1.1.0](https://github.com/RedHatProductSecurity/cvelib/compare/1.0.0...1.1.0) (Nov 11, 2022) * The `publish` and `reject` subcommands have a new `-f/--cve-json-file` option that allows submitting CVE records from diff --git a/cvelib/__init__.py b/cvelib/__init__.py index 6849410..c68196d 100644 --- a/cvelib/__init__.py +++ b/cvelib/__init__.py @@ -1 +1 @@ -__version__ = "1.1.0" +__version__ = "1.2.0" diff --git a/man/cve-list.1 b/man/cve-list.1 index 4035ce6..b87ae7f 100644 --- a/man/cve-list.1 +++ b/man/cve-list.1 @@ -1,4 +1,4 @@ -.TH "CVE LIST" "1" "2022-11-11" "1.1.0" "cve list Manual" +.TH "CVE LIST" "1" "2022-12-02" "1.2.0" "cve list Manual" .SH NAME cve\-list \- Filter and list reserved CVE IDs owned by... .SH SYNOPSIS @@ -11,6 +11,9 @@ Filter and list reserved CVE IDs owned by your CNA. \fB\-\-raw\fP Print response JSON. .TP +\fB\-N,\fP \-\-no\-header +Do not print header in table output. +.TP \fB\-\-sort\-by\fP [cve_id|state|user|reserved_ts] Sort output. .TP diff --git a/man/cve-org-users.1 b/man/cve-org-users.1 index 3d0df25..2567162 100644 --- a/man/cve-org-users.1 +++ b/man/cve-org-users.1 @@ -1,4 +1,4 @@ -.TH "CVE ORG USERS" "1" "2022-11-11" "1.1.0" "cve org users Manual" +.TH "CVE ORG USERS" "1" "2022-12-02" "1.2.0" "cve org users Manual" .SH NAME cve\-org\-users \- List all users in your organization. .SH SYNOPSIS @@ -10,3 +10,6 @@ List all users in your organization. .TP \fB\-\-raw\fP Print response JSON. +.TP +\fB\-N,\fP \-\-no\-header +Do not print header in table output. diff --git a/man/cve-org.1 b/man/cve-org.1 index 09fa31d..5ddceb4 100644 --- a/man/cve-org.1 +++ b/man/cve-org.1 @@ -1,4 +1,4 @@ -.TH "CVE ORG" "1" "2022-11-11" "1.1.0" "cve org Manual" +.TH "CVE ORG" "1" "2022-12-02" "1.2.0" "cve org Manual" .SH NAME cve\-org \- Show information about your organization. .SH SYNOPSIS diff --git a/man/cve-ping.1 b/man/cve-ping.1 index 2c0ca8c..37501a5 100644 --- a/man/cve-ping.1 +++ b/man/cve-ping.1 @@ -1,4 +1,4 @@ -.TH "CVE PING" "1" "2022-11-11" "1.1.0" "cve ping Manual" +.TH "CVE PING" "1" "2022-12-02" "1.2.0" "cve ping Manual" .SH NAME cve\-ping \- Ping the CVE Services API to see if it is up. .SH SYNOPSIS diff --git a/man/cve-publish.1 b/man/cve-publish.1 index c7f87f7..738123b 100644 --- a/man/cve-publish.1 +++ b/man/cve-publish.1 @@ -1,4 +1,4 @@ -.TH "CVE PUBLISH" "1" "2022-11-11" "1.1.0" "cve publish Manual" +.TH "CVE PUBLISH" "1" "2022-12-02" "1.2.0" "cve publish Manual" .SH NAME cve\-publish \- Publish a CVE record for a reserved (or... .SH SYNOPSIS diff --git a/man/cve-quota.1 b/man/cve-quota.1 index 22a6108..b680a94 100644 --- a/man/cve-quota.1 +++ b/man/cve-quota.1 @@ -1,4 +1,4 @@ -.TH "CVE QUOTA" "1" "2022-11-11" "1.1.0" "cve quota Manual" +.TH "CVE QUOTA" "1" "2022-12-02" "1.2.0" "cve quota Manual" .SH NAME cve\-quota \- Display the available CVE ID quota for... .SH SYNOPSIS diff --git a/man/cve-reject.1 b/man/cve-reject.1 index 74095cd..a6d4578 100644 --- a/man/cve-reject.1 +++ b/man/cve-reject.1 @@ -1,4 +1,4 @@ -.TH "CVE REJECT" "1" "2022-11-11" "1.1.0" "cve reject Manual" +.TH "CVE REJECT" "1" "2022-12-02" "1.2.0" "cve reject Manual" .SH NAME cve\-reject \- Reject a CVE record for a reserved or... .SH SYNOPSIS diff --git a/man/cve-reserve.1 b/man/cve-reserve.1 index 7d23bf6..4b0b553 100644 --- a/man/cve-reserve.1 +++ b/man/cve-reserve.1 @@ -1,4 +1,4 @@ -.TH "CVE RESERVE" "1" "2022-11-11" "1.1.0" "cve reserve Manual" +.TH "CVE RESERVE" "1" "2022-12-02" "1.2.0" "cve reserve Manual" .SH NAME cve\-reserve \- Reserve one or more CVE IDs. .SH SYNOPSIS diff --git a/man/cve-show.1 b/man/cve-show.1 index a38ffed..c4542a3 100644 --- a/man/cve-show.1 +++ b/man/cve-show.1 @@ -1,4 +1,4 @@ -.TH "CVE SHOW" "1" "2022-11-11" "1.1.0" "cve show Manual" +.TH "CVE SHOW" "1" "2022-12-02" "1.2.0" "cve show Manual" .SH NAME cve\-show \- Display a specific CVE ID (and optionally... .SH SYNOPSIS diff --git a/man/cve-undo-reject.1 b/man/cve-undo-reject.1 index 6bc36b1..38fc2d9 100644 --- a/man/cve-undo-reject.1 +++ b/man/cve-undo-reject.1 @@ -1,4 +1,4 @@ -.TH "CVE UNDO-REJECT" "1" "2022-11-11" "1.1.0" "cve undo-reject Manual" +.TH "CVE UNDO-REJECT" "1" "2022-12-02" "1.2.0" "cve undo-reject Manual" .SH NAME cve\-undo-reject \- Move a rejected CVE ID without a record... .SH SYNOPSIS diff --git a/man/cve-user-create.1 b/man/cve-user-create.1 index e924add..8eea874 100644 --- a/man/cve-user-create.1 +++ b/man/cve-user-create.1 @@ -1,4 +1,4 @@ -.TH "CVE USER CREATE" "1" "2022-11-11" "1.1.0" "cve user create Manual" +.TH "CVE USER CREATE" "1" "2022-12-02" "1.2.0" "cve user create Manual" .SH NAME cve\-user\-create \- Create a user in your organization. .SH SYNOPSIS diff --git a/man/cve-user-reset-key.1 b/man/cve-user-reset-key.1 index 1a49dce..03161df 100644 --- a/man/cve-user-reset-key.1 +++ b/man/cve-user-reset-key.1 @@ -1,4 +1,4 @@ -.TH "CVE USER RESET-KEY" "1" "2022-11-11" "1.1.0" "cve user reset-key Manual" +.TH "CVE USER RESET-KEY" "1" "2022-12-02" "1.2.0" "cve user reset-key Manual" .SH NAME cve\-user\-reset-key \- Reset a user's personal access token (API... .SH SYNOPSIS diff --git a/man/cve-user-update.1 b/man/cve-user-update.1 index f60e3e9..b3a1b39 100644 --- a/man/cve-user-update.1 +++ b/man/cve-user-update.1 @@ -1,4 +1,4 @@ -.TH "CVE USER UPDATE" "1" "2022-11-11" "1.1.0" "cve user update Manual" +.TH "CVE USER UPDATE" "1" "2022-12-02" "1.2.0" "cve user update Manual" .SH NAME cve\-user\-update \- Update a user. .SH SYNOPSIS diff --git a/man/cve-user.1 b/man/cve-user.1 index 30f0366..d749ce4 100644 --- a/man/cve-user.1 +++ b/man/cve-user.1 @@ -1,4 +1,4 @@ -.TH "CVE USER" "1" "2022-11-11" "1.1.0" "cve user Manual" +.TH "CVE USER" "1" "2022-12-02" "1.2.0" "cve user Manual" .SH NAME cve\-user \- Show information about a user. .SH SYNOPSIS diff --git a/man/cve.1 b/man/cve.1 index b363466..4ba6b37 100644 --- a/man/cve.1 +++ b/man/cve.1 @@ -1,4 +1,4 @@ -.TH "CVE" "1" "2022-11-11" "1.1.0" "cve Manual" +.TH "CVE" "1" "2022-12-02" "1.2.0" "cve Manual" .SH NAME cve \- A CLI interface for the CVE Services API. .SH SYNOPSIS