sumanth-pasupuleti commented on a change in pull request #1043:
URL: https://github.com/apache/cassandra/pull/1043#discussion_r646884802
##########
File path: src/java/org/apache/cassandra/cql3/QueryEvents.java
##########
@@ -235,6 +246,15 @@ public void notifyPrepareFailure(@Nullable CQLStatement
statement, String query,
}
}
+ private String possiblyObfuscateQuery(CQLStatement statement, String query)
Review comment:
@smiklosovic we can maybe do this:
replace "if (statement instanceof CreateRoleStatement || statement
instanceof AlterRoleStatement)" with
"if (statement instanceof AuthenticationStatement)" and that would then
cover all DCL statements without having to rely on AuditLog related code to
determine if it is DCL. Let me know what you think, and I can make the change
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]