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.
- 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
- Step through the configuration. I typically use the Code for the publish and then select the Runtime stack that you standardize on
- 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
- Make sure to configure Authentication!
- 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
- 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
Use the Azure Governance Visualizer accelerator to deploy the Azure Web App per code.