Skip to content

Commit 94c2c8c

Browse files
committed
Add license for xen importer
Signed-off-by: Tushar Goel <[email protected]>
1 parent d0edf65 commit 94c2c8c

File tree

1 file changed

+27
-2
lines changed
  • vulnerabilities/importers

1 file changed

+27
-2
lines changed

vulnerabilities/importers/xen.py

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,33 @@
1717
class XenImporter(Importer):
1818

1919
url = "https://xenbits.xen.org/xsa/xsa.json"
20-
spdx_license_expression = "GPL-2"
21-
license_url = "https://wiki.xenproject.org/wiki/Xen_FAQ_General"
20+
spdx_license_expression = "LicenseRef-scancode-other-permissive"
21+
notice = """
22+
From: George Dunlap <[email protected]>
23+
Date: Wed, Jan 25, 2023 at 4:57 PM
24+
Subject: Re: Usage of Xen Security Data in VulnerableCode
25+
To: Tushar Goel <[email protected]>
26+
27+
28+
On Thu, Jan 19, 2023 at 1:10 PM Tushar Goel <[email protected]> wrote:
29+
>
30+
> Hi Andrew,
31+
>
32+
> > Maybe we want to make it CC-BY-4 to require people to reference back to
33+
> > the canonical upstream ?
34+
> Thanks for your response, can we have a more declarative statement on
35+
> the license from your end
36+
> and also can you please provide your acknowledgement over the usage of
37+
> Xen security data in vulnerablecode.
38+
39+
40+
Hey Tushar,
41+
Informally, the Xen Project Security Team is happy for you to include the data from xsa.json in your open-source vulnerability database. As a courtesy we'd request that it be documented where the information came from. (I think if the data includes links to then advisories on our website, that will suffice.)
42+
Formally, we're not copyright lawyers; but we don't think there's anything copyright-able in the xsa.json: There is no editorial or creative control in the generation of that file; it's just a collection of facts which you could re-generate by scanning all the advisories. (In fact that's exactly how the file is created; i.e., the collection of advisory texts is our "source of truth".)
43+
We do have "Officially license all advisory text as CC-BY-4" on our to-do list; if you'd be more comfortable with an official license for xsa.json as well, we can add that to the list.
44+
45+
-George
46+
"""
2247

2348
def advisory_data(self):
2449
data = fetch_response(self.url).json()

0 commit comments

Comments
 (0)