Skip to content

Latest commit

 

History

History
25 lines (23 loc) · 1.45 KB

rules.md

File metadata and controls

25 lines (23 loc) · 1.45 KB

Rule catalog

Rule Default severity Detects
tf.public_ingress high/critical Terraform line containing 0.0.0.0/0.
tf.prevent_destroy_disabled medium Explicitly disabled Terraform deletion protection.
tf.encryption_disabled medium/high Terraform encrypted = false.
tf.wildcard_iam high Wildcard IAM action or principal on one line.
helm.mutable_image_tag medium/high latest, main, or master image tag.
helm.privileged_container high Privileged mode in Helm values.
helm.single_replica_prod medium One production replica.
k8s.privileged_container high/critical Privileged Kubernetes container.
k8s.privilege_escalation high allowPrivilegeEscalation: true.
k8s.host_network high Host network namespace.
k8s.host_pid high/critical Host PID namespace.
k8s.host_ipc high Host IPC namespace.
k8s.root_container high Explicit runAsNonRoot: false.
k8s.host_path high Host filesystem mount.
ansible.shell_without_changed_when medium Shell task without nearby changed_when.
ansible.ignore_errors high Ignored Ansible task errors.
drift.missing_observed_key medium Desired key absent from observed state.
drift.value_mismatch high Desired and observed values differ.

Severity can depend on target_environment. Production promotes the rules where the table shows two severities.