Microsoft Azure: databases are not open to the internet
Checks that no Azure SQL, PostgreSQL or MySQL server in your Azure subscriptions accepts connections from the whole internet or from a wide address range.

This check verifies that no Azure database server accepts connections from the whole internet or a wide address range, so nobody outside your organization reaches its sign-in. It answers the auditor's question: are your cloud databases closed to the internet, and can you show that you keep checking?
In short: ISOPlanner reads your Azure through a read-only access identity that your cloud administrator creates in your own Azure. A server passes when public network access is off, or every firewall rule covers at most 256 addresses. When one server fails, the run is rejected and a task is created that says per server what was found and what to do. Every scheduled run is kept as evidence and is linked to the controls named below. The check is one of the four checks of the Microsoft Azure app in the Store, and the four share one connection.
What the check verifies
For every Azure SQL server and PostgreSQL or MySQL flexible server in scope, the check reads public network access and the firewall rules. A server passes when public access is off or every rule covers at most 256 addresses. A rule from 0.0.0.0, a wider range or one that is not plain IPv4 fails it; letting in all of Azure is a warning by default. The run is accepted when no server fails.
| Framework | Controls this check gives evidence for |
|---|---|
| ISO 27001:2022 | A.8.20 Networks security |
| SOC 2 | CC6.1 Logical access security, CC6.6 Protection against threats from outside the system boundaries |
| NIS2 Quality Mark (High) | 4.8 Manage and secure networks, 4.9 Network segmentation |
| NIS2 Quality Mark (Substantial) | 4.9 Network segmentation |
When you add the check, ISOPlanner links it to the controls in this table of the frameworks your organization uses, and to the controls of your other frameworks that are related to them. A framework you add later is linked the same way. The NIS2 Quality Mark has three levels (Basic, Substantial and High) and your organization uses one of them; each NIS2 row names the levels it applies to. You can change the links. The check is evidence for these controls; it does not cover them completely.
Before you start
- Automated control monitoring is part of the Business and Premium subscriptions of ISOPlanner.
- The check belongs to the Microsoft Azure app. Add the app first: go to Administration > Store, click More info on the Microsoft Azure tile and then Start free trial. The trial takes 30 days and renews into a paid subscription unless you cancel it. If your organization already uses another Microsoft Azure check, this check is already there.
- You need a licensed manager or administrator role in ISOPlanner to add the app and to set up the check.
- The check works on every Azure subscription. Databases on a virtual machine are not checked.
- A cloud administrator with Owner on the subscriptions sets up the access from a setup link you send; they need no ISOPlanner account.
- To make a failing server pass, somebody must be able to change its networking settings.
The access holds a custom role with read actions only. This check needs:
| Permission | Why |
|---|---|
Microsoft.Resources/subscriptions/read, Microsoft.Resources/subscriptions/resourceGroups/read, Microsoft.Authorization/permissions/read | Lists what the identity can read. Needed by every Azure check. |
Microsoft.Sql/servers/read, Microsoft.Sql/servers/administrators/read | Reads the Azure SQL servers. Also needed by the logs check. |
Microsoft.Sql/servers/firewallRules/read, Microsoft.DBforPostgreSQL/flexibleServers/read, Microsoft.DBforPostgreSQL/flexibleServers/firewallRules/read, Microsoft.DBforMySQL/flexibleServers/read, Microsoft.DBforMySQL/flexibleServers/firewallRules/read | Reads the PostgreSQL and MySQL servers and the firewall rules. Needed by this check only. |
1. Connect Microsoft Azure
You connect once. All four Microsoft Azure checks use the same connection.
- Go to Administration > Settings > Automation, open the tab Control monitoring and click the card Microsoft Azure: databases are not open to the internet.
- Under Authorization click Set up. In the Azure access dialog, under Also ask access for other checks? (optional), keep the Azure checks you may turn on later and click Create setup link.
- Click Copy or Share by email and send the link to your cloud administrator. It is valid for 7 days.
- Your cloud administrator follows the link, creates a managed identity with the read-only role in your Azure and pastes two ids back (Give ISOPlanner read-only access to Azure).
- The access shows Applying for up to 15 minutes, then Connected. You get an email either way.

