Amazon Web Services (AWS) Integration Setup Instructions
Purpose of Integration
This integration allows you to collect evidence automatically for the following security controls:
-
Cloud IAM configuration
-
Cloud firewall rules
-
Cloud data at rest encryption
-
Data backup and monitoring
-
Infrastructure password settings
-
Multi-factor authentication
-
Serverless functions
-
System event logging
-
System performance and capacity monitoring
Document Outline
The Amazon Web Services (AWS) Integration Setup Instructions document walks you through this integration. This document contains eight parts:
Part 1: Create a New AWS Integration Account in Certification Automation
-
Open the Integrations Setup page in Certification Automation.
-
Select Amazon Web Services.
-
Click the plus to create a new AWS integration account.
-
Enter an Account Name.
-
Enter a description (optional).
-
Click Save and Continue.
Part 2: Choose a Setup Method for AWS Credentials
-
Choose one of the following setup methods for AWS credentials:
- Role Delegation (Recommended)Note
-
(: If this option is selected, please proceed to Part 3: Role Delegation Method (Recommended).)
- Access KeysNote
-
(: If this option is selected, please proceed to Part 4: Access Keys Method.)
The following video highlights the AWS role delegation and CloudFormation.
INSERT VIDEO
Part 3: Role Delegation Method (Recommended)
-
Choose one of the following options:
- Automatic via CloudFormation Method (Recommended)
-
- Manual Method
-
Automatic via CloudFormation Method (Recommended)
See Part 8: Attachments to view screenshots for steps 1-11 in this section.
-
Click Automatic via CloudFormation.
-
Sign in to AWS (if applicable).
-
Select the checkbox preceding the following statement: I acknowledge that AWS CloudFormation might create IAM resources with custom names.
-
Click Create stack.
-
Click the refresh button until the status for your stack is CREATE_COMPLETE.
-
Select the Resources tab to view the resources created by your CloudFormation stack.
-
Click the applicable link in the Physical ID column. (Note: This will open a Summary page of the role in a new tab.)
-
Copy the Role ARN.
-
Paste the Role ARN in the applicable field in Certification Automation.
-
Click Save Credentials.
-
Proceed to Part 5: Configure Evidence Collection Services.
Manual Method
-
Click Manual.
-
In another window or tab, sign in to AWS (https://aws.amazon.com/console/).
-
Navigate to the Identity and Access Management (IAM) Dashboard.
-
Select Roles from the left-hand navigation.
-
Click Create Role.
-
Select AWS Account as the Trusted Entity Type.
-
Select Another AWS account radial button.
-
Enter the following Account ID for Certification Automation: 757782051355.
-
Select the checkbox beside Require external ID (Best practice when a third party will assume this role).
-
Go to your Certification Automation instance and copy the External ID (provided by Certification Automation).
Note:Keep your Certification Automation instance open. The external ID only generates and is viewable during the credentials setup.
-
Paste the External ID in your AWS Window. (Note: Do not select MFA.)
-
Click Next: Permissions.
-
Click Create Policy. (Note: This will open a new tab/window.)
-
Select the JSON tab.
-
Paste the AWS Policy (found in Part 6: AWS Policy) in the applicable field.
-
Click Next: Tags.
-
Add tags (optional).
-
Click Next: Review.
-
Assign the following Name to the policy: tbl-integration-policy
-
Enter a description for the policy (optional).
-
Click Create policy.
-
Go back to the Create role tab/window.
-
Refresh the list of policies.
-
Select tbl-integration-policy.
-
Click Next: Review.
-
Enter a Role name. (Note: Begin the role name as follows: "CertificationAutomation-". The recommended name is CertificationAutomation-Automated-Evidence-Collection.)
-
Enter a Role description (optional).
-
Click Create Role.
-
Refresh the roles page search for CertificationAutomation-Automated-Evidence-Collection.
-
Select the Role.
-
Copy the Role ARN.
-
Paste the Role ARN in the applicable field in Certification Automation.
-
Click Save Credentials.
Part 4: Access Keys Method
Create New Policy and User in AWS
-
Sign in to AWS (https://aws.amazon.com/console/).
-
Navigate to IAM.
-
Click Policies.
-
Click Create Policies.
-
Click JSON.
-
Copy and paste the AWS Policy (found in Part 6: AWS Policy).
-
Click Review Policy.
-
Assign the following name to the policy: tbl-integration-policy.
-
Click Users.
-
Click Add User.
-
Assign the following name to the user: tbl-integration-user.
-
Select Programmatic access.
-
Click Next: Permissions.
-
Click Attach existing policies directly.
-
Search for tbl-integration-policy.
-
Select the checkbox.
-
Click Next: Tags.
-
Click Next: Review.
-
Click Create User.
-
Copy the Access Key ID and Secret Access Key.
Enter the Access Key and Secret Access Key in Certification Automation
-
Go back to Certification Automation.
-
Enter the Access Key ID.
-
Enter the Secret Access Key.
-
Click Save Credentials.
Part 5: Configure Evidence Collection Services
-
Click the plus to add a new service.
-
Choose a service to configure.
-
Click Save and Continue.
-
Configure the service with the required settings, such as specifying the collection interval or choosing a region.
-
Click Save.
-
Choose the Evidence Collection Location.
-
Click Save and Complete.
-
Choose one of the following options:
-
Click the plus to add another service.
-
Click Sync All Services to immediately sync the service(s) listed. (Note: If selected, the decision to Sync All Services will occur in addition to the sync schedule.)
-
Exit the integration.
-
Part 6: AWS Policy
The AWS policy provides the permissions that allow Certification Automation to access your AWS environment and collect evidence to support security controls.
View and download the permissions here.
Part 7: Troubleshooting Common Errors
InvalidClientTokenID Error
This error occurs when the Access Key ID is mistyped.
SignatureDoesNotMatch Error
This error occurs when the Secret Access Key is mistyped.
AccessDeniedException Error
This error occurs in the following situations:
-
The user does not have the required permissions for the given service.
-
This error has been encountered for FMS even if the permission AWSFMAdminReadOnlyAccess was granted. This happens because the setup for FMS requires two additional steps:
-
The user account needs to be in an AWS Organization.
-
The user account needs to be designated as the AWS Firewall Manager Administrator Account.
-
Without completing these steps, users will also see an AccessDeniedException error being raised.
Error with Firewall Configuration
If you do not have a firewall enabled within AWS, you will receive an error for this integration.
S3 Encryption Settings
Please note that specific buckets for S3 encryption data cannot be specified. Certification Automation will pull the encryption settings for all S3 buckets.
AWS Infrastructure Password Configuration: NoSuchEntity Error
This error occurs when the default AWS password policy is used rather than a custom policy. The following steps will address this error and enable you to create your own password policy:
-
Sign in to AWS (http://aws.amazon.com/console/).
-
Navigate to the Identity and Access Management (IAM) Dashboard.
-
Select Account Settings from the left-hand navigation.
-
Update your password policy.
Part 8: Attachments
Open this article in a new tab if you cannot view the attachment(s).