minio / console

Simple UI for MinIO Object Storage :abacus:
https://min.io/docs/minio/linux/index.html
GNU Affero General Public License v3.0
853 stars 282 forks source link

Audit log setups are not clearly visible from the Console #3434

Closed allanrogerr closed 1 month ago

allanrogerr commented 2 months ago

Expected Behavior

Audit log setups should be visible from the Console from quick validation

Current Behavior

Audit log setups are not visible from the Console

Possible Solution

Not sure

Steps to Reproduce (for bugs)

1.- Check audit log setup

mc admin config get play audit_webhook
audit_webhook enable=off endpoint= auth_token= client_cert= client_key= batch_size=1 queue_size=100000 queue_dir= 

1.- Setup audit default and an extra

mc admin config set play audit_webhook \
  endpoint="https://webhook.site/1234"
mc admin config set play audit_webhook:PRIMARY \
  endpoint="https://webhook.site/5678"
Successfully applied new settings.
Successfully applied new settings.

1.- Check audit setup

mc admin config get play audit_webhook
audit_webhook endpoint=https://webhook.site/1234 auth_token= client_cert= client_key= batch_size=1 queue_size=100000 queue_dir= 
audit_webhook:PRIMARY endpoint=https://webhook.site/5678 auth_token= client_cert= client_key= batch_size=1 queue_size=100000 queue_dir= 

1.- Observe Console incorrectly indicating that Audit is not setup

image

1.- Cleanup

mc admin config reset play audit_webhook
mc admin config reset play audit_webhook:PRIMARY

Context

It is not possible to check the MinIO Audit setup using the Console

Regression

Not clear

Your Environment

allanrogerr commented 2 months ago

Audit setups are here. This is not clear. Please evaluate removing the unused UI shown above.

image
bexsoft commented 1 month ago

This feature will be removed in future versions of Console. Closing right now