Ravindra BagaleCourses & study guides मराठी Track your progress

AWS Cloud

S3 Bucket Policy Project 7: Cross-Account ALB and CloudTrail Logs Bucket

Central logging account owned by Sneha Rao in Hyderabad must accept ALB access logs and CloudTrail from workload accounts. That needs a bucket policy with ELB and CloudTrail service principals (and sometimes ACL bucket-owner-full-control on Put).

In this chapter

  • Why log buckets are cross-account by design
  • What ELB and CloudTrail principals look like in JSON
  • How to apply policy, enable logging, see objects appear
  • ACL vs policy for log delivery
  • Interview answers

1. Everyday project story

Mumbai ecommerce platform (CTO: Harshad Joshi) and London retail (SRE: Claire Thompson) both ship ALB logs into a security account bucket owned by Sneha Rao.

2. Why cross-account log bucket?

Workloads must not delete their own audit trail. A locked logging account owns the bucket; services in other accounts need explicit resource-policy Allow.

  • Separate security/logging account
  • Service principals for log delivery
  • SourceArn conditions for the intended load balancer and trail
  • Block human deletes with extra Deny (project 9)

3. What is the policy?

Show each logging service the path it owns

Draw a bucket in the central logging account and two incoming paths, one for ALB access logs and one for CloudTrail. Each service writes using its own service identity and expected object prefix, normally including the source account ID in an AWSLogs/ path. Keep the trails and the load balancer identities distinct when reading the statements.

Write the log source, account and precise destination prefix before comparing bucket permissions. A blanket allow for another account would permit more than the delivery job needs. Follow the requirements for the particular service and keep the second service’s access as a separate statement you can verify.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowALBLogDelivery",
      "Effect": "Allow",
      "Principal": { "Service": "logdelivery.elasticloadbalancing.amazonaws.com" },
      "Action": "s3:PutObject",
      "Resource": "arn:aws:s3:::rb-central-logs-ap-south-1/alb/AWSLogs/444455556666/*",
      "Condition": {
        "ArnLike": { "aws:SourceArn": "arn:aws:elasticloadbalancing:ap-south-1:444455556666:loadbalancer/app/*" }
      }
    },
    {
      "Sid": "AllowCloudTrailPut",
      "Effect": "Allow",
      "Principal": { "Service": "cloudtrail.amazonaws.com" },
      "Action": "s3:PutObject",
      "Resource": "arn:aws:s3:::rb-central-logs-ap-south-1/cloudtrail/AWSLogs/444455556666/*",
      "Condition": {
        "StringEquals": {
          "aws:SourceArn": "arn:aws:cloudtrail:ap-south-1:444455556666:trail/classroom-trail",
          "s3:x-amz-acl": "bucket-owner-full-control"
        }
      }
    },
    {
      "Sid": "AllowCloudTrailAclCheck",
      "Effect": "Allow",
      "Principal": { "Service": "cloudtrail.amazonaws.com" },
      "Action": "s3:GetBucketAcl",
      "Resource": "arn:aws:s3:::rb-central-logs-ap-south-1",
      "Condition": {
        "StringEquals": { "aws:SourceArn": "arn:aws:cloudtrail:ap-south-1:444455556666:trail/classroom-trail" }
      }
    }
  ]
}

Line-by-line

  1. ALB principal logdelivery.elasticloadbalancing.amazonaws.com.
  2. Resource prefix includes AWSLogs/SOURCE_ACCOUNT/.
  3. The ALB aws:SourceArn condition selects application load balancers in the workload account and Region. The trail condition selects the exact named trail.
  4. CloudTrail PutObject + bucket-owner-full-control ACL condition (classic).
  5. GetBucketAcl for CloudTrail validation.
  6. Replace account ids and prefixes before apply.

4. CLI with output

aws s3api put-bucket-policy --bucket rb-central-logs-ap-south-1 --policy file://logs.json
# (empty success)

