Continuously Scan AWS - Mondoo-Hosted Integration
A Mondoo-hosted AWS integration provides continuous security and compliance scanning for an AWS account without installing any agents in your AWS or incurring additional AWS cost. An AWS access key gives Mondoo integration the access it needs to continuously scan your AWS account. To learn about AWS access keys, read Managing access keys for IAM users in the AWS documentation.
Mondoo also offers a serverless method for assessing AWS security. It provides cron-scheduled and event-based continuous scanning of your AWS accounts or your entire AWS Organization using a Lambda function. To compare the two approaches, read Continuously Scan with an AWS Integration.
Create an AWS user and access key for Mondoo
To give Mondoo the access it needs to continuously scan your AWS account, create an AWS user and access key. You give the key and its secret to Mondoo, which securely stores them.
-
In the AWS access portal for the account you want to integrate with Mondoo, go to Identity and Access Management (IAM).
-
In the left menu, select Users.
-
Select the Create user button.
-
Enter the user name
Mondoo
and select the Next button. -
Select Attach policies directly.
-
Search for
ReadOnlyAccess
and check the box next to the permission named simply ReadOnlyAccess. The ARN for this permission isarn:aws:iam::aws:policy/ReadOnlyAccess
. -
Select the Next button and then select the Create User button.
-
In the success confirmation message, select the View user button.
-
Select the Security Credentials tab.
-
Under Access Keys, select the Create access key button.
-
Select Third-party service, check the I understand the above recommendation and want to proceed to create an access key box, and select the Next button.
-
Enter a description for the key and select the Create access key button.
-
Keep the page with the key open in your browser as you continue to the next steps.
Set up a new AWS integration
Only team members with Editor or Owner access can perform this task.
-
In a new browser window, access the Integrations > Add > AWS page in one of two ways:
-
New space setup: After creating a new Mondoo account or creating a new space, the initial setup guide welcomes you. Select BROWSE INTEGRATIONS and then select AWS.
-
INTEGRATIONS page: In the side navigation bar, under INTEGRATIONS, select Add New Integration. Near the top of the page, select AWS.
-
-
Select SELECT MONDOO-HOSTED INTEGRATION.
-
In the Choose an integration name box, type a recognizable name for this AWS asset.
-
Access the AWS IAM tab in your browser that shows the access keys you created in the steps above. Copy the Access key value.
-
In the Mondoo Console tab in your browser, under Enter authentication details, paste the value in the Access Key ID box.
-
In the AWS IAM tab in your browser, copy the Secret access key value.
-
In the Mondoo Console tab in your browser, under Enter authentication details, paste the value in the AWS secret access key box.
-
Select the START SCANNING button.
Manage an AWS integration
You can view the status of an AWS integration, change its configuration options, and more on its integration page.
Only team members with Editor or Owner access can perform this task.
To access an existing integration:
-
In the Mondoo Console, navigate to the space containing the integration.
-
In the side navigation bar, under Integrations, select AWS.
-
Select the integration you want to view or manage.
View an integration's status
Mondoo shows the status at the top of the integration page, beside the integration name.
Theses are the possible statuses for an AWS integration:
Status | Meaning |
---|---|
configuring | Mondoo is sending the scan configuration options to the integration and the integration is saving those options. |
active | The integration is active and healthy. |
error | Mondoo detected an error during installation. |
missing | Mondoo hasn't received a check-in from the Lambda function for over an hour. |
deleted | CloudFormation for the integration has been deleted. |
Ping an integration
At the top of the integration page, below the integration name, Mondoo shows the time of the last ping.
To ping the integration now, select the ping icon (a heartbeat to the left of the SCAN NOW button).
Request a fresh scan
Only team members with Editor or Owner access can perform this task.
To see fresh scan results, select the SCAN NOW button. Mondoo retrieves new scan results as soon as possible.
Enable and disable policies for an AWS integration
The RECOMMENDED POLICIES tab on the integration page lists policies that can help you protect your AWS environment. It shows which policies are enabled and disabled.
Use the toggle on the right side of each policy's row to enable or disable the policy.
Only team members with Editor or Owner access can perform this task.
To learn more about policies, read Policy as Code.
Remove an integration
Only team members with Editor or Owner access can perform this task.
To remove an integration, select the Remove (trash can) icon at the top of the integration page.
A notification displays with a link to the CloudFormation Stacks list in the AWS console. Select the link and, in the AWS console, delete the stack. This removes the configured integration from Mondoo Platform and deletes the rule allowing the Mondoo AWS account to send events to the target account.