Created
March 23, 2020 18:20
-
-
Save vicenteherrera/61aeee72837c1991f6f35610414c0933 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- rule: Network Connection outside Local Subnet | |
desc: Detect traffic to image outside local subnet. | |
condition: > | |
enabled_rule_network_only_subnet and | |
inbound_outbound and container and | |
not network_local_subnet and | |
k8s.ns.name in (namespace_scope_network_only_subnet) | |
output: > | |
Network connection outside local subnet | |
(command=%proc.cmdline connection=%fd.name user=%user.name container_id=%container.id image=%container.image.repository namespace=%k8s.ns.name | |
fd.rip.name=%fd.rip.name fd.lip.name=%fd.lip.name fd.cip.name=%fd.cip.name fd.sip.name=%fd.sip.name) | |
priority: WARNING | |
tags: [network, NIST, NIST_3.3.3, PCI, PCI_DSS_6.4.2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment