Skip to content

Commit

Permalink
fix: always include rhel out of support entries when no other fix inf…
Browse files Browse the repository at this point in the history
…o available for any other releases (#269)

Signed-off-by: Weston Steimel <[email protected]>
  • Loading branch information
westonsteimel authored Aug 29, 2023
1 parent ee45d4e commit 5012d6c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/vunnel/providers/rhel/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,9 @@ def _merge_out_of_support_affected(
break
return merged

for oos in out_of_support:
affected.append(oos)

return affected

def _parse_cve(self, cve_id, content):
Expand Down
10 changes: 9 additions & 1 deletion tests/unit/providers/rhel/test_rhel.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,15 @@ def test_get_name_version(self, package, name, version):
version=None,
)
],
[],
[
FixedIn(
module=None,
platform="7",
package="foobar",
advisory=None,
version=None,
)
],
),
(
[],
Expand Down

0 comments on commit 5012d6c

Please sign in to comment.