Skip to content

Commit

Permalink
testing for netbox enrichment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Nov 30, 2022
1 parent 4e8e695 commit 762dc93
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions logstash/pipelines/enrichment/11_lookups.conf
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,19 @@ filter {
}
}

# TODO: testing only, work in progress
if ([event][provider]) {
ruby {
id => "experimental_cache"
path => "/usr/share/logstash/malcolm-ruby/netbox_enrich.rb"
script_params => {
"source" => "[event][provider]"
"target" => "[event][enriched]"
"netbox_token_env" => "SUPERUSER_API_TOKEN"
}
}
}

# tag ICS services from if not already tagged
if ("ics" not in [tags]) and
(("bacnet" in [network][protocol]) or
Expand Down

0 comments on commit 762dc93

Please sign in to comment.