Skip to content

Introduce versions of rules for K8s audit log format #5259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kelnage
Copy link
Contributor

@kelnage kelnage commented Apr 9, 2025

Summary of the Pull Request

We already have a number of rules that detect Kubernetes (K8s) intrusions in SigmaHQ/sigma, but they are all written for the various formats provided by the cloud providers (e.g., this rule for Azure, and the same rule, but for GCP). This PR creates versions of those rules that can be run over the format produced by the K8s audit log itself.

See this documentation for more details about the K8s audit log.

Changelog

new: Kubernetes Admission Controller Modification
new: Kubernetes CronJob/Job Modification
new: Kubernetes Rolebinding Modification
new: Kubernetes Secrets Modified or Deleted
new: Kubernetes Unauthorized or Unauthenticated Access

Example Log Event

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

We already have a number of rules that detect Kubernetes intrusions in
sigmaHQ, but they are all written for the various formats provided by
the cloud providers. This PR includes versions of the rules that can be
run over the format produced by the Kubernetes audit log itself.
@github-actions github-actions bot added the Rules label Apr 9, 2025
@kelnage kelnage marked this pull request as ready for review April 9, 2025 15:07
@kelnage kelnage changed the title Introduce versions of K8s rules for K8s audit log format Introduce versions of rules for K8s audit log format Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant