Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove permissive types from SELinux policy #945

Merged
merged 2 commits into from
Jun 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions SECURITY_FEATURES.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,5 @@ The policy in Bottlerocket has the following objectives:
2) Block most components from modifying the container archives saved on disk.
3) Stop containers from directly modifying the layers for other running containers.

The policy is currently **incomplete**.
Notably, all domains are marked as "permissive", which means that actions denied by the policy will be logged but not blocked.
This is a temporary measure to allow us to evaluate compatibility with common use cases.
Additional work is tracked in #764.
The policy is currently aimed at hardening the OS against persistent threats.
Future enhancements to the policy will focus on mitigating the impact of OS vulnerabilities, and protecting containers from other containers.
10 changes: 0 additions & 10 deletions packages/selinux-policy/rules.cil
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,3 @@

; Untrusted processes cannot use systems-level management functions.
(neverallow untrusted_s global (systems (manage)))

; TODO: remove once we're confident that we aren't generating AVC
; denials for the majority of workloads.
(typepermissive kernel_t)
(typepermissive init_t)
(typepermissive system_t)
(typepermissive api_t)
(typepermissive runtime_t)
(typepermissive container_t)
(typepermissive super_t)