k8s 中文文档 k8s 中文文档
指南
kubernetes.io (opens new window)
指南
kubernetes.io (opens new window)
  • k8s 是什么
  • 互动教程

  • Minikube 介绍

  • 概念

  • Kubectl CLI

  • Kubectl 命令表

  • 安装设置

  • API 使用

  • 集群管理

  • TASKS

Kubernetes Security Profiles Operator


build test

This project is the starting point for the Security Profiles Operator(SPO), an out-of-tree Kubernetes enhancement which aims to make it easier for users to use SELinux, seccomp and AppArmor in Kubernetes clusters.

Testgrid Dashboard
Installation and Usage
Container Images
Release Process

About


The motivation behind the project can be found in the corresponding RFC.

Related Kubernetes Enhancement Proposals (KEPs) which have direct influence on this project:

Promote seccomp to GA
Add ConfigMap support for seccomp custom profiles
Add KEP to create seccomp built-in profiles and add complain mode

Next to those KEPs, here are existing approaches for security profiles in the Kubernetes world:

AppArmor Loader
OpenShift's Machine config operator, in charge of file management and security profiles on hosts
seccomp-config

Features


The SPO's features are implemented for each one of the underlying supported technologies, namely: Seccomp, SELinux and AppArmor. Here's the feature parity status across them:

Seccomp SELinux AppArmor
:--- :--- :---
Profile CRD Yes Yes
ProfileBinding Yes No
Deploy profiles into nodes Yes Yes
Remove profiles no longer in use Yes Yes
Profile Auto-generation (logs) Yes WIP
Profile Auto-generation (ebpf) Yes No
Audit log enrichment Yes WIP

For information about the security model and what permissions each features requires, refer to SPO's security model.

Personas & User Stories


As any other piece of software, this operator is meant to help people. Thus, the target personas have been reflected in a document in this repo.

The functionality that this operator is meant to enable is captured as user stories. If you feel that a user story is not captured properly, feel free to submit a Pull Request. The team will be more than happy to review and help you reflect the requirement.

Roadmap


The project tries to not overlap with those existing implementations to provide valuable additions in a more secure Kubernetes context. We created a mind map to get a better feeling about all features we want to implement to better support some security areas within Kubernetes:

mind-map

Going forwards, the operator will extend its purpose to assist Kubernetes users to create, distribute and apply security profiles for seccomp, AppArmor, SeLinux, PodSecurityPolicies and RBAC permissions.

Community, discussion, contribution, and support


If you're interested in contributing to SPO, please see the developer focuseddocument

We schedule a monthly meeting every last Thursday of a month.

Meeting Notes

Learn how to engage with the Kubernetes community on the communitypage.

You can reach the maintainers of this project at:

Slack #security-profiles-operator
Mailing List

Code of conduct


Participation in the Kubernetes community is governed by the Kubernetes Code ofConduct.
Last Updated: 2023-09-03 19:17:54