feat(lab9): falco custom rules + conftest hardening policies#11
Open
StefFashka wants to merge 2 commits into
Open
feat(lab9): falco custom rules + conftest hardening policies#11StefFashka wants to merge 2 commits into
StefFashka wants to merge 2 commits into
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
Run Falco with modern eBPF, trigger baseline and custom runtime alerts, add Conftest hardening policies, and document Lab 9 evidence.
Changes
labs/lab9/falco/rules/custom-rules.yamlβ added custom Falco rules for/tmpwrites and possible cryptominer activity.labs/lab9/policies/extra/hardening.regoβ added Kubernetes hardening policies for non-root execution, privilege escalation, dropped capabilities, memory limits, and digest-pinned images.labs/lab9/policies/compose-security.regoβ hardened compose policy checks for missingcap_dropandsecurity_optfields.submissions/lab9.mdβ added the Lab 9 submission report with Falco alerts, Conftest outputs, tuning notes, and bonus reflection.Testing
Artifacts & Screenshots
Submission report: submissions/lab9.md
Falco custom rules: labs/lab9/falco/rules/custom-rules.yaml
K8s Conftest policy: labs/lab9/policies/extra/hardening.rego
Compose Conftest policy: labs/lab9/policies/compose-security.rego
Falco log evidence: pasted into submissions/lab9.md; raw logs are not committed because labs/lab9/falco/logs/ is ignored.
Required checklist: