AWS Connector
Flare connects to AWS by assuming a read-only IAM role in your account. The role uses a connector-specific ExternalId and short-lived credentials. You never create or share an AWS access key.Current coverage
The live connector reads recent regional CloudTrail management event history throughcloudtrail:LookupEvents.
The live connector does not currently query CloudTrail Lake, S3 trail files, data events, or organization-wide trails. You can still analyze exported CloudTrail files through File Upload.
Required AWS permission
The customer role needs one action:LookupEvents does not support resource-level permissions, so AWS requires "Resource": "*". The policy grants no write actions.
Connecting
- Go to Connectors in Flare
- Select Amazon Web Services
- Click Generate role instructions
- Keep the Flare page open; it displays a unique ExternalId and generated policies for this connector
- In AWS, open IAM > Roles > Create role and create the recommended read-only role
- Use Flare’s generated trust policy as the role’s trust relationship
- Attach Flare’s generated CloudTrail permissions policy
- Copy the completed role ARN from AWS
- In Flare, paste the role ARN, select the CloudTrail event-history Region, and click Test and connect AWS
Trust relationship
The generated trust policy allows Flare’s AWS runtime role to callsts:AssumeRole only when it supplies your connector’s ExternalId. It follows this structure:
Running an analysis
- Go to Analyses > New Analysis
- Select AWS CloudTrail
- Choose Fetch live
- Confirm the connected account and Region
- Select a time window
- Click Fetch & Analyze
Disconnecting
Disconnecting the AWS connector removes the stored role ARN, ExternalId, Region, and account metadata from Flare. Your existing analysis history remains. For immediate revocation in AWS, delete the customer role or remove Flare’s principal from its trust relationship.Troubleshooting
AWS could not assume this role
AWS could not assume this role
Confirm that you pasted the full ARN for the role you just created, not the Flare runtime role. Then verify that the role trust relationship contains Flare’s generated principal,
sts:AssumeRole, and the exact connector ExternalId.AccessDenied for sts:AssumeRole
AccessDenied for sts:AssumeRole
Check both sides of the role chain: the customer role must trust Flare’s runtime role, and the Flare runtime role must be allowed to assume the exact customer role ARN. If the AWS role name changed, update the connector with the new ARN.
No CloudTrail events returned
No CloudTrail events returned
Verify the selected AWS Region and try a wider time window. CloudTrail event history is regional and contains management events, so activity in another Region or data-event-only activity will not appear.
The connection worked and later stopped
The connection worked and later stopped
The role may have been deleted, renamed, or had its trust or permissions policy changed. Restore the generated policies or reconnect AWS with the current role ARN.