Skip to content

Commit

Permalink
test: Align test assets with recent changes in advisor result model
Browse files Browse the repository at this point in the history
See [1] and [2].

[1]: #7762
[2]: #8610

Signed-off-by: Frank Viernau <frank_viernau@epam.com>
  • Loading branch information
fviernau committed May 17, 2024
1 parent 19dfc01 commit 066413b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/src/funTest/assets/semver4j-ort-result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -390,13 +390,13 @@ advisor:
summary:
start_time: "2021-04-29T14:54:17.322191Z"
end_time: "2021-04-29T14:54:18.966672Z"
defects: []
vulnerabilities:
- id: "CVE-2020-15250"
references:
- url: "http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15250"
scoring_system: "CVSS2"
severity: "5.5"
severity_rating: "MEDIUM"
evaluator: null
resolved_configuration:
package_curations:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,6 @@ advisor:
source: "VulnerableCode"
message: "Example advisor hint."
severity: "HINT"
defects: []
vulnerabilities:
- id: "VULCOID-VULNERABILITY_ID"
summary: "summary text"
Expand All @@ -814,6 +813,7 @@ advisor:
- url: "https://registry.vulnerability-url/"
scoring_system: "SCORING_SYSTEM_NAME"
severity: "ERROR"
severity_rating: "UNKNOWN"
evaluator:
start_time: "1970-01-01T01:09:00Z"
end_time: "1970-01-01T01:11:00Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,6 @@ advisor:
source: "VulnerableCode"
message: "Example advisor hint."
severity: "HINT"
defects: []
vulnerabilities:
- id: "VULCOID-VULNERABILITY_ID"
summary: "summary text"
Expand All @@ -814,6 +813,7 @@ advisor:
- url: "https://registry.vulnerability-url/"
scoring_system: "SCORING_SYSTEM_NAME"
severity: "ERROR"
severity_rating: "UNKNOWN"
evaluator:
start_time: "1970-01-01T01:09:00Z"
end_time: "1970-01-01T01:11:00Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,6 @@ advisor:
source: "VulnerableCode"
message: "Example advisor hint."
severity: "HINT"
defects: []
vulnerabilities:
- id: "VULCOID-VULNERABILITY_ID"
summary: "summary text"
Expand All @@ -814,6 +813,7 @@ advisor:
- url: "https://registry.vulnerability-url/"
scoring_system: "SCORING_SYSTEM_NAME"
severity: "ERROR"
severity_rating: "UNKNOWN"
evaluator:
start_time: "1970-01-01T01:09:00Z"
end_time: "1970-01-01T01:11:00Z"
Expand Down

0 comments on commit 066413b

Please sign in to comment.