Models
psengine.risk_rules.models
¶
RiskRuleCategory
¶
Bases: RFBaseModel
A framework category attached to a risk rule (e.g. MITRE tactic or technique).
model_config
class-attribute
instance-attribute
¶
json
¶
json(
by_alias: bool = True,
exclude_none: bool = True,
auto_exclude_unset: bool = True,
**kwargs,
)
JSON representation of models. It is inherited by every model.
| PARAMETER | DESCRIPTION |
|---|---|
by_alias
|
Alias flag:
TYPE:
|
exclude_none
|
Whether to exclude fields equal to None.
TYPE:
|
auto_exclude_unset
|
Whether to auto exclude values not set.
TYPE:
|
Source code in psengine/common_models.py
RiskRuleEntityType
¶
Bases: str, Enum
Enum of IOC entity types supported by the /v2/{entity_type}/riskrules endpoint.