Skip to content

Commit c669319

Browse files
committed
feat(core): add support for runtime-administered apparmor profiles
1 parent f98e8a7 commit c669319

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

protect/control/v1/common.proto

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,16 @@ message WorkloadSecuritySpec {
476476
// Path to the localhost seccomp profile, relative to the kubelet seccomp
477477
// root; set only when seccomp_profile_type == SECCOMP_PROFILE_TYPE_LOCALHOST.
478478
string seccomp_localhost_ref = 11;
479+
AppArmorProfileType apparmor_profile_type = 12;
480+
}
481+
482+
// We do not support custom Localhost AppArmor policies.
483+
// Only RuntimeDefault, and Unconfined.
484+
enum AppArmorProfileType {
485+
// No AppArmor confinement (also the default when unset).
486+
APP_ARMOR_PROFILE_TYPE_UNCONFINED = 0;
487+
// The Edera runtime's built-in default profile.
488+
APP_ARMOR_PROFILE_TYPE_RUNTIME_DEFAULT = 1;
479489
}
480490

481491
enum WorkloadState {

0 commit comments

Comments
 (0)