Merge pull request #81 from emmanvg/issue-77

Make AS 'number' required, add missing props to SocketExt.
stix2.0
Chris Lenk 2017-10-11 17:30:42 -04:00 committed by GitHub
commit 09ef9353fc
1 changed files with 3 additions and 1 deletions

View File

@ -98,7 +98,7 @@ class AutonomousSystem(_Observable):
_properties = OrderedDict()
_properties.update([
('type', TypeProperty(_type)),
('number', IntegerProperty()),
('number', IntegerProperty(required=True)),
('name', StringProperty()),
('rir', StringProperty()),
('extensions', ExtensionsProperty(enclosing_type=_type)),
@ -459,6 +459,8 @@ class SocketExt(_Extension):
"SOCK_RDM",
"SOCK_SEQPACKET",
])),
('socket_descriptor', IntegerProperty()),
('socket_handle', IntegerProperty()),
])