mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
handle multile nodetpes and uid
This commit is contained in:
@@ -54,6 +54,8 @@
|
||||
},
|
||||
"timezone": "browser",
|
||||
"title": "Detailed {{ NODETYPE }}",
|
||||
{% if grains.role in 'so-standalone' %}
|
||||
"uid": "{{ UID }}",
|
||||
{% endif %}
|
||||
"version": 1
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ grafana-config-files:
|
||||
- makedirs: True
|
||||
|
||||
{% for nodeType in nodeTypes %}
|
||||
common-standalone-dashboard:
|
||||
detailed-{{nodeType}}-dashboard:
|
||||
file.managed:
|
||||
- name: /opt/so/conf/grafana/grafana_dashboards/detailed/{{nodeType}}.json
|
||||
- user: 939
|
||||
|
||||
Reference in New Issue
Block a user