Connecting Amazon S3 (Detect)

The following steps are required to export Prelude Detect test data to Amazon S3:

  1. Create a S3 bucket with the name of your choice
  2. Set S3 bucket with the following permissions (substitute s3_bucket_name with your bucket name)
    {
            "Version": "2012-10-17",
            "Statement": [
                    {
                            "Sid": "prelude",
                            "Effect": "Allow",
                            "Principal": {
                                    "CanonicalUser":"2703ff0fdbb6ac56539587bc6aa8e31b3a1e944cdeaf35d54b22f1725eb7db8d"
                            },
                            "Action": [
                                    "s3:GetObject",
                                    "s3:PutObject"
                            ],
                            "Resource": "arn:aws:s3:::s3_bucket_name/*"
                    }
            ]
    }
    
  3. Set the integration via Prelude CLI with the following command (substitute proper bucket name)
    prelude partner attach S3 --api s3_bucket_name
    
  4. Run Tests, the data should appear quickly after test results are generated.