homelab-gitops/platform/tetragon/policies/10-audit-baseline/audit-network-connections.yaml
gwg313 e507515766
Some checks are pending
Pipelines as Code CI / homelab-ci CI has Started
add pac
Signed-off-by: gwg313 <gwg313@pm.me>
2026-06-29 21:03:51 -04:00

21 lines
449 B
YAML

apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: audit-network-connections
annotations:
security-tier: audit-baseline
description: "Logs outound TCP connections at the kernel level."
spec:
kprobes:
- call: "tcp_connect"
syscall: false
args:
- index: 0
type: "sock"
selectors:
- matchArgs:
- index: 0
operator: "NotDAddr"
values:
- "127.0.0.1"
- "::1"