georou / grafana-selinux Goto Github PK
View Code? Open in Web Editor NEWGrafana SELinux policy module for CentOS 7 & RHEL 7
License: GNU General Public License v2.0
Grafana SELinux policy module for CentOS 7 & RHEL 7
License: GNU General Public License v2.0
Hi,
I found some issues with the policy when playing around with Grafana and SELINUX,
but was able to solve/circumvent the issues.
My configuration uses Grafana with icinga2/icingaweb and with influxdb as backend;
Grafana sesssion/dashboards/settings are stored in mysql.
My modifications to your policy 1.0.0.0:
gen_require(`
type httpd_t;
type mysqld_port_t;
type devlog_t;
type fonts_t;
type fs_t;
type ld_so_cache_t;
type locale_t;
type usr_t;
type unreserved_port_t;
class file entrypoint;
')
..
allow grafanad_t kernel_t:system module_request;
allow grafanad_t mysqld_port_t:tcp_socket name_connect;
allow grafanad_t self:netlink_route_socket { bind create getattr nlmsg_read };
allow grafanad_t devlog_t:sock_file write;
allow grafanad_t usr_t:file execute;
allow grafanad_t fonts_t:file execute;
allow grafanad_t grafanad_port_t:tcp_socket name_connect;
allow grafanad_t fs_t:filesystem getattr;
allow grafanad_t ld_so_cache_t:file execute;
allow grafanad_t locale_t:file execute;
allow grafanad_t self:process { execmem setrlimit };
allow grafanad_t unreserved_port_t:tcp_socket name_connect;
If you need further info about my setting -please contact me.
regards
MG
Hi!
I am working on developing a selinux policy for grafana and this seemed like a good spot to start. Is there interest in collaborating on this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.