About
The Azure integration connects ControlMap to your client's Azure subscription and checks it against a set of cloud security checks called Azure Baseline Controls. Results appear in Monitor › Compliance Checks, so you can show evidence of how the Azure environment is configured without collecting it by hand.
Once connected, ControlMap brings in:
- Azure directory users, which appear as user accounts together with their multi-factor authentication (MFA) registration details.
- Azure resources, which appear as assets. These include virtual machines, disks, storage accounts, SQL databases, network security groups and load balancers.
The Azure Baseline Controls checks test the resources in the subscription. A check only returns a result when the subscription contains the type of resource it tests, so connect the subscription that holds your client's Azure resources rather than a new, empty one.
Each Azure Baseline Controls check has its own article in the Cloud Scan remediation steps section of the Help Center, describing what it looks for and how to fix it.
Before you start
Have these ready from your client's Azure environment:
- Setting up integrations from the client portal is part of the Pro plan. For details, see the Free, Essentials and Pro plans article.
- The Subscription Id of the subscription to scan. This should be the subscription that contains the resources you want checked.
- The Tenant Id.
- The App Id and Client Secret of an app ControlMap can sign in with.
Connect Azure
- Go to Monitor › Integrations and select Add Integration.
- Search for Azure and select the Azure card. The Azure DevOps card sits next to it; it is a separate integration.
- On the Connection step, enter a Connection Name. Azure starts with this field blank, and all of the fields on this step are required.
- Enter the Subscription Id, Tenant Id, App Id and Client Secret.
- Select Next: Checks. ControlMap signs in to Azure with the App Id and Client Secret and checks that it can see the subscription. If the details are wrong, the connection is not created.
- Complete the remaining steps as described in the Connect an integration article.
The help panel beside the form has a link, Read this article on Support Portal, and a short article about the Azure connector.
What you'll see after connecting
When you finish, the new connection's page opens. ControlMap fills in the data after the first scan:
- Compliance Checks: the Azure Baseline Controls checks, each with a status.
- Assets: your Azure resources.
- User Accounts: your Azure directory users, with their MFA registration details.
The connection's page shows its status (Checking connection..., Connected, Disconnected or Connection status unavailable) and whether it is Running or Not Running. To scan straight away, select Run Once.
Compliance check statuses
In Monitor › Compliance Checks, each check shows one of these statuses:
- Passing: ControlMap received data for the check, and the resources it checked meet it.
- Failing: ControlMap received data for the check, and at least one resource doesn't meet it.
- Error: the check didn't run correctly.
- No Data: the scan hasn't run yet, or it ran but found none of the resources the check tests. For example, a storage account check shows No Data if the subscription has no storage accounts.
To find out what a check looks for and how to fix a failing result, open its article in Cloud Scan remediation steps.
If every check shows No Data after a scan, the subscription you connected probably has no resources in it. Edit the connection and enter the Subscription Id of the subscription that holds your client's resources.
View what a check found
- Go to Monitor › Compliance Checks.
- Select Filter and filter by the Azure integration.
- On the check you want, select the three dots under Actions, then select View Evidence.
The panel that opens has two tabs:
- Scan results: a chart of the passed and failed results from each scan.
-
Evidence reports: a list of report dates. Select a date to see each resource the check tested and whether it passed or failed, or select PDF to download the report.
If checks show Error or No Data
- Check that the Subscription Id is for the subscription that holds your client's resources.
- Edit the connection and check the Subscription Id, Tenant Id, App Id and Client Secret for extra spaces.
- Check that the app has the Reader role on the subscription.
- Select Run Once and check the results again when the scan finishes.
Disconnect or change settings
Go to Monitor › Integrations and select the Azure card to open it. The Connection and Schedule tabs work as described in the Connect an integration article. Azure also has an Exclusions tab, after Schedule, where you add rules to leave out accounts:
- Email addresses and group names.
- Email patterns and group patterns.
- Options for inactive or disabled accounts, accounts with no email, and service accounts.
When you edit the connection, enter the Client Secret again before you save, because it is not shown.
To delete the connection, select the bin icon on its card. This also deletes the assets and their compliance status.