Skip to content

Commit 4b087da

Browse files
committed
Omit zonal S3 express actions
1 parent 2f45a1e commit 4b087da

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

iamlivecore/logger.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,9 @@ func getStatementsForProxyCall(call Entry) (statements []Statement) {
679679
if strings.HasPrefix(mappedPriv.Action, "s3:") && len(iamMapMethods) > 1 && strings.HasPrefix(call.Host, "s3express-control.") {
680680
continue
681681
}
682+
if strings.HasPrefix(mappedPriv.Action, "s3:") && strings.Contains(call.Host, ".s3express-") {
683+
continue // Zonal API actions
684+
}
682685

683686
resources := []string{}
684687

0 commit comments

Comments
 (0)