Getting started Community Training Tutorials Documentation APIs, AI & Tools
apiVersion: gateway.mulesoft.com/v1beta1
kind: PolicyBinding
metadata:
name: outbound-message-logging
spec:
targetRef:
kind: Service
name: upstream
policyRef:
name: message-logging-outbound-flex
config:
loggingConfiguration: <array>
- itemName: <string> // REQUIRED
itemData: //REQUIRED
message: <dataweave> // REQUIRED
conditional: <dataweave> // OPTIONAL
category: <string> // OPTIONAL
level: <string> // REQUIRED
firstSection: <bool> // OPTIONAL
secondSection: <bool> // OPTIONAL
enableDataMasking: <bool> // OPTIONAL
dataMasking: // OPTIONAL
entities:
- <string> // Supported values: Email, US SSN, Credit Card, Phone Number
customPatterns:
- name: <string>
pattern: <string>



