apiVersion: 1

providers:

{%- if grains['role'] != 'so-eval' %}
- name: 'Manager'
  folder: 'Manager'
  type: file
  disableDeletion: false
  editable: true
  allowUiUpdates: true
  options:
    path: /etc/grafana/grafana_dashboards/manager
- name: 'Manager Search'
  folder: 'Manager Search'
  type: file
  disableDeletion: false
  editable: true
  allowUiUpdates: true
  options:
    path: /etc/grafana/grafana_dashboards/managersearch
- name: 'Sensor Nodes'
  folder: 'Sensor Nodes'
  type: file
  disableDeletion: false
  editable: true
  allowUiUpdates: true
  options:
    path: /etc/grafana/grafana_dashboards/sensor_nodes
- name: 'Search Nodes'
  folder: 'Search Nodes'
  type: file
  disableDeletion: false
  editable: true
  allowUiUpdates: true
  options:
    path: /etc/grafana/grafana_dashboards/search_nodes
- name: 'Standalone'
  folder: 'Standalone'
  type: file
  disableDeletion: false
  editable: true
  allowUiUpdates: true
  options:
    path: /etc/grafana/grafana_dashboards/standalone
{%- else %}
- name: 'Security Onion'
  folder: 'Eval Mode'
  type: file
  disableDeletion: false
  editable: true
  allowUiUpdates: true
  options:
    path: /etc/grafana/grafana_dashboards/eval
{% endif %}