# On workload account: enable ALB access logs to s3://rb-central-logs-ap-south-1/alb
# In ap-south-1, create or update classroom-trail to deliver to this bucket with prefix cloudtrail.
# If using a different trail name or home Region, change both CloudTrail SourceArn values to its exact ARN.

aws s3 ls s3://rb-central-logs-ap-south-1/alb/AWSLogs/444455556666/ --recursive | head
# AWSLogs/444455556666/elasticloadbalancing/ap-south-1/...

5. Test allow and deny

# ALLOW — after enabling ALB logs, objects appear under alb/AWSLogs/...
aws s3 ls s3://rb-central-logs-ap-south-1/alb/AWSLogs/444455556666/ | head
# PRE elasticloadbalancing/

# DENY — random IAM user from another account without grant
aws s3 cp s3://rb-central-logs-ap-south-1/alb/secret.log - --profile other
# AccessDenied

6. ACL vs policy

Modern ALB delivery often works with policy alone; CloudTrail historically expects bucket-owner-full-control on Put. Prefer Bucket owner enforced when the service supports it — read current AWS docs per service.

7. Multi-industry

Ecommerce ALB (Mumbai — Harshad Joshi), retail (London — Claire Thompson), bank org trail (Hyderabad — Sneha Rao), hospital API logs (Sydney — Liam O’Connor).

8. AccessDenied debugging and Policy Simulator

When S3 returns AccessDenied, check in order: (1) Block Public Access, (2) matching bucket policy Deny, (3) missing IAM Allow, (4) KMS key policy, (5) VPC endpoint policy, (6) legacy ACL. IAM Policy Simulator can miss BPA/VPC/KMS — always re-test with real CLI from the real network path.

# Decode
aws s3api get-bucket-policy --bucket BUCKET --query Policy --output text | python3 -m json.tool
aws s3api get-public-access-block --bucket BUCKET
aws iam simulate-principal-policy --policy-source-arn ARN \
  --action-names s3:GetObject --resource-arns arn:aws:s3:::BUCKET/key.txt
aws cloudtrail lookup-events --lookup-attributes AttributeKey=EventName,AttributeValue=GetObject --max-items 5

9. Lab: cross-account log bucket

Prove where a log actually arrived

Enable one configured lab source at a time. For ALB, expect the service’s delivery test object to appear under the anticipated account path when the bucket settings are accepted, then check for test traffic logs. For CloudTrail, confirm delivery status and look for its objects in the correct Region and date prefix. File delivery can take time.

If one source works and the other does not, leave the working statement alone. Check the failing service principal, source ARN where required, destination prefix and the service’s supported encryption setting. When done, disable the temporary log delivery before removing the test bucket or sample objects.

Do this in ap-south-1 (Mumbai) unless your org forbids it. Set a budget alert first.

  1. In logging account create bucket + policy with your workload account id.
  2. From workload account enable ALB access logs to the prefix.
  3. Wait and ls for AWSLogs objects (ALLOW proof).
  4. Try GetObject as unrelated user → AccessDenied.

Cleanup (stop billing)

  1. Disable logging on ALB/Trail; empty prefixes; delete policy/bucket.
  2. Remove lab trail if created.

10. Common errors and fixes

Each row is a real mistake students and juniors hit. Read the fix before you panic.

