Skip to content

Comments

Secops Workshop Fixes#16

Open
jamesrenaud wants to merge 1 commit intoInternalDeveloperPlatform:mainfrom
jamesrenaud:main
Open

Secops Workshop Fixes#16
jamesrenaud wants to merge 1 commit intoInternalDeveloperPlatform:mainfrom
jamesrenaud:main

Conversation

@jamesrenaud
Copy link

A few fixes for the secops workshop:

  • Switches to using the falcosidekick over the now deprecated built in gRPC server and gRPC output
  • Aligns file naming in the README.md with the filenames in the workshop
  • Switches the root-detect-rule.yaml file to the Falco rules format to avoid errors with Falco attempting to load the file
  • Resolves an issue with the priority enum in the Root Process in User Namespace rule. HIGH is not a valid Falco enum, switched it to CRITICAL.

fix: file naming alignments
fix: format rules as falco rules file
fix: correct priority enum for root process rule

**What this deployment includes**:
- **eBPF Driver**: Modern, efficient kernel monitoring
- **gRPC Output**: Enable integrations with external systems
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line could then also be removed, and replaced by

  • sidekick: Forward Falco event to different outputs in a fan-out way.

# This will be detected by Falco but allowed by Kubernetes
kubectl run test-curl \
--image=curlimages/curl \
--restart=Never \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did this work for you? I got

Error from server (Forbidden): admission webhook "validation.gatekeeper.sh" denied the request: [enforce-falco-root-prevention] Container test-curl is configured to run as root (UID: -1). Falco security policy violation.

after fixing this cmd worked for me

kubectl run test-curl \
  --image=curlimages/curl \
  --restart=Never \
  --overrides='{"spec":{"securityContext":{"runAsUser":101}}}' \
  --rm -it \
  -- sh

**3. End-to-End Security Testing**:
```bash
# Test runtime detection
kubectl run security-test --image=busybox --rm -it -- sh
Copy link
Contributor

@mavogel mavogel Feb 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as above

kubectl run security-test \
  --overrides='{"spec":{"securityContext":{"runAsUser":65534}}}' \
  --image=busybox --rm -it -- sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants