Skip to content

opsgang/docker_selinux_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

opsgang/selinux-toolse

Docker image to manage SELinux policies.

Problem Statement

Let's assume you have SELinux rules defined as .te files in Git. Now, when you spin up a new Fedora CoreOS VM, you want these policies to be applied.

On Fedora CoreOS the SELinux tools are stripped down, there is no e.g. checkmodule to compile .te files to .pp Policy Packages.

Available Tools

Some of the available handy tools:

  • audit2allow
  • audit2why
  • checkmodule

Usage

  • docker run --rm -it -v $(pwd):/workspace:z -w /workspace opsgang/selinux [command]

Testing

Use it with confidence. Scanned with Acquasec Trivy and Anchore Grype before pushing it to Docker Hub.

Links

About

UB8 image to manage SELinux policies.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published