Skip to content

Commit

Permalink
fix: Allow additional CvssV4Data properties (jeremylong#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlwilson authored Jun 29, 2024
1 parent e5f28dc commit d97e775
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
Expand All @@ -35,6 +36,7 @@
* JSON Schema for Common Vulnerability Scoring System version 3.0
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
// TODO fix the order - added entries that aren't here
@JsonPropertyOrder({"version", "vectorString", "attackVector", "attackComplexity", "attackRequirements",
"privilegesRequired", "userInteraction", "vulnerableSystemConfidentiality", "vulnerableSystemIntegrity",
Expand Down

0 comments on commit d97e775

Please sign in to comment.