Skip to content

Commit

Permalink
add ti_opencti integration support
Browse files Browse the repository at this point in the history
  • Loading branch information
reyesj2 committed Dec 18, 2024
1 parent 8183dcf commit 157185c
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 0 deletions.
1 change: 1 addition & 0 deletions salt/elasticfleet/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ elasticfleet:
- ti_anomali
- ti_cybersixgill
- ti_misp
- ti_opencti
- ti_otx
- ti_rapid7_threat_command
- ti_recordedfuture
Expand Down
46 changes: 46 additions & 0 deletions salt/elasticsearch/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10353,6 +10353,52 @@ elasticsearch:
set_priority:
priority: 50
min_age: 30d
so-logs-ti_opencti_x_indicator:
index_sorting: False
index_template:
composed_of:
- "logs-ti_opencti.indicator@package"
- "logs-ti_opencti.indicator@custom"
- "so-fleet_globals-1"
- "so-fleet_agent_id_verification-1"
data_stream:
hidden: false
allow_custom_routing: false
ignore_missing_component_templates:
- "logs-ti_opencti.indicator@custom"
index_patterns:
- "logs-ti_opencti.indicator-*"
priority: 501
template:
settings:
index:
lifecycle:
name: so-logs-ti_opencti.indicator-logs
number_of_replicas: 0
policy:
phases:
cold:
actions:
set_priority:
priority: 0
min_age: 60d
delete:
actions:
delete: {}
min_age: 365d
hot:
actions:
rollover:
max_age: 30d
max_primary_shard_size: 50gb
set_priority:
priority: 100
min_age: 0ms
warm:
actions:
set_priority:
priority: 50
min_age: 30d
so-logs-ti_otx_x_pulses_subscribed:
index_sorting: false
index_template:
Expand Down
1 change: 1 addition & 0 deletions salt/elasticsearch/soc_elasticsearch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ elasticsearch:
so-logs-ti_cybersixgill_x_threat: *indexSettings
so-logs-ti_misp_x_threat: *indexSettings
so-logs-ti_misp_x_threat_attributes: *indexSettings
so-logs-ti_opencti_x_indicator: *indexSettings
so-logs-ti_otx_x_pulses_subscribed: *indexSettings
so-logs-ti_otx_x_threat: *indexSettings
so-logs-ti_recordedfuture_x_latest_ioc-template: *indexSettings
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"template": {
"mappings": {
"properties": {
"host": {
"properties":{
"ip": {
"type": "ip"
}
}
},
"related": {
"properties":{
"ip": {
"type": "ip"
}
}
},
"destination": {
"properties":{
"ip": {
"type": "ip"
}
}
},
"source": {
"properties":{
"ip": {
"type": "ip"
}
}
}
}
}
}
}

0 comments on commit 157185c

Please sign in to comment.