Skip to content
Snippets Groups Projects
Commit dad59626 authored by Arne Øslebø's avatar Arne Øslebø
Browse files

fixed various issues with NiFi configuration

parent 993c2b9b
No related branches found
No related tags found
No related merge requests found
...@@ -36,6 +36,8 @@ ...@@ -36,6 +36,8 @@
path: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/flow.xml" path: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/flow.xml"
dest: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/flow.xml.gz" dest: "{{ ansible_facts.env['NIFI_HOME'] }}/conf/flow.xml.gz"
format: gz format: gz
tags:
- start
- name: Get openid authkey - name: Get openid authkey
set_fact: set_fact:
...@@ -81,18 +83,38 @@ ...@@ -81,18 +83,38 @@
- name: Copy empty GeoLite2-City database - name: Copy empty GeoLite2-City database
copy: copy:
src: GeoLite2-City.mmdb src: GeoLite2-City.mmdb
dest: conf/enrich/ dest: conf/enrich/GeoLite2-City.mmdb
tags: tags:
- start - start
- name: Create empty enrichment files - name: Download list of Tor exist nodes
copy: get_url:
content: "" url: https://check.torproject.org/torbulkexitlist
dest: conf/enrich/{{ item }} dest: conf/enrich/tornodes.csv
with_items: tags:
- "tornodes.csv" - start
- "umbrella-top-1m.csv"
- "alexa-top-1m.csv" - name: Add header to tornodes.csv
lineinfile:
path: conf/enrich/tornodes.csv
line: 'ip_addr'
insertbefore: BOF
tags:
- start
- name: Download umbrella-top-1m.csv
get_url:
url: http://s3-us-west-1.amazonaws.com/umbrella-static/top-1m.csv.zip
dest: conf/enrich/umbrella-top-1m.csv
tags:
- start
- name: Download alexa-top-1m.csv
get_url:
url: http://s3.amazonaws.com/alexa-static/top-1m.csv.zip
dest: conf/enrich/alexa-top-1m.csv
tags:
- start
- name: Start NiFi - name: Start NiFi
command: "./bin/nifi.sh start" command: "./bin/nifi.sh start"
......
...@@ -14808,7 +14808,7 @@ ...@@ -14808,7 +14808,7 @@
<variable name="misp_token" value="{{ misp_token }}"/> <variable name="misp_token" value="{{ misp_token }}"/>
<variable name="misp_url" value="{{ misp_url }}"/> <variable name="misp_url" value="{{ misp_url }}"/>
<variable name="maxmind_key" value="{{ maxmind_key }}"/> <variable name="maxmind_key" value="{{ maxmind_key }}"/>
<variable name="elastic_url" value="https://{{ dslproxy }};9200"/> <variable name="elastic_url" value="https://{{ dslproxy }}:9200"/>
<variable name="elastic_username" value="{{ elastic_username }}"/> <variable name="elastic_username" value="{{ elastic_username }}"/>
<variable name="elastic_password" value="{{ odfees_adminpass }}"/> <variable name="elastic_password" value="{{ odfees_adminpass }}"/>
<variable name="misp_ip_first_interval" value="60d"/> <variable name="misp_ip_first_interval" value="60d"/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment