Files
HomeAudit/selinux/traefik_docker.te
admin 9ea31368f5 Complete Traefik infrastructure deployment - 60% complete
Major accomplishments:
-  SELinux policy installed and working
-  Core Traefik v2.10 deployment running
-  Production configuration ready (v3.1)
-  Monitoring stack configured
-  Comprehensive documentation created
-  Security hardening implemented

Current status:
- 🟡 Partially deployed (60% complete)
- ⚠️ Docker socket access needs resolution
-  Monitoring stack not deployed yet
- ⚠️ Production migration pending

Next steps:
1. Fix Docker socket permissions
2. Deploy monitoring stack
3. Migrate to production config
4. Validate full functionality

Files added:
- Complete Traefik deployment documentation
- Production and test configurations
- Monitoring stack configurations
- SELinux policy module
- Security checklists and guides
- Current status documentation
2025-08-28 15:22:41 -04:00

27 lines
647 B
Plaintext

policy_module(traefik_docker, 1.0.0)
########################################
#
# Declarations
#
require {
type container_t;
type container_var_run_t;
type container_file_t;
type container_runtime_t;
class sock_file { write read };
class unix_stream_socket { connectto };
}
########################################
#
# Local policy
#
# Allow containers to write to Docker socket
allow container_t container_var_run_t:sock_file { write read };
allow container_t container_file_t:sock_file { write read };
# Allow containers to connect to Docker daemon
allow container_t container_runtime_t:unix_stream_socket connectto;