Version: 1.1.1.5
stix.incident Module¶
Classes¶
- class stix.incident.Incident(id_=None, idref=None, timestamp=None, title=None, description=None, short_description=None)¶
Bases: stix.base.BaseCoreComponent
Adds an Related Indicator to the related_indicators list property of this Incident.
The indicator parameter must be an instance of RelatedIndicator or Indicator.
If the indicator parameter is None, no item wil be added to the related_indicators list property.
Calling this method is the same as calling append() on the related_indicators property.
See also
The RelatedIndicators documentation.
Note
If the indicator parameter is not an instance of RelatedIndicator an attempt will be made to convert it to one.
Parameters: indicator – An instance of Indicator or RelatedIndicator. Raises: ValueError – If the indicator parameter cannot be converted into an instance of RelatedIndicator
Adds a Related Observable to the related_observables list property of this Incident.
The observable parameter must be an instance of RelatedObservable or Observable.
If the observable parameter is None, no item will be added to the related_observables list property.
Calling this method is the same as calling append() on the related_observables property.
See also
The RelatedObservables documentation.
Note
If the observable parameter is not an instance of RelatedObservable an attempt will be made to convert it to one.
Parameters: observable – An instance of Observable or RelatedObservable. Raises: ValueError – If the value parameter cannot be converted into an instance of RelatedObservable
- class stix.incident.AttributedThreatActors(scope=None, *args)¶
- class stix.incident.LeveragedTTPs(scope=None, *args)¶
- class stix.incident.RelatedIndicators(scope=None, *args)¶
- class stix.incident.RelatedObservables(scope=None, *args)¶
- class stix.incident.RelatedIncidents(scope=None, *args)¶