tanvipenumudy opened a new pull request, #6329: URL: https://github.com/apache/ozone/pull/6329
## What changes were proposed in this pull request? We should refine audit logging for operations modifying bucket properties. **How can this be useful?** - Critical for consumers on earlier versions of Ozone who could potentially run into known bugs: [HDDS-7449](https://issues.apache.org/jira/browse/HDDS-7449) and [HDDS-7526](https://issues.apache.org/jira/browse/HDDS-7526). - Losing bucket replication properties/bucket encryption properties when one (re)sets quota/bucket replication configurations poses significant risks. - It is difficult for diagnosing the root cause when one runs into such issues just by looking at the audit logs. - Currently, the audit logs do not provide much insight into what properties have been modified while performing bucket config re(set) operations. As of today, we are only capturing basic information such as volume, bucket, gdprEnabled, isVersionEnabled, storageType and owner properties for any given bucket. We should also be capturing bucket quota, encryption and replication-related properties. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-10460 ## How was this patch tested? - The patch has been tested manually. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
