Azure
If you are using Spot Security for the first time, in the left main menu of the Spot console click Spot Security > Start With 30 Days Free Trial.
Prerequisites
Use the same service principal you created when you onboarded the Azure subscription to the Spot console for the Spot Security onboarding (based on individual subscriptions).
If you lost the service principal you used, you can access it in the Spot Accounts page. Select the account that you are onboarding by clicking the relevant client ID.
View image
Step 1: Connect your Azure Account
- If you already connected cloud accounts to Spot, in the left main menu of the Spot console, click Spot Security > Administration.
- Click Cloud Account > Azure > Log in to Azure Account.
- Enter your Azure Management Console and click Azure.
Step 2: Elevate Access to your Subscription ID
Step 2.1: Assign Reader, Storage Blob Data Reader Role
Assign a reader and storage blob data reader role to your Spot application registration subscription
- Sign in to your Azure account.
- Under All Services, select Subscriptions. Select the subscription to connect to Spot Security.
- In the Subscription menu, select Access Control (IAM) and click + Add > Add role assignment.
- Find and select the Reader role.
View image
-
Click Next.
-
On the Members tab:
- Make sure Assign access to is set to User, group, or service principal.
- Click + Select Members.
- Find and select the Spot application that you used during spot onboarding and click Select.
- Click Next.
-
Click Review + assign and wait for it to assign the Reader role to the Spot app registration.
View image
-
Repeat steps 3-7 for the Storage Blob Data Reader role.
-
Click the Role Assignments tab, search for your service principal, and make sure the app has both Reader and Storage Blob Data Reader roles assigned.
View image
-
Click on the service principal and copy the Object ID of the Application Service Principal and save it for the next step of onboarding.
View image
Step 2.2: Enter the Service Principal Object ID
-
Go to the Spot console and enter the Service Principal Object ID and click Validate.
-
When the Service Principal Object ID is successfully validated, click Next.
Step 3: Archive Activity Logs to a Storage Account
Step 3.1: Configure Export Activity Logs
-
Log in to your Azure account.
-
Under All Services, select Subscriptions. Select the subscription you would like to onboard to Spot Security.
-
Select Activity log > Export Activity Logs > + Add diagnostic setting.
View image
-
Enter a Diagnostic setting name.
-
Select Categories > Administrative.
-
Select Archive to a storage account and select the Subscription with the storage account. Make sure the service principal used for onboarding has access to the storage account.
-
Select the logs you want to archive from the Storage Account. Create a storage account if needed.
-
Copy the Storage account name and save it for the next step of onboarding.
-
Click Save.
Step 3.2: Enter Storage Account Name
-
Go to the Spot console, enter the storage account name copied in the previous step and click Validate.
View image
-
When the storage account name is validated, click Next.
Step 4: Review and Finalize
-
Review the information and ensure all details are correct.
View image
-
Click Finish Onboarding.