Skip to content

Commit

Permalink
fixup! feature: add query command to check wheter a package/version i…
Browse files Browse the repository at this point in the history
…s affected
  • Loading branch information
blackheaven committed Sep 24, 2023
1 parent fd1cfa2 commit 4622392
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions code/hsec-tools/test/golden/EXAMPLE_ADVISORY.md.golden
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,24 @@ Right
, affectedCVSS = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
, affectedVersions =
[ AffectedVersionRange
{ affectedVersionRangeIntroduced = "1.0.8"
, affectedVersionRangeFixed = Just "1.1"
{ affectedVersionRangeIntroduced = mkVersion
[ 1
, 0
, 8
]
, affectedVersionRangeFixed = Just
( mkVersion
[ 1
, 1
]
)
}
, AffectedVersionRange
{ affectedVersionRangeIntroduced = "1.1.2"
{ affectedVersionRangeIntroduced = mkVersion
[ 1
, 1
, 2
]
, affectedVersionRangeFixed = Nothing
}
]
Expand Down

0 comments on commit 4622392

Please sign in to comment.