The protocols specifies that remediation field contains List of remediations (remediations) of value type array with 1 or more Remediation items of value type object contains a list of remediations.
See more:
https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#32312-vulnerabilities-property---remediations
CSAFParser class fails to return such array
|
if "remediations" in vulnerability: |
|
for remediation in vulnerability["remediations"]: |
|
vuln_info.set_remediation(remediation["category"]) |
|
vuln_info.set_action(remediation["details"]) |
|
self.vulnerabilities.append(vuln_info.get_vulnerability()) |
The protocols specifies that remediation field contains
List of remediations (remediations) of value type array with 1 or more Remediation items of value type object contains a list of remediations.See more:
https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html#32312-vulnerabilities-property---remediations
CSAFParser class fails to return such array
csaf/csaf/parser.py
Lines 188 to 192 in 4decb1b