ISOPlanner holds no password, key or secret for your Azure. To change what it reads, click Manage access, then Send a new setup link. To disconnect, your cloud administrator deletes the managed identity.
2. Choose the subscriptions
Subscriptions
Set once for all four Azure checks: Manage access, under What ISOPlanner checks.
| Option | What it does |
|---|---|
| In scope | On by default for every readable subscription, also a new one. Switch it off for one outside your management system and give the Reason for excluding. |
| Resource groups | All resource groups by default. Click it to exclude groups, such as a test environment. |
Click Save scope. A run checks at most 50 subscriptions; at most 200 resource groups can be excluded per subscription. With access limited to some resource groups, a new group is not checked until ISOPlanner gets access.
Options
Click Test under Test and manage results, then Options. A change applies after you save the check.
| Option | What it does |
|---|---|
| Do you allow this setting on a database server? | Allow (default): a server open to all of Azure passes with a warning; fits when your own Azure apps, such as App Service or Power BI, use the database. The other choice makes it a finding. |
3. Test and read the result
The test starts when you open the dialog; Run starts it again after you change the options. A test shows the result and stores nothing.
| Column | What it shows |
|---|---|
| Server | The server name. |
| Type | Azure SQL, PostgreSQL or MySQL. |
| Subscription | Where the server is. |
| Public access | Whether public network access is on. |
| Firewall rules | The number of rules and the widest range. |
| Entra-only sign-in (for information) | Whether only Entra accounts sign in; not counted. |
| State | What the check found; point at it for what to do. |
Servers that meet the rule are counted under the table; Show all lists them. When no server fails, Run outcome: is Evidence Accepted; one server open to the internet makes it Evidence Rejected.
4. Schedule and switch on
- In the test dialog choose the Incident response template: the task template ISOPlanner uses when a run is rejected. Give the template an assignee.
- Under Set a schedule click Schedule. The check can run daily at most.
- Under Status switch the check to Active.
From then on every run stores Evidence Accepted or Evidence Rejected. A rejected run creates a task from the template with one checklist item per failing server: what was found and where to change it. How the results show in the annual plan, on dashboards and on the controls is in Automated Control Monitoring.
The statuses at a glance
State per server
| Found | Meaning | What to do |
|---|---|---|
| Private only | Public network access is off. Passes. | Nothing. |
| Meets the rule | Every rule is limited to known addresses. Passes. | Nothing. |
| Open to the internet | A rule lets in every address. Fails. | Delete the rule, or narrow it to your own addresses. |
| Wide address range | A rule lets in more than 256 addresses. Fails. | Narrow the rule. |
| Open to all of Azure | Allow Azure services and resources to access this server is on. A warning, or a finding with the other option. | Switch it off and allow your own apps, or use a private endpoint. |
| Could not check | The subscription could not be read. Fails. | Restore read access, or exclude it. |
| No longer readable | A resource group read before is gone or unreadable. Fails. | Restore access, or exclude it. |
| Accepted until a date | You accepted the finding until then. | Fix it before the date. |
The outcome of a run and the status of the check
| Status | Meaning |
|---|---|
| Evidence Accepted | No server failed, or there was nothing to check. |
| Evidence Rejected | At least one server failed, or something could not be read (see the questions below). |
| Active | The check runs on its schedule. |
| Needs Attention | The check is switched on but the Microsoft Azure connection is not authorized, for example because the access was revoked. |
| Disabled | The check does not run. This is the status right after you add the app. |
Questions and troubleshooting
A server must stay as it is for a while
Select its row, click Accept until..., choose an end date at most 6 months away, give the reason and save the check. A check holds at most 50 acceptances; each covers only the state it was given for.
The result says "This check needs reads that ISOPlanner's Azure role doesn't have yet"
The access was set up without this check. Click Update access under Authorization and send the new link to your cloud administrator. When only some reads are missing, the panel names the parts, such as "PostgreSQL not checked: no read access", and the check runs on the rest.
The result says "Azure is not connected, so nothing was checked"
No access was set up, or Azure refuses ISOPlanner because the managed identity or its trust was deleted (Access revoked): click Set up again and send the link. With Setup failed the dialog names the reason; the setup article explains each one. When the dialog says access can't be set up on this ISOPlanner environment yet, or names a problem on ISOPlanner's side, nothing in your Azure needs to change.
Test is greyed out
The access is not Connected yet. Finish step 1 first.
The result says "ISOPlanner cannot read any Azure subscription", or a subscription shows Could not check
The role or its assignment is missing or was removed. Have it restored, then click Test connection in the Azure access dialog; or exclude the subscription. Such a row cannot be accepted.
The result says "The scope on the connection can't be used"
More than 50 subscriptions are in scope, or an exclusion has no reason. Correct it and click Save scope.
I cannot delete the check
A check of an app you subscribe to cannot be removed, only switched to Disabled. To stop paying for the Microsoft Azure app, cancel it in the Store. The access stays in Azure until your cloud administrator deletes the managed identity, the role assignment and the custom role.
Related articles
- Automated Control Monitoring: how control monitoring works, the trial and the price, the annual plan and the dashboards
- Give ISOPlanner read-only access to Azure: the setup for your cloud administrator
- Store
- Microsoft Azure: Key Vaults are locked down
- Microsoft Azure: logs are kept
- Microsoft Azure: secrets and keys do not expire unnoticed