Mask Value in Logs based on the OpenAPI specification
Hello,
is there any option to define value under "Mask Value in Logs" for JSON profile based on the OpenAPI specification?
Policy is build from the swagger file. JSON profile is created based on the schema defined in swagger (OpenAPI) file. What I cannot modify is part "Value Masking" under JSON profile in security policy. I tried to use "format": "password" in swagger file for password. But "Value Masking" was not modified. Or better value password was not added there.
Below is screen when it was added manually via GUI.
OpenAPI specification:
"Request": {
"required": [
"password",
"username"
],
"type": "object",
"properties": {
"username": {
"type": "string"
},
"password": {
"type": "string",
"format": "password"
}
},
"additionalProperties": false
},
Is there any way how I can add it via swagger?
Another option would be add it manually in security template (in JSON format) like for some other non default options what have defined but when it's added manually there are no changes in the policy configuration. JSON of the exported policy is same for policy where "Value Masking" is defined with policy where "Value Masking" is empty.