-
Notifications
You must be signed in to change notification settings - Fork 47
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
CLI commands should not echo responses to the gateway log at INFO level #421
Comments
OK we need to print the output of the CLIs to the log only in debug level. By default we should not make the log so noisy. |
Depending on content, it's probably also something that would get flagged in a security audit. |
Fixes ceph#421 Signed-off-by: Gil Bregman <[email protected]>
Fixes ceph#421 Signed-off-by: Gil Bregman <[email protected]>
@pcuzner here is what I think we need to do:
|
@caroav Sounds good. Its would be good if the log entry generated to record a request has been received also included the from IP - this would help if there are any bad actors at work spamming the endpoint. |
Fixes ceph#421 Signed-off-by: Gil Bregman <[email protected]>
Fixes ceph#421 Signed-off-by: Gil Bregman <[email protected]>
On version 1.0.0, I noticed that the gw log file contains the output of the command, from the grpc.py module
As an example, the here's the connections list references
for the command being received
ceph-nvmeof/control/grpc.py
Line 1540 in ef65dbe
And the output returned
ceph-nvmeof/control/grpc.py
Line 1543 in ef65dbe
Here's an example using subsystem list
The text was updated successfully, but these errors were encountered: