-
Notifications
You must be signed in to change notification settings - Fork 4
/
prometheusd.fc
21 lines (18 loc) · 1.47 KB
/
prometheusd.fc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# prometheus
/etc/systemd/system/prometheus.* -- gen_context(system_u:object_r:prometheusd_unit_t,s0)
/usr/lib/systemd/system/prometheus.* -- gen_context(system_u:object_r:prometheusd_unit_t,s0)
/etc/prometheus(/.*)? gen_context(system_u:object_r:prometheusd_conf_t,s0)
/opt/prometheus/data(/.*)? gen_context(system_u:object_r:prometheusd_db_t,s0)
/usr/local/bin/prometheus -- gen_context(system_u:object_r:prometheusd_exec_t,s0)
/usr/local/bin/promtool -- gen_context(system_u:object_r:prometheusd_exec_t,s0)
# alertmanager
/etc/systemd/system/alertmanager.* -- gen_context(system_u:object_r:alertmanager_prometheusd_unit_t,s0)
/usr/lib/systemd/system/alertmanager.* -- gen_context(system_u:object_r:alertmanager_prometheusd_unit_t,s0)
/etc/alertmanager(/.*)? gen_context(system_u:object_r:alertmanager_prometheusd_conf_t,s0)
/opt/alertmanager/data(/.*)? gen_context(system_u:object_r:alertmanager_prometheusd_data_t,s0)
/usr/local/bin/alertmanager -- gen_context(system_u:object_r:alertmanager_prometheusd_exec_t,s0)
/usr/local/bin/amtool -- gen_context(system_u:object_r:alertmanager_prometheusd_exec_t,s0)
# node_exporter
/etc/systemd/system/node-exporter.* -- gen_context(system_u:object_r:node_prometheusd_exporter_unit_t,s0)
/usr/lib/systemd/system/node-exporter.* -- gen_context(system_u:object_r:node_prometheusd_exporter_unit_t,s0)
/usr/local/bin/node_exporter -- gen_context(system_u:object_r:node_prometheusd_exporter_exec_t,s0)