mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-27 06:57:50 +02:00
Add Logic for what dashboards to put down
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
apiVersion: 1
|
apiVersion: 1
|
||||||
|
|
||||||
providers:
|
providers:
|
||||||
|
|
||||||
|
{%- if grains['role'] != 'so-eval' %}
|
||||||
- name: 'Security Onion'
|
- name: 'Security Onion'
|
||||||
orgId: 1
|
orgId: 1
|
||||||
folder: 'Forward Nodes'
|
folder: 'Forward Nodes'
|
||||||
@@ -11,9 +13,27 @@ providers:
|
|||||||
path: /etc/grafana/grafana_dashboards/forward_nodes
|
path: /etc/grafana/grafana_dashboards/forward_nodes
|
||||||
- name: 'Security Onion'
|
- name: 'Security Onion'
|
||||||
orgId: 1
|
orgId: 1
|
||||||
folder: 'Eval Mode'
|
folder: 'Storage Nodes'
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: true
|
||||||
|
options:
|
||||||
|
path: /etc/grafana/grafana_dashboards/storage_nodes
|
||||||
|
- name: 'Security Onion'
|
||||||
|
orgId: 1
|
||||||
|
folder: 'Master'
|
||||||
type: file
|
type: file
|
||||||
disableDeletion: false
|
disableDeletion: false
|
||||||
editable: true
|
editable: true
|
||||||
options:
|
options:
|
||||||
path: /etc/grafana/grafana_dashboards/forward_nodes
|
path: /etc/grafana/grafana_dashboards/forward_nodes
|
||||||
|
{%- else %}
|
||||||
|
- name: 'Security Onion'
|
||||||
|
orgId: 1
|
||||||
|
folder: 'Eval Mode'
|
||||||
|
type: file
|
||||||
|
disableDeletion: false
|
||||||
|
editable: true
|
||||||
|
options:
|
||||||
|
path: /etc/grafana/grafana_dashboards/eval
|
||||||
|
{% endif %}
|
||||||
|
|||||||
+2862
-1841
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user