Outgoing Traffic Policies
Restricting which resources and endpoints can be accessed when using mirrord
Example Policy
apiVersion: policies.mirrord.metalbear.co/v1alpha
kind: MirrordPolicy
metadata:
name: block-mirroring-from-boats-deployment
namespace: default
spec:
block: []
network:
outgoing:
allow:
- ipBlock:
cidr: 10.0.0.0/16
except:
- 10.0.5.0/24
ports:
- protocol: TCP
port: 80
- protocol: TCP
port: 443
- protocol: UDP
port: 53
- hostname: "^metalbear\\.(co|com)$"
ports:
- protocol: TCP
port: 443
block:
- ipBlock:
cidr: 0.0.0.0/0
ports:
- protocol: TCP
port: 22Rule fields
Available fields:
Evaluation Logic
Last updated
Was this helpful?

