Skip to content

Commit

Permalink
Add namespace to template
Browse files Browse the repository at this point in the history
  • Loading branch information
jsotofernandez committed Oct 16, 2024
1 parent 6e76ede commit 833d9ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/templates/default/intrusion_tagging.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
if "_cidr_match_<%= sensor_name %>" in [tags] {
mutate {
add_field => {
"namespace" => "<%= sensor_data['fields']['namespace'] %>"
"namespace_uuid" => "<%= sensor_data['fields']['namespace_uuid'] %>"
"organization" => "<%= sensor_data['fields']['organization'] %>"
"organization_uuid" => "<%= sensor_data['fields']['organization_uuid']%>"
"service_provider" => "<%= sensor_data['fields']['service_provider'] %>"
Expand Down

0 comments on commit 833d9ee

Please sign in to comment.