#
# Copyright IBM Corp. 2024, 2025
#
kind: DataMasking
apiVersion: api.webmethods.io/beta
metadata:
  name: request_datamasking
  version: 1.0
  namespace: sample
spec:
  enabled: false
  matchApplications:
    - consumer1
    - consumer2
  transformations:
      set:
          - jpath: '$.a.b'
            maskValue: qwe
          - xpath: '$.a.b'
            namespaces:
            - prefix: ''
              URI: ''
            maskValue: qwe
          - regex: '$.a.b'
            maskValue: qwe
      remove:
          - jpath: {request}
          - xpath: {request}
          - regex: {request}
  applyForTransactionLogging: true
  applyForPayload: true