Skip to content

Commit 4b89cdb

Browse files
committed
Include original advisory text in ArchLinux pipeline
Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 4a916b1 commit 4b89cdb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

vulnerabilities/pipelines/v2_importers/archlinux_importer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# See https://aboutcode.org for more information about nexB OSS projects.
88
#
99

10+
import json
1011
from typing import Iterable
1112
from typing import Mapping
1213

@@ -97,4 +98,5 @@ def parse_advisory(self, record) -> AdvisoryData:
9798
affected_packages=affected_packages,
9899
weaknesses=[],
99100
url=f"https://security.archlinux.org/{avg_name}.json",
101+
original_advisory_text=json.dumps(record),
100102
)

0 commit comments

Comments
 (0)