@apistudio/apim-cli
Version:
CLI for API Management Products
31 lines • 661 B
YAML
#
# 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