Commit 9d6ba34
committed
CLDSRV-896: Emit IAM ARN in access log Requester field for IAM users
When an IAM user makes a request, the Requester field in the bucket
server access log was emitted as userName:accountName. AWS emits an
ARN of the form arn:aws:iam::<accountId>:user/<userName>. Use the
IAM ARN that Vault already provides via authInfo to match the AWS S3
server access log format.1 parent 314ba8c commit 9d6ba34
2 files changed
Lines changed: 7 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
341 | 340 | | |
342 | 341 | | |
343 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
| 291 | + | |
291 | 292 | | |
292 | 293 | | |
293 | 294 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
| 295 | + | |
308 | 296 | | |
309 | 297 | | |
310 | 298 | | |
311 | | - | |
| 299 | + | |
312 | 300 | | |
313 | 301 | | |
314 | 302 | | |
| |||
323 | 311 | | |
324 | 312 | | |
325 | 313 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | 314 | | |
340 | 315 | | |
341 | 316 | | |
| |||
0 commit comments