defenseunicorns / uds-core

A secure runtime platform for mission-critical capabilities
https://uds.defenseunicorns.com
Apache License 2.0
44 stars 18 forks source link

Allow container level exemptions #500

Open blancharda opened 3 months ago

blancharda commented 3 months ago

Is your feature request related to a problem? Please describe.

Sometimes only a specific container within a pod needs escalated privileges. It would be nice if policy exemptions allowed us to specify narrow exemptions for specific containers rather than targeting the entire pod.

Describe the solution you'd like

Add a containers regex field to the matcher spec, to function similarly to (pod) name.