DEV Community

Eng Soon Cheah
Eng Soon Cheah

Posted on

3 1

Azure Tenant Security Solution (AzTS)

Secure DevOps Kit for Azure (AzSK) is being phased out through FY21.The AzSK is transitioning to a more scalable and robust solution called Azure Tenant Security scanner (AzTS) which is based on Azure Functions and a central scan model where scans are performed via a managed identity with Reader access to subscriptions configured at management group level. This new approach helps us scale efficiently and with less process overhead to get the same level of visibility to compliance of several thousand subscriptions. It is also designed to help accelerate our migration to native security offerings in Azure such as Policy, Security Center, Management Groups, Azure Resource Graph, etc.

Steps:

  1. Download the Power Shell Scripts from Here ( https://github.com/azsk/AzTS-docs/blob/main/TemplateFiles/DeploymentFiles.zip?raw=1)
  2. Open the DeploymentFolder that you had created and open the ExecutionScript.ps script with Power Shell IDE
    Alt Text

  3. Replace the information for
    $TenantId - you can get in the Azure Active Directory
    Alt Text

$MIHostingSubId,$HostSubscriptionId - Your Subscription ID
$MIHostingRGName,$HostResourceGroupName - Resources Group Name
$Location -"East Asia"
$MIName = "Name of the Scanner MI"
$TargetSubscriptionIds - Your Subscription ID
$AzureEnvironmentName = "AzureCloud" or others
$SendAlertNotificationToEmailIds = the email to receive notification

4.After execute the scripts, you will saw the azure services are setup in your resources group.
Alt Text

5.When you open the webapp, the data is still blank.
Remember to execute the PowerShell Command, its take around 15 minutes.

Start-AzSKTenantSecuritySolutionOnDemandScan -SubscriptionId $HostSubscriptionId1 -ScanHostRGName $HostResourceGroupName1
Enter fullscreen mode Exit fullscreen mode

After end of execution, the messages will display
"Subscriptions have been queued for scan. The scan result will be available in the next 2 hours."

At the end,Open the webapp again,you will get the results as below
Alt Text

Reference:
https://github.com/azsk/AzTS-docs

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more