Getting Started on PingSafe
  1. PingSafe Knowledge Base
  2. Getting Started on PingSafe

Connect your Azure Subscription with PingSafe

This article explains how you can connect your Azure Subscription with PingSafe for detecting security vulnerabilities continuously.

Clients can now onboard their Azure Cloud Subscription on the PingSafe platform and have centralised management for the subscriptions.

  1. Click on the Settings ⚙️ button in the top right corner.

  2. From the left navigation panel click on "Cloud Configuration" button.

  3. Click on the "Add account" button in the top right corner.

  4. Click on the “Connect” button present under “Microsoft Azure”.
  5. Select “Subscription” from the “Onboard” option, fill in the “Account Name”, “Subscription ID”, and “Tenant ID”.

  6. Now, Select the Mode:
    • Detect Mode: PingSafe has read-only access to the resources in your Azure Cloud account. 
    • Detect & Auto remediate: PingSafe has read/write access to the resources. You will have to enable/disable this feature for each plugin that supports auto-remediation.
  7. Download the “Terraform script”.

  8. Open the Azure Cloud Shell.
  9. Please remove any existing terraform (*.tf) or terraform state files (*.tfstate), as conflicts may arise once we upload PingSafe's terraform scripts.
    rm *.tf* 
  10. Click on the “Upload” button and select the downloaded “Terraform Script”.
  11. Execute the below command in the same directory where the terraform file has been uploaded and enter “Yes” when prompted.
    terraform init && terraform apply

  12. After the terraform code is successfully executed, navigate to the “consent_link” received on the Azure Cloud shell.

  13. Under “Configured permissions”, click on “Grant admin consent for Default Directory”.

  14. Click on the “Yes” button in Grant admin consent confirmation.

  15. Copy the “application_id” and “client_secret” from the Azure cloud shell.

  16. Paste the copied “application_id” and “client_secret” on PingSafe and click on the “Next” button.

  17. Select the accounts according to your preference and click on the “Next” button.
  18. Click on Finish button. Note that the Azure Tenant has been successfully onboarded.