mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-12 05:58:26 +00:00
fix(rules): correct indentation
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
This commit is contained in:
parent
37a6caae12
commit
85db1aa997
@ -1724,10 +1724,10 @@
|
||||
container.image.repository endswith /prometheus-node-exporter or
|
||||
container.image.repository endswith /image-inspector))
|
||||
|
||||
#602401143452.dkr.ecr is official AWS EKS registry. AWS has different ECR repo per region
|
||||
#602401143452.dkr.ecr.eu-west-1.amazonaws.com/eks/kube-proxy
|
||||
#602401143452.dkr.ecr.us-east-1.amazonaws.com/eks/kube-proxy
|
||||
#For this reason we use two macro to match all regions
|
||||
# 602401143452.dkr.ecr is official AWS EKS registry. AWS has different ECR repo per region
|
||||
# 602401143452.dkr.ecr.eu-west-1.amazonaws.com/eks/kube-proxy
|
||||
# 602401143452.dkr.ecr.us-east-1.amazonaws.com/eks/kube-proxy
|
||||
# For this reason we use two macro to match all regions
|
||||
- macro: allowed_aws_eks_registry_root
|
||||
condition: >
|
||||
(container.image.repository startswith "602401143452.dkr.ecr")
|
||||
@ -1737,6 +1737,7 @@
|
||||
(allowed_aws_eks_registry_root and
|
||||
(container.image.repository endswith ".amazonaws.com/amazon-k8s-cni" or
|
||||
container.image.repository endswith ".amazonaws.com/eks/kube-proxy"))
|
||||
|
||||
- macro: aws_eks_image_sensitive_mount
|
||||
condition: >
|
||||
(allowed_aws_eks_registry_root and container.image.repository endswith ".amazonaws.com/amazon-k8s-cni")
|
||||
|
Loading…
Reference in New Issue
Block a user