| Vendor | AWS S3 Bucket |
|---|---|
| Collection Method | API |
| Query Syntax: event.provider | GenericS3 |
| Billable Sources Calculation | 1 Source Per Integration. |
To create the integration between Huntress and your AWS S3 Bucket(s), follow these steps:
- From the Huntress Dashboard > SIEM > Source Management > Source Catalog tab > AWS S3 > Add
- Select the green "+Add" button in the top right
Select an Organization > Enter a Name for the AWS S3 Source > Add a Description (Optional) > Save
--
- Download the CloudFormation template file by right-clicking the link and selecting "Save Link As..."
- Select the link, "navigate to the CloudFormation Stacks create page" to open a new tab within your AWS console. Sign in as an account owner.
- Click "Create stack" to Create a CloudFormation stack
- Upload the template file downloaded in step 4 > Click Next
- Provide a stack name and the S3BucketName of the existing S3 bucket to monitor > Click Next
- No changes are necessary for Configure stack options > Click Next
- Select Submit in the Review and Complete page
- After the stack is created, go to the Outputs tab and copy the JSON in the Value column of the BucketPolicyStatements row
- Go to S3 > Your bucket > Permissions > Bucket policy
- If there is already a bucket policy, paste the Huntress statements into that policy’s existing "Statement" array
If there is no bucket policy yet, create one by clicking the
Add new statementbutton. But, be mindful that the Output you copied already includes "Statement" and you do not want to end up nesting "Statement" inside "Statement":{ "Version": "2012-10-17", "Statement": [ { "Sid": "Statement1", "Principal": {}, "Effect": "Allow", "Action": [], "Resource": [] } ] }
- If the bucket is KMS-encrypted, you will also need to copy the JSON in the Value column of the KmsKeyPolicyStatement row
- Open the AWS KMS console > Find your key > Paste the Huntress statements into the key policy's Statement array
- Open the AWS KMS console > Find your key > Paste the Huntress statements into the key policy's Statement array
- Configure S3 event notifications on your existing bucket to send
s3:ObjectCreated:*events to the SNS topic ARN shown in the Outputs tab
- Within 10-20 minutes, logs should begin showing in the Huntress SIEM