Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 2 KB

azure-web-app.md

File metadata and controls

34 lines (25 loc) · 2 KB

Optional Publishing the Azure Governance Visualizer HTML to a Azure Web App

There are instances where you may want to publish the HTML output to a webapp so that anybody in the business can see up to date status of the Azure governance.

You can either setup the azure Web App manually or deploy code based using the Azure Governance Visualizer accelerator.

Manual setup

Prerequisites

  • Deploy a Web App on Azure. This can be the smallest SKU or a FREE SKU. It doesn't matter whether you choose Windows or Linux as the platform
    alt text
  • Step through the configuration. I typically use the Code for the publish and then select the Runtime stack that you standardize on alt text
  • No need to configure anything, unless your organization policies require you to do so
    NOTE: it is a good practice to tag your resource for operational and finance reasons
  • In the webapp Configuration add the name of the HTML output file to the Default Documents
    alt text
  • Make sure to configure Authentication!
    alt text

Azure DevOps

  • Assign the Azure DevOps Service Connection´s Service Principal with RBAC Role Website Contributor on the Azure Web App
  • Edit the .azuredevops/AzGovViz.variables.yml file
    alt text

GitHub Actions

  • Assign the Service Principal used in GitHub with RBAC Role Website Contributor on the Azure Web App
  • Edit the .github/workflows/AzGovViz_OIDC.yml or .github/workflows/AzGovViz.yml file
    alt text

Code based setup

Use the Azure Governance Visualizer accelerator to deploy the Azure Web App per code.