Skip to main content
Solved

What permissions are needed for Cribl Stream to pull an S3 bucket? I’m creating a role for it to use

  • March 11, 2025
  • 2 replies
  • 13 views

Erin Sweeney
Forum|alt.badge.img

What permissions are needed for Cribl Stream to pull an S3 bucket? I’m creating a role for it to use.

Best answer by Brendan Dalpe

To pull from the S3 bucket using a collector, you need S3:GetObject and S3:ListBucket permissions as a minimum.

Here is a sample IAM policy you can use:

{  "Version": "2012-10-17",  "Statement": [  {  "Effect": "Allow",  "Action": [  "s3:GetObject"  ],  "Resource": "arn:aws:s3:::<bucket_name>/*"  },  {  "Effect": "Allow",  "Action": [  "s3:ListBucket"  ],  "Resource": "arn:aws:s3:::<bucket_name>"  }  ]}

2 replies

  • Inspiring
  • Answer
  • March 11, 2025

To pull from the S3 bucket using a collector, you need S3:GetObject and S3:ListBucket permissions as a minimum.

Here is a sample IAM policy you can use:

{  "Version": "2012-10-17",  "Statement": [  {  "Effect": "Allow",  "Action": [  "s3:GetObject"  ],  "Resource": "arn:aws:s3:::<bucket_name>/*"  },  {  "Effect": "Allow",  "Action": [  "s3:ListBucket"  ],  "Resource": "arn:aws:s3:::<bucket_name>"  }  ]}

If using the S3 input then permissions must be set for both the bucket and the SQS queue. See Amazon S3 | Cribl Docs