Error / symptomFix
AccessDenied but IAM Allow looks fineFind explicit Deny in bucket policy or BPA blocking public.
Policy JSON rejected on putValidate with python3 -m json.tool; no smart quotes; use file://.
Policy Simulator Allow, CLI DenySimulator skips some layers; retest with real CLI/role/network.
Wrong Resource ARN shapeGetObject needs arn:...:bucket/* ; ListBucket needs bare bucket ARN.
Condition key typo or wrong caseKeys like aws:SourceIp are case-sensitive.
Missing Principal on bucket policyResource-based policies require Principal; identity policies must omit it.
Account-level BPA overrides bucketAccount Block Public Access can still block public grants.
Encrypted object / KMS forgottenSSE-KMS needs key policy + kms:Decrypt/GenerateDataKey.
Logs never appearWrong prefix/account id; missing GetBucketAcl; BPA issues.
AccessDenied on enablePolicy Principal/Service spelling or Resource path.

11. Troubleshooting checklist

  1. Confirm region and endpoint hostname for the bucket.
  2. Print get-bucket-policy and get-public-access-block.
  3. Reproduce with a least-privilege lab IAM user.
  4. Binary-search Denies by commenting one Sid at a time in lab.
  5. Read CloudTrail errorCode and additionalEventData.
  6. If KMS involved, test key permissions separately.
  7. From VPC path: route to gateway prefix list + endpoint policy.
  8. Cleanup versioning/Object Lock labs carefully.

12. FAQ

Q. Is a bucket policy the same as an IAM policy?

No. Bucket policy is resource-based on the bucket; IAM is identity-based. For same-account, either can Allow; explicit Deny wins; cross-account needs both.

Q. Do I still need ACLs in 2026?

Prefer Bucket owner enforced (ACLs off) + bucket policy. Some log deliveries still need canned ACL on Put.

Q. What is Block Public Access?

Switches that block public ACLs/policies at account or bucket. Disable only the minimum for a deliberate public design.

Q. How do you debug AccessDenied fast?

BPA → bucket policy → IAM → KMS → VPCe → CloudTrail. Never “fix” with Action *.

Q. Why SourceArn?

It scopes the service grant to the intended AWS source resource. In this example, ALB matches the source account and Region in the ARN, and CloudTrail matches the exact trail.

Q. Same for Config/ELB?

Each service has its own principal — check docs.

Q. SSE-KMS on log bucket?

Key policy must allow the service — extra care.

Q. Org trail vs account trail?

Org trail centralizes; bucket still needs policy.

13. Interview Q&A

Q. Who writes ALB logs?

ELB log delivery service principal into your bucket.

Q. CloudTrail ACL condition why?

Classic delivery uses bucket-owner-full-control so owner can read.

Q. How prove allow?

Objects land under AWSLogs/account/.

Q. How prove deny?

Unrelated principal AccessDenied on Get/Put.

Q. Why separate logging account?

Attackers in workload account cannot easily wipe logs.

Q. Prefix per account?

Yes — AWSLogs/ACCOUNT_ID/ convention.

14. Tips in English, Marathi and Hindi

Ravindra Bagale's Tip (EN)

Never give workload admins s3:DeleteObject on the central log bucket.

Ravindra Bagale's Tip (MR)

Workload admin ला central log DeleteObject देऊ नका.

Tip (HI)

Workload admin को central log पर DeleteObject न दें।

Try at home

  1. Enable one ALB log path; screenshot ls output.
  2. On paper, explain what becomes less constrained if you remove each SourceArn check. Leave the check in your lab policy.
  3. Sketch org logging landing zone on paper.

In short

  1. Log buckets use service principals with source-resource conditions supported by each delivery service.
  2. Prefixes follow AWSLogs/account.
  3. CloudTrail may need ACL condition.
  4. Prove with objects appearing + stranger denied.
  5. Keep humans least-privilege on log buckets.

15. Policy design checklist before you save

  1. Write the business rule in one sentence (who can do what from where).
  2. Choose Allow vs Deny-unless consciously; remember explicit Deny wins.
  3. List every Resource ARN shape you need (bucket vs bucket/*).
  4. Name every Condition key exactly (case-sensitive).
  5. Decide BPA settings before put-bucket-policy.
  6. Plan the allow test and the deny test with expected HTTP/CLI codes.
  7. Plan cleanup (versioning, Object Lock, KMS schedules).
  8. Paste JSON through python3 -m json.tool before apply.

16. Policy Simulator walkthrough

IAM Policy Simulator is great for identity policies and a first pass on resource policies, but it can miss Block Public Access, VPC endpoint policies, and some KMS denials. Use it to catch typos, then always re-test with AWS CLI from the real network path (office IP, VPC, or CloudFront).

  1. Open IAM → Policy simulator → pick the user/role.
  2. Add action s3:GetObject / PutObject and the object ARN.
  3. If you use resource policies, include the bucket policy text where the tool allows.
  4. Note Allow/Deny; then run the matching CLI from the real path.
  5. If Simulator Allow but CLI Deny, check BPA, VPCe, KMS, and explicit Denies next.

17. Copy-paste runbook (print this)

# 0) Region + names
export AWS_REGION=ap-south-1
export BUCKET=rb-lab-$(date +%s)-ap-south-1

# 1) Create + show BPA
aws s3api create-bucket --bucket $BUCKET --region $AWS_REGION \
  --create-bucket-configuration LocationConstraint=$AWS_REGION
aws s3api get-public-access-block --bucket $BUCKET || true

# 2) Validate + apply policy
python3 -m json.tool policy.json >/dev/null
aws s3api put-bucket-policy --bucket $BUCKET --policy file://policy.json
aws s3api get-bucket-policy --bucket $BUCKET --query Policy --output text | python3 -m json.tool | head

# 3) Allow test + Deny test (fill per project)
# ... project-specific curls / aws s3 cp ...

# 4) Cleanup
aws s3 rm s3://$BUCKET --recursive || true
aws s3api delete-bucket-policy --bucket $BUCKET || true
aws s3api delete-bucket --bucket $BUCKET

18. Industry story bank (reuse the pattern)

Each project above uses one industry story. Use the same policy pattern in these other industries without rewriting the JSON from scratch — only change the bucket name, principal, and Condition values.

  • Healthcare (Priya Nair, Apollo-style clinic): patient PDFs — prefer SSE-KMS + OrgID + MFA delete.
  • Fintech (Arjun Mehta, UPI wallet): statements — office IP + SecureTransport + CloudFront OAC for the customer portal.
  • EdTech (Sofia Alvarez, online course): course videos — CloudFront OAC only; never public ACLs.
  • Logistics (Kenji Watanabe, fleet app): GPS dumps — VPC endpoint only from the private subnet runners.
  • Media (Fatima Khan, newsroom): raw footage — Object Lock COMPLIANCE + deny delete.
  • Retail (Lucas Meyer, D2C brand): product images — public read for /images/* only; deny everything else.
  • SaaS (Ananya Iyer, B2B CRM): tenant exports — ${aws:username} or ${aws:PrincipalTag/tenant} prefixes.
  • Government (Rahul Deshmukh, state portal): RTI archives — OrgID + MFA + Object Lock.

19. AccessDenied debugging flowchart

  1. Read the error code and the request ID. Save both.
  2. Confirm you are calling the right bucket and region.
  3. Check Block Public Access if the principal is * or a service that looks public.
  4. Decode the policy: is there an explicit Deny that matches? Deny wins.
  5. Check Condition keys: SecureTransport, SourceVpce, SourceIp, PrincipalOrgID, encryption headers.
  6. For KMS: does the key policy allow the caller? Bucket policy alone is not enough.
  7. For CloudFront: is OAC present and the distribution id matching?
  8. For VPC: are you really going through the endpoint (no public IP leak)?
  9. Simulate in IAM Policy Simulator, then re-test with CLI from the real path.
  10. Only then open a support case with the request id and a redacted policy.

20. What good looks like in a PR review

  • Policy JSON validates and is indented.
  • Every Statement has Sid, Effect, Action, Resource.
  • No Principal:* with write actions unless BPA and a Deny fence exist.
  • Allow test and Deny test are documented with expected output.
  • Cleanup steps will not strand Object Lock or KMS keys.

Worked example: one logging bucket, two independent delivery checks

A parcel can reach the correct building but still be rejected at the wrong counter. Here ALB and CloudTrail write to the same building, the bucket, through different prefixes and policies.

  1. Create the disposable bucket in the ALB's Region with SSE-S3. ALB access logging requires both. Keep public access blocked.
  2. For ALB, use an alb prefix. Verify the object path includes AWSLogs and the source account ID. Compare the ALB ARN's Region and account with the allow condition if the service cannot write.
  3. For CloudTrail, use a cloudtrail prefix. Compare the exact trail ARN in both the bucket ACL check and log-write statements, then verify the trail delivery status independently of ALB. Disable both lab deliveries before deleting the test bucket.
Interview question: does seeing an ALB object prove CloudTrail works?

No. They have different service principals, resource paths and checks. Verify evidence from both services separately.

Reference 1 · Reference 2

Practise this chapter

Interview questions and answers

How would you design and validate cross-account log delivery?

Write one scoped statement per service using its documented principal and expected path. Enable one source at a time, confirm the test delivery, and compare the exact account prefix and timestamp of an actual log.

Why check the service’s encryption prerequisites as well as the principal?

A service has to support how the destination bucket encrypts its writes. A correct S3 allow can still fail on incompatible encryption settings or missing key access.

Check your understanding

Choose an answer, then compare your reasoning with the explanation.

0 of 3 answered correctly
1. What should a central logging bucket’s delivery policy identify?

Answer and explanation

B. The specific logging service and intended source account or resource path

Scope delivery to the documented service and object-prefix boundary, and apply source conditions where that service supports them.

2. ALB logging works, but CloudTrail logs do not arrive. What should you check?

Answer and explanation

C. CloudTrail’s own service statement, source and prefix

Different services have different principals, paths and permission requirements. Fix the failing path separately.

3. What does the ALB delivery test object establish?

Answer and explanation

B. The service validated its bucket permissions and wrote a test object

The test object verifies that specific setup step. Check later traffic-key delivery separately.

Practice Tasks

Practice checks run in your browser. They check the answer for this exercise; they do not create resources or connect to your AWS account.

About this scenario

Nairobi Ride is a transport business in Nairobi. Wanjiru Kamau looks after its IT and cloud work. They count money in KES and run their AWS resources in the af-south-1 Region. In the tasks below you do real jobs for them using what this lesson teaches. All names, account IDs, IP addresses and numbers are made up for practice.

0 / 16

Easy Get logs bucket policy

Delivery allow.

Get bucket policy nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy List log prefixes

AWSLogs.

List objects nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy Apply the lesson: scenario 3

CloudTrail writes to a central log bucket. Which resource policy on that bucket must allow the appropriate service delivery?

  1. Read the situation and identify what you need to decide.
  2. Work through the relevant concept or calculation.
  3. Enter only the requested term or number.
  4. Check your answer, then read the explanation.

Easy Apply the lesson: scenario 4

A producer is in account A and the log bucket is owned by account B. Is this same-account or cross-account access?

  1. Read the situation and identify what you need to decide.
  2. Work through the relevant concept or calculation.
  3. Enter only the requested term or number.
  4. Check your answer, then read the explanation.

Easy Get logs versioning

State.

Get bucket versioning nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy Head logs bucket

Exists.

Head bucket nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy Get BPA logs

BPA.

Get public access block nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium Get bucket ACL

Owner check.

Get bucket acl nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium Get logs location

Region.

Get bucket location nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium Allow ELB log delivery GetBucketAcl

ALB logs.

Allow s3:GetBucketAcl for elb service on arn:aws:s3:::nairobiride-logs.

  1. Start with { "Version": "2012-10-17", "Statement": [ ... ] }.
  2. In each statement write Effect, Action and Resource.
  3. Give only what the task needs (least privilege).
  4. Use double quotes and commas correctly. Click Check answer.

Medium bucket-owner-full-control JSON

Ownership.

JSON s3:x-amz-acl bucket-owner-full-control.

  1. Start from the top-level keys the task names.
  2. Indent child keys with 2 spaces (no tabs).
  3. Fill in each property with the value from the task.
  4. Click Check answer. Key order does not matter.

Medium Apply the lesson: scenario 12

A log-bucket policy grants only the logging service. An unrelated user has no applicable Allow. Is its PutObject request implicitly allowed or denied?

  1. Read the situation and identify what you need to decide.
  2. Work through the relevant concept or calculation.
  3. Enter only the requested term or number.
  4. Check your answer, then read the explanation.

Medium Apply the lesson: scenario 13

You need retained audit evidence to resist accidental deletion. Which S3 feature can protect individual object versions with retention or legal hold?

  1. Read the situation and identify what you need to decide.
  2. Work through the relevant concept or calculation.
  3. Enter only the requested term or number.
  4. Check your answer, then read the explanation.

Hard Allow CloudTrail PutObject

Trail delivery.

Allow s3:PutObject for cloudtrail.amazonaws.com on arn:aws:s3:::nairobiride-logs/AWSLogs/104591109902/*.

  1. Start with { "Version": "2012-10-17", "Statement": [ ... ] }.
  2. In each statement write Effect, Action and Resource.
  3. Give only what the task needs (least privilege).
  4. Use double quotes and commas correctly. Click Check answer.

Hard AWSLogs prefix JSON

Organize.

JSON prefix AWSLogs/123456789012/.

  1. Start from the top-level keys the task names.
  2. Indent child keys with 2 spaces (no tabs).
  3. Fill in each property with the value from the task.
  4. Click Check answer. Key order does not matter.

Hard Delete logs policy

Cleanup.

Delete bucket policy nairobiride-logs.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Revision, interview and comparison cards

Revise this lesson in a few minutes. Save the cards on your phone or download them as PNG files. The QR code on each card opens this lesson.

Cross-account log bucket. An ALB can deliver logs to a bucket owned by another account in the same Region. Use SSE-S3. Use logdelivery.elasticloadbalancing.amazonaws.com for the ALB and cloudtrail.amazonaws.com for the trail, with their own documented statements. Match the configured prefix and the source account under AWSLogs. Confirm both services delivered test files before relying on the archive.
Revision card: Cross-account log bucket · Download PNG · Open card page
Revision card: Ownership and ACL condition. Delivery often requires bucket-owner-full-control so the archive account owns objects. Condition StringEquals s3:x-amz-acl bucket-owner-full-control on PutObject. Unrelated IAM user PutObject → AccessDenied. Ananya Iyer verifies ACL condition with a failing unsigned put.
Revision card: Ownership and ACL condition · Download PNG · Open card page
CloudTrail vs ALB access logs. CloudTrail records AWS API activity. The trail bucket policy scopes cloudtrail.amazonaws.com to matching trail paths and source. ALB captures application requests. Allow logdelivery.elasticloadbalancing.amazonaws.com to put logs in the ALB account’s AWSLogs path. Their permissions and file formats differ. Verify each configured delivery and its expected bucket prefix.
Comparison: CloudTrail vs ALB access logs · Download PNG · Open card page
Comparison: Central log-archive account vs Logs in the app account. Central log-archive account: Harder for attackers in app account to wipe evidence. Logs in the app account: Simpler; weaker blast-radius isolation.
Comparison: Central log-archive account vs Logs in the app account · Download PNG · Open card page
Interview card: Who puts CloudTrail logs?. cloudtrail.amazonaws.com must be allowed on the destination prefix. Often with bucket-owner-full-control ACL condition. Objects appear under AWSLogs/account-id/.
Interview card: Who puts CloudTrail logs? · Download PNG · Open card page
What does ALB access logging need?. Create or select a bucket in the same Region as the ALB, with SSE-S3 for the logs. Allow logdelivery.elasticloadbalancing.amazonaws.com to use s3:PutObject under the ALB account’s AWSLogs path. Enable access logs, look for ELBAccessLogTestFile, then send a test request and confirm log delivery.
Interview card: What does ALB access logging need? · Download PNG · Open card page
Interview card: What is cross-account here?. Log writers (service or member accounts) write into an archive account bucket. Resource policy on the archive bucket is essential. Member Trail → archive bucket in log account.
Interview card: What is cross-account here? · Download PNG · Open card page
Interview card: How protect log integrity?. Deny delete/overwrite where possible; versioning; Object Lock; MFA Delete; validate Trail. Separate duties for anyone who can change the policy. Random delete-object → AccessDenied.
Interview card: How protect log integrity? · Download PNG · Open card page

More cards: Ravi Sir's Cards.