Skip to content

Commit

Permalink
Merge pull request #75 from RedHatProductSecurity/fix-record-state-va…
Browse files Browse the repository at this point in the history
…lues

Update CVE state constants to match case used by CVE Services
  • Loading branch information
mprpic committed Jul 21, 2023
2 parents 1ec0c22 + ee09bd7 commit 51c47fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cvelib/cve_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ class CveApi:
USER_ROLES = ("ADMIN",)

class States(Constants):
RESERVED = "reserved"
PUBLISHED = "published"
REJECTED = "rejected"
RESERVED = "RESERVED"
PUBLISHED = "PUBLISHED"
REJECTED = "REJECTED"

class Errors(Constants):
RECORD_EXISTS = "CVE_RECORD_EXISTS"
Expand Down

0 comments on commit 51c47fb

Please sign in to comment.