This is the sample Flask application for the Azure Quickstart Deploy a Python (Django or Flask) web app to Azure App Service. For instructions on how to create the Azure resources and deploy the application to Azure, refer to the Quickstart article.
A Django sample application is also available for the article at https://github.com/Azure-Samples/msdocs-python-django-webapp-quickstart.
If you need an Azure account, you can create one for free.
Configure the following variables (Store the secrets in Key vault or directly pass the values) for Azure Sentinel interaction after navigating to application settings (Web app -> Configuration -> Application Settings),
Name: WORKSPACE_ID
Value: @Microsoft.KeyVault(SecretUri=)
Name: SHARED_KEY
Value: @Microsoft.KeyVault(SecretUri=)
Key vault settings:
https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=portal%2Chttp
- Install Visual Studio Code Version >= 1.64.1
- Install Extensions Azure Tools, Azure App Service in Visual Studio Code
- git clone https://github.com/PaloAltoNetworks/cdl-decompress-proxy-sentinel-ingest.git
- Open the folder cdl-decompress-proxy-sentinel-ingest in Visual Studio Code
- Click the Azure Icon, Sign Into Azure ->
Create new Web App
- Right Click the Web App created and chose
Deploy to Web App