Add a property to the software SCO, due to STIX spec change.

master
Michael Chisholm 2020-03-02 16:57:18 -05:00
parent c2b71672f5
commit 4e2b018272
2 changed files with 2 additions and 0 deletions

View File

@ -1300,6 +1300,7 @@ def test_software_example():
s = stix2.v21.Software(
name="Word",
cpe="cpe:2.3:a:microsoft:word:2000:*:*:*:*:*:*:*",
swid="e2489b43-a436-47fd-9ea5-165ff0316114",
version="2002",
vendor="Microsoft",
)

View File

@ -760,6 +760,7 @@ class Software(_Observable):
('id', IDProperty(_type, spec_version='2.1')),
('name', StringProperty(required=True)),
('cpe', StringProperty()),
('swid', StringProperty()),
('languages', ListProperty(StringProperty)),
('vendor', StringProperty()),
('version', StringProperty()),