Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vicenteherrera/bd159d2c2741a543aa30c99d9d444a2f to your computer and use it in GitHub Desktop.
Save vicenteherrera/bd159d2c2741a543aa30c99d9d444a2f to your computer and use it in GitHub Desktop.
- rule: Ingress Object without TLS Certificate Created
desc: Detect any attempt to create an ingress without TLS certification.
condition: >
(kactivity and kcreate and ingress and response_successful and not ingress_tls)
output: >
K8s Ingress Without TLS Cert Created (user=%ka.user.name ingress=%ka.target.name
namespace=%ka.target.namespace)
source: k8s_audit
priority: WARNING
tags: [k8s, network, PCI, PCI_DSS_4.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment