Skip to content

HDDS-17387. Audit PERMISSION_DENIED rejected in preExecute of PutObjectTagging and DeleteObjectTagging - #11772

Merged
jojochuang merged 3 commits into
apache:masterfrom
Gargi-jais11:HDDS-17387
Oct 29, 2026
Merged

jojochuang merged 3 commits into
apache:masterfrom
Gargi-jais11:HDDS-17387

Conversation

@Gargi-jais11

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

PutObjectTagging and DeleteObjectTagging check ACLs in preExecute via resolveBucketAndCheckKeyAcls. A PERMISSION_DENIED is not audited, while S3BucketTaggingRequestBase already marks the preExecute failure for audit.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-17387

How was this patch tested?

Added unit tests.

@Gargi-jais11
Gargi-jais11 marked this pull request as ready for review October 26, 2026 08:21
@github-actions github-actions Bot added the om label Oct 26, 2026

@smengcl smengcl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@sravani-revuri sravani-revuri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Gargi-jais11 for the patch, minor question below.

@chungen0126 chungen0126 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM

@Gargi-jais11
Gargi-jais11 marked this pull request as draft October 29, 2026 04:30

@sravani-revuri sravani-revuri left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 LGTM.

@Gargi-jais11
Gargi-jais11 marked this pull request as ready for review October 29, 2026 04:42
@jojochuang
jojochuang merged commit 7930e13 into apache:master Oct 29, 2026
134 checks passed
@jojochuang

Copy link
Copy Markdown
Contributor

Merged. Thanks @Gargi-jais11 @smengcl @chungen0126 @sarvekshayr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants