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
As per the semconv we need to sanitize sensitive information of process.command_args and process.command_line. So one strategy could be that we could give user the control of doing that by giving the user to provide a list of args that the user wants to be scrubbed or hidden.
For example the command_args are : ["--PASS=some_value", "--ARG2=some_val", "--SECRET_KEY=secret"]
Then the user can provide a list what needs to be scrubbed: {"PASS", "SECRET_KEY"}
Then the user would get a list of : ["--PASS=*", "--ARG2=some_val", "--SECRET_KEY="]