Skip to content

Commit

Permalink
Merge pull request #106 from DFE-Digital/1832-security-aks-container-…
Browse files Browse the repository at this point in the history
…hardening-privilege-escalation

[1832] Disallow privilege escalation
  • Loading branch information
saliceti authored Jun 28, 2024
2 parents 070041d + ad403da commit 83e8d1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aks/application/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@ resource "kubernetes_deployment" "main" {
}

security_context {
allow_privilege_escalation = false

seccomp_profile {
type = "RuntimeDefault"
}
Expand Down

0 comments on commit 83e8d1a

Please sign in to comment.