Skip to content

Commit

Permalink
Revert "fix(NODE-1498): allow read access to more hardware info for n…
Browse files Browse the repository at this point in the history
…ode_exporter (#2121)"

This reverts commit 2ce147d.
  • Loading branch information
sasa-tomic committed Oct 24, 2024
1 parent 6027218 commit f471ef2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions ic-os/components/selinux/node_exporter/node_exporter.te
Original file line number Diff line number Diff line change
Expand Up @@ -115,12 +115,3 @@ require {
type user_runtime_root_t;
}
allow node_exporter_t user_runtime_root_t:dir { search };

# Allow reading udev state data from /run/udev/data
udev_read_runtime_files(node_exporter_t)

# Allow reading /proc/pressure
kernel_read_psi(node_exporter_t)

# Allow reading under mount points with mnt_t
files_list_mnt(node_exporter_t)

0 comments on commit f471ef2

Please sign in to comment.