Skip to content

Commit

Permalink
Merge pull request #281 from STIXProject/issue276
Browse files Browse the repository at this point in the history
Fix for issue #276
  • Loading branch information
Bryan Worrell committed Nov 17, 2015
2 parents 98932a3 + 6583366 commit e8db723
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions stix/exploit_target/vulnerability.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,29 @@ def discovered_datetime(self, value):
"""
self._set_var(DateTimeWithPrecision, discovered_datetime=value)

@property
def published_datetime(self):
"""
Returns:
The time this vulnerability was published, represented as
class:`DateTimeWithPrecision`
"""
return self._published_datetime

@published_datetime.setter
def published_datetime(self, value):
"""
Sets the time this vulnerability was published, represented as
class:`DateTimeWithPrecision`
Default Value: ``None``
Returns:
None
"""
self._set_var(DateTimeWithPrecision, published_datetime=value)

@property
def references(self):
return self._references
Expand Down

0 comments on commit e8db723

Please sign in to comment.