Constants
psengine.collective_insights.constants
¶
DETECTION_SUB_FORMAT_MAPPING
module-attribute
¶
DETECTION_SUB_FORMAT_MAPPING = {
'ioc_type': ['ioc', 'type'],
'ioc_value': ['ioc', 'value'],
'ioc_field': ['ioc', 'field'],
'ioc_source_type': ['ioc', 'source_type'],
'incident_id': ['incident', 'id'],
'incident_name': ['incident', 'name'],
'incident_type': ['incident', 'type'],
'detection_id': ['detection', 'id'],
'detection_name': ['detection', 'name'],
'detection_type': ['detection', 'type'],
}
VALID_DETECTION_RULE_SUB_TYPES
module-attribute
¶
VALID_DETECTION_TYPES
module-attribute
¶
VALID_DETECTION_TYPES = [
DETECTION_TYPE_CORRELATION,
DETECTION_TYPE_PLAYBOOK,
DETECTION_TYPE_RULE,
]
VALID_ENTITY_TYPES
module-attribute
¶
VALID_ENTITY_TYPES = [
ENTITY_IP,
ENTITY_DOMAIN,
ENTITY_HASH,
ENTITY_URL,
ENTITY_VULNERABILITY,
]