Set up
Nothing is deployed in Azure. Cloud Capture reads a subscription as a Kosli application registered in Microsoft Entra, which you consent to in your tenant and then grant read access on each subscription.1
Consent to the Kosli application
In your organization’s Settings, go to Cloud Capture, open Azure, and select Register account. Follow the Consent in Azure link as a Global Administrator of your tenant. Consenting creates the application’s service principal in your tenant; it has no access until you grant it some in the next step.
2
Grant access and tag the subscription
The registration form shows three Azure CLI commands with your values filled in. Run them as an owner of the subscription:
Reader lets Cloud Capture list the App Service sites and read tags, and AcrPull lets it fingerprint their container images. The kosli-external-id tag is how Cloud Capture checks the subscription is yours to read: it refuses to list a subscription whose tag does not carry your organization’s external ID.3
Register the subscription
Accounts can only be registered while Cloud Capture is enabled. When you have consented to the application, granted it access, and tagged the subscription, enter the Tenant ID and Subscription ID in the same registration form and save it. Register each subscription you want scanned.Azure has no regions to choose: Cloud Capture scans the whole subscription and reports each resource group that holds running container-based web apps into its own environment.Cloud Capture scans every five minutes unless you choose another frequency, and picks up a registered subscription the next time it runs - you should see environments and snapshots appearing within a few minutes.
Excluding resources
Exclude resources by tagging the resource group that holds them. In your organization’s Settings, go to Cloud Capture, open Azure, and add the tag to the Skip tags panel in the Azure defaults. Cloud Capture skips every resource group that carries one of the tags, with all of the web apps in it; tags on an individual web app are not read. Key and value must both match the resource group’s tag exactly. Through the API, the tags are theazure list of skip_tags; see Using the API.
Permissions and security
For the model that is common to every cloud, see Cloud Capture security. Nothing is deployed in your Azure tenant. Kosli registers one multi-tenant application in Microsoft Entra, and Cloud Capture reads your subscription as that application. The application’s credentials are Kosli’s own and never leave Kosli. Access is granted in three steps, each of which you control:- Consent. A Global Administrator of your tenant consents to the Kosli application, which creates its service principal in your tenant. Consent alone grants no access to any subscription.
-
Role assignments. You assign the application two built-in roles on each subscription you want scanned:
-
A tag on the subscription. You tag the subscription
kosli-external-idwith your organization’s external ID. Cloud Capture refuses to list a subscription whose tag does not match the external ID of the organization it is working for.
Tenant isolation
- The Kosli application’s credentials are held by Kosli and are not readable by the part of Cloud Capture that plans work, only by the workers that carry it out.
- Before a worker lists anything in a subscription, it reads the subscription’s
kosli-external-idtag and compares it with the external ID of the organization the job is for. Only someone with write access to your subscription can set that tag, so another Kosli tenant that registered your subscription ID would be refused. - The application has access only to the subscriptions on which you assigned it a role.