Skip to content

Commit

Permalink
Update falco-incubating_rules.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Kapil Sharma <[email protected]>
  • Loading branch information
h4l0gen authored Mar 24, 2024
1 parent 1658e5f commit 6ec05dd
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions rules/falco-incubating_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -572,10 +572,10 @@

- macro: allowed_openshift_registry_root
condition: >
(container.image.repository startswith openshift3/ or
container.image.repository startswith registry.redhat.io/openshift3/ or
(container.image.repository startswith "openshift3/"" or
container.image.repository startswith "registry.redhat.io/openshift3/" or
container.image.repository startswith
registry.access.redhat.com/openshift3/)
"registry.access.redhat.com/openshift3/")
# Source:
# https://docs.openshift.com/enterprise/3.2/install_config/install/
Expand Down Expand Up @@ -1386,21 +1386,21 @@

- macro: known_gke_mount_in_privileged_containers
condition:
(k8s.ns.name = kube-system
(k8s.ns.name = "kube-system"
and
container.image.repository = gke.gcr.io/
gcp-compute-persistent-disk-csi-driver)
container.image.repository = "gke.gcr.io/" \
"gcp-compute-persistent-disk-csi-driver")

- macro: known_aks_mount_in_privileged_containers
condition:
(
(k8s.ns.name = kube-system and container.image.repository in
(mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi,
mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi)
(k8s.ns.name = "kube-system" and container.image.repository in
("mcr.microsoft.com/oss/kubernetes-csi/azuredisk-csi",
"mcr.microsoft.com/oss/kubernetes-csi/azurefile-csi")
)
or
(k8s.ns.name = system and container.image.repository =
mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver))
(k8s.ns.name = "system" and container.image.repository =
"mcr.microsoft.com/oss/kubernetes-csi/secrets-store/driver"))

- macro: user_known_mount_in_privileged_containers
condition: (never_true)
Expand Down

0 comments on commit 6ec05dd

Please sign in to comment.