How to connect?
To connect with Azure, go to https://detectify.com/app/connectors/add-connector and click on Azure.
Next, follow these steps in the Azure platform:
Generate an App Registration for the given Active Directory.
Navigate and select the created App Registration to view its overview.
Under Essentials, you will find Tenant ID and Client ID. Copy them and paste them in the Add connector flow in the Detectify tool.
In the same view navigate to Certificates and Secrets under Manage, in the side menu.
Choose the Client Secrets tab and create a New Client Secret.
Copy the Value of the newly created Client Secret and paste it in the Detectify tool. It will only be visible at its creation.
Now navigate to the Subscription app and choose Access control (IAM) from the side menu.
Click on Add and then add a custom role. In the JSON-tab, under “actions”, add one of the following snippets, you have two options:
A. Import all resources from all your subscriptions
To do so, leave the Subscription ID field blank and make sure that the API roles have the following permissions:
"actions": [
"Microsoft.Network/dnszones/read",
"Microsoft.Network/dnszones/*/read",
"Microsoft.Resources/subscriptions/read"
],B. Restrict resources with the Subscription ID
Only give DNS read permissions to the API role:
"actions": [
"Microsoft.Network/dnszones/read",
"Microsoft.Network/dnszones/*/read"
],
Still, under Access Control (IAM), click on Add and add a role assignment.
Find and select the newly created custom role.
Assign access to “User, group or service principal”.
Click on select members and start typing the name of the App Registration you have previously added. Select it. Then finalize with Review + Assign.
Still in the Subscription app, navigate to the overview, in the side menu
Copy the Subscription ID of the subscription linked to the given Active Directory and paste it in the Detectify tool.
Lastly, give the connector a descriptive name.
When the connector is created, it will be seen in the list of connectors on the connectors page. Domains stored in Azure will be synced with your Detectify team continuously. You can also manually sync by clicking the Action menu on your Azure connector in the list of connectors and clicking Schedule import now.