add pac
Some checks are pending
Pipelines as Code CI / homelab-ci CI has Started

Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
gwg313 2026-06-28 17:56:19 -04:00
parent ef827b2c69
commit e507515766
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
43 changed files with 895 additions and 128 deletions

View file

@ -0,0 +1,21 @@
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"

View file

@ -0,0 +1,23 @@
apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: audit-process-execution
annotations:
security-tier: audit-baseline
description: "Logs all process executions (sys_execve) for cluster-wide visibility."
spec:
kprobes:
- call: "sys_execve"
syscall: true
args:
- index: 0
type: "string"
- index: 1
type: "string_array"
selectors:
- matchPIDs:
- operator: NotIn
followForks: true
isNamespacePID: true
values:
- 1

View file

@ -0,0 +1,9 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- audit-process-execution.yaml
- audit-network-connections.yaml
commonAnnotations:
argocd.argoproj.io/sync-wave: "1"