File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- 4d3e91f176b73278750dc2f46d27cd4fe2b47d24682ad06d6267880bbdec599c
1+ 42026ac47884ee26fe742e59fb7dc621b5f927ee6ee3c92daf09b97f2a740163
Original file line number Diff line number Diff line change @@ -1735,6 +1735,7 @@ def saml2_attrib_map_format(dict):
17351735 "ALSA" : "https://osv.dev/vulnerability/" , # e.g. https://osv.dev/vulnerability/ALSA-2024:0827
17361736 "USN" : "https://ubuntu.com/security/notices/" , # e.g. https://ubuntu.com/security/notices/USN-6642-1
17371737 "DLA" : "https://security-tracker.debian.org/tracker/" , # e.g. https://security-tracker.debian.org/tracker/DLA-3917-1
1738+ "ELSA" : "https://linux.oracle.com/errata/&&.html" , # e.g. https://linux.oracle.com/errata/ELSA-2024-12714.html
17381739}
17391740# List of acceptable file types that can be uploaded to a given object via arbitrary file upload
17401741FILE_UPLOAD_TYPES = env ("DD_FILE_UPLOAD_TYPES" )
Original file line number Diff line number Diff line change @@ -780,6 +780,8 @@ def vulnerability_url(vulnerability_id):
780780
781781 for key in settings .VULNERABILITY_URLS :
782782 if vulnerability_id .upper ().startswith (key ):
783+ if "&&" in settings .VULNERABILITY_URLS [key ]:
784+ return settings .VULNERABILITY_URLS [key ].split ("&&" )[0 ] + str (vulnerability_id ) + settings .VULNERABILITY_URLS [key ].split ("&&" )[1 ]
783785 return settings .VULNERABILITY_URLS [key ] + str (vulnerability_id )
784786 return ""
785787
You can’t perform that action at this time.
0 commit comments