msticpy.context.tiproviders.result_severity module

Result Severity enumeration.

class msticpy.context.tiproviders.result_severity.LookupResult(status: bool, severity: ResultSeverity, details: Dict[str, Any])

Bases: NamedTuple

Return value from TI Provider parse_results.

Create new instance of LookupResult(status, severity, details)

count(value, /)

Return number of occurrences of value.

details: Dict[str, Any]

Alias for field number 2

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

severity: ResultSeverity

Alias for field number 1

status: bool

Alias for field number 0

class msticpy.context.tiproviders.result_severity.ResultSeverity(value)

Bases: Enum

Item report severity.

high = 2
information = 0
classmethod parse(value) ResultSeverity

Parse string or numeric value to ResultSeverity.


value (Any) – ResultSeverity, str or int


ResultSeverity instance.

Return type:


unknown = -1
warning = 1