-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basis for allowing the creation of configuration enforcement in gcs
This commit is the minimal set of functionality needed to allow users to create a configuration policy that gcs can enforce. Policy enforcement will allow users to state "only these containers, with these command lines, etc etc" should be run. If anything in gcs doesn't match the user supplied policy, it will end container run and report an error. Currently, only container filesystem policy is enforced. This is done at two points. When a pmem device is mounted, its dm-verity root hash is checked against policy to see if it is allowed. At the time of overlay creation, the order of layers is compared to policy to make sure that the container is being constructed as the user expected. Additional policy enforcement that is coming in future commits includes: - enforce policy for scsi mounts - enforce container command line - enforce environment variables
- Loading branch information
1 parent
4775815
commit 9509101
Showing
45 changed files
with
4,747 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.