You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your suggestion related to a missing or misleading document? Please describe.
A new conditional authentication utility function is introduced with [1] which can be used to mask content in adaptive authentication script logs by developers. Since this is a newly introduced method, this issue is created to add the said method and its usage into WSO2 IS docs [2].
Describe the improvement
A new utility function (getMaskedValue) is introduced to mask sensitive content in adaptive authentication scripts.
A summary of the implemented method is as follows.
Method Name: getMaskedValue
Input Parameters: String value [Value to be masked] (ex: [email protected])
EX: For debugging purposes, if there is a need to add some logs including sensitive content (ex: PII) then it can be masked using the above method as follows.
varonLoginRequest=function(context){executeStep(1,{onSuccess: function(context){varemail=context.currentKnownSubject.username;Log.info("Email of the logged user : "+getMaskedValue(email));}},});};
Is your suggestion related to a missing or misleading document? Please describe.
Describe the improvement
getMaskedValue
String value
[Value to be masked] (ex: [email protected])String
[Masked value] (ex: j***************m)[1] - wso2-extensions/identity-conditional-auth-functions#167
[2] - https://is.docs.wso2.com/en/latest/guides/authentication/conditional-auth/
The text was updated successfully, but these errors were encountered: