-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dont incident_enrichment if is already enriched
- Loading branch information
Showing
2 changed files
with
17 additions
and
13 deletions.
There are no files selected for viewing
10 changes: 6 additions & 4 deletions
10
resources/templates/default/intrusion_incident_enrichment.conf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
filter { | ||
incident_enrichment { | ||
incident_fields => ["src","src_port", "dst", "dst_port"] | ||
source => "redBorder Intrusion" | ||
incidents_priority_filter => "<%= @intrusion_incidents_priority_filter %>" | ||
if ![incident_uuid] { | ||
incident_enrichment { | ||
incident_fields => ["src","src_port", "dst", "dst_port"] | ||
source => "redBorder Intrusion" | ||
incidents_priority_filter => "<%= @intrusion_incidents_priority_filter %>" | ||
} | ||
} | ||
} |
20 changes: 11 additions & 9 deletions
20
resources/templates/default/vault_incident_enrichment.conf.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
filter { | ||
incident_enrichment { | ||
incident_fields => ["fromhost_ip"] | ||
source => "redBorder Vault" | ||
incidents_priority_filter => "<%= @vault_incidents_priority_filter %>" | ||
field_scores => { | ||
"fromhost_ip" => 100 | ||
} | ||
field_map => { | ||
"fromhost_ip" => "ip" | ||
if ![incident_uuid] { | ||
incident_enrichment { | ||
incident_fields => ["fromhost_ip"] | ||
source => "redBorder Vault" | ||
incidents_priority_filter => "<%= @vault_incidents_priority_filter %>" | ||
field_scores => { | ||
"fromhost_ip" => 100 | ||
} | ||
field_map => { | ||
"fromhost_ip" => "ip" | ||
} | ||
} | ||
} | ||
} |