mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #155 from m0duspwnens/master
adding api key for Helix
This commit is contained in:
@@ -1,10 +1,5 @@
|
|||||||
{%- if salt['grains.get']('role') == 'so-master' %}
|
{% set helix_api_key = salt['pillar.get']('fireeye:helix:api_key', '') %}
|
||||||
{% set master = salt['pillar.get']('static:masterip', '') %}
|
|
||||||
{%- set nodetype = 'master' %}
|
|
||||||
{%- else %}
|
|
||||||
{%- set nodetype = salt['pillar.get']('node:node_type', 'storage') %}
|
|
||||||
{% set master = salt['pillar.get']('static:masterip', '') %}
|
|
||||||
{%- endif %}
|
|
||||||
filter {
|
filter {
|
||||||
if "fe_clone" in [type] {
|
if "fe_clone" in [type] {
|
||||||
grok {
|
grok {
|
||||||
@@ -105,7 +100,7 @@ output {
|
|||||||
url => "https://helix-integrations.cloud.aws.apps.fireeye.com/api/upload?source=test&format=json"
|
url => "https://helix-integrations.cloud.aws.apps.fireeye.com/api/upload?source=test&format=json"
|
||||||
http_method => post
|
http_method => post
|
||||||
http_compression => true
|
http_compression => true
|
||||||
headers => ["Authorization", "{{ HELIXAPIKEY }}"]
|
headers => ["Authorization", "{{ helix_api_key }}"]
|
||||||
format => json_batch
|
format => json_batch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user