Skip to content

Commit a8b37be

Browse files
authored
update permissions recommeded for audit logs streaming (#9609)
1 parent bfa7341 commit a8b37be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/guides/modules/security/pages/audit-logs.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ The complete template for the trust relationship is the following:
116116
"Action": "sts:AssumeRoleWithWebIdentity",
117117
"Condition": {
118118
"StringEquals": {
119-
"oidc.circleci.com/org/<org-id>:aud": "<org-id>"
119+
"oidc.circleci.com/org/<org-id>:aud": "<org-id>",
120+
"oidc.circleci.com/org/<org-id>:sub": "org/<org-id>/file-streaming/audit-logs"
120121
}
121122
}
122123
}
@@ -141,7 +142,6 @@ The minimum required access policy for the role is as follows:
141142
"Effect": "Allow",
142143
"Action": [
143144
"s3:PutObject",
144-
"s3:GetObject",
145145
"s3:ListBucket"
146146
],
147147
"Resource": [

0 commit comments

Comments
 (0)