-
Notifications
You must be signed in to change notification settings - Fork 383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cb 5584 provide more information in the debug log for auditing #3061
base: devel
Are you sure you want to change the base?
Cb 5584 provide more information in the debug log for auditing #3061
Conversation
…in global preferences for showing additional logs
…in global preferences for showing additional logs
server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/server/graphql/GraphQLLoggerUtil.java
Outdated
Show resolved
Hide resolved
server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/server/graphql/GraphQLLoggerUtil.java
Outdated
Show resolved
Hide resolved
public enum GraphQLProhibitedVariables { | ||
|
||
|
||
PASSWORD("password"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It don't think that global enum will work. We need some explicit annotations for parameters which we do not want to log (for example as comments).
However we need to move log invocation into WebExecutionStrategy to get information about GQL endpoint.
If this is too complicated then we can keep it as is for now. In this case add "credentials" and "username" too.
However I don't understand why we need enum but simple Set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's leave Set for now, added additional parameters, let's start a task on improve with annotations, need more time for realization
…ug-log-for-auditing
…ug-log-for-auditing
No description provided.