AWS API
Connect Radiant to your AWS account via the AWS API connector to query live resource configurations during Enrichment.
The AWS API connector lets Radiant query your AWS account directly during the Enrichment stage of alert triage. Unlike AWS CloudTrail, which records past API activity, the AWS API connector returns the current state of resources at investigation time. This includes active S3 bucket permissions, IAM policy attachments, EC2 security group rules, and GuardDuty findings.
Configuring this connector takes three phases: create a credential in Radiant, add the data connector, and create an IAM role in AWS that Radiant can assume. You can create the IAM role manually or deploy it across multiple accounts with a CloudFormation StackSet.
Prerequisites
Add the credential in Radiant Security
Log in to Radiant Security.
From the navigation menu, select Settings > Credentials and click + Add Credential.
Select Amazon Web Services API from the list and click Configure Credential.
Under Credential Name, give the credential an identifiable name (e.g.
AWS API Credentials).Under AWS Accounts, choose one of the following:
AWS Organizations users: export a
.csvfile containing all your AWS account IDs by following the AWS Organizations export instructions, then drag and drop the file into the upload box.All other users: click + Add Manually and enter each account ID.
Click Add Credential to save the changes.
Add the AWS API data connector in Radiant Security
From the navigation menu, select Settings > Data Connectors and click + Add Connector.
Search for and select the Amazon Web Services API option and then click Data Feeds.
Under Select your data feeds, select AWS HTTP API and click Credentials.
From the drop-down menu, select the Amazon Web Services API credential that you created in the previous section.
Click Add Connector to save the changes.
In the Data Connectors page, find the AWS API connector and click View Details.
Copy the AWS External Role ID. You'll use this value for the creation of the IAM role in the upcoming steps.
If you use AWS Organizations, configure the IAM role with a StackSet to deploy it across all member accounts in one operation. For a single account or a small number of accounts, configure the role manually.
Configure the IAM Role manually
Sign in to the AWS Management Console on your main account and navigate to IAM > Policies > Create Policy.
Under Specify permissions, select the JSON format and paste the following:
Enter a policy name, review the settings, and click Create policy.
Create the IAM role
Navigate to Roles > Create role.
For Trusted entity type, select Custom trust policy. Paste the following JSON into the text box:
Replace ${RS_CREDENTIAL_ID} with the AWS External Role ID you copied from the Radiant connector details page.
Attach the policy
On the Add permissions page, find and select the policy you created in step 1.
Name and create the role
Set the role name to
radiant-aws-api-access-role, review the settings, and click Create role.
Configure the IAM Role using StackSets
Use this method to deploy the IAM role across multiple AWS accounts in a single operation. This is the recommended approach for AWS Organizations.
In your main AWS Organization account, navigate to CloudFormation > StackSets and click Create StackSet.
Download the CloudFormation template:
Open the file and replace
${RS_CREDENTIAL_ID}with the AWS External Role ID you copied from the Radiant connector details page.In the Permissions section, select Service-managed permissions.
In the Prerequisite - Prepare template section, select Template is ready.
In Specify template, click Upload a template file and upload your edited CloudFormation file.
In the StackSet name section, enter a name for the StackSet.
In the Capabilities section, acknowledge that IAM resources will be created.

Choose deployment targets
In Deployment targets, choose one of the following:
To deploy to all accounts in your organization, select Deploy to organization.
To deploy to specific accounts, select Deploy to organizational units (OUs). Enter the AWS OU IDs for the target accounts, then select the Intersection filter and add the account numbers.

Specify regions and submit
In Specify regions, enter all regions where the StackSet should deploy. Review the configuration and click Submit.
Verify ingestion
After AWS API begins forwarding, confirm events are reaching Radiant.
In Radiant, navigate to Log Management.
Filter by
rs_connectorType:"aws_http_api_read".Confirm recent events appear.
Allow several minutes for events to be parsed, indexed, and available for search.
Last updated
Was this helpful?