mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
fix: update test with new vulns (#23775)
> No ticket, just fixing a broken test # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Added/updated tests
This commit is contained in:
parent
e3618e8335
commit
6a26b894b3
1 changed files with 2 additions and 0 deletions
|
|
@ -279,6 +279,7 @@ func TestTranslateCPEToCVE(t *testing.T) {
|
|||
"cpe:2.3:a:microsoft:python_extension:2020.9.1:*:*:*:*:visual_studio_code:*:*": {
|
||||
includedCVEs: []cve{
|
||||
{ID: "CVE-2020-17163", resolvedInVersion: "2020.9.2"},
|
||||
{ID: "CVE-2024-49050", resolvedInVersion: "2024.18.2"},
|
||||
},
|
||||
continuesToUpdate: false,
|
||||
},
|
||||
|
|
@ -303,6 +304,7 @@ func TestTranslateCPEToCVE(t *testing.T) {
|
|||
{ID: "CVE-2020-1171", resolvedInVersion: "2020.5.0"},
|
||||
{ID: "CVE-2020-1192", resolvedInVersion: "2020.5.0"},
|
||||
{ID: "CVE-2020-17163", resolvedInVersion: "2020.9.2"},
|
||||
{ID: "CVE-2024-49050", resolvedInVersion: "2024.18.2"},
|
||||
},
|
||||
continuesToUpdate: false,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue