This repository contains Azure Functions for processing network flow logs from Azure.
- vnet-flow-logs: Processes VNet flow logs
- nsg-flow-logs: Processes NSG (Network Security Group) flow logs
The easiest way to build deployment packages is using mise:
# Build vnet-flow-logs package
mise run build-vnet
# Build nsg-flow-logs package
mise run build-nsg
# Show all available commands
mise run helpThis will create Linux-compatible deployment packages using Docker, ensuring they work correctly in Azure Functions runtime regardless of your local OS.
vnet-flow-logs/vnet.zip- Ready to deploy to Azurensg-flow-logs/nsg.zip- Ready to deploy to Azure
- BUILD.md - Detailed build instructions, troubleshooting, and deployment guide
- README-MISE.md - Development environment setup with mise
- Docker (for building Linux-compatible packages)
- mise (task runner and environment manager)
- Python 3.13+ (for local development)
GitHub Actions automatically builds deployment packages on push to main branches. Artifacts are available in the Actions tab for 30 days.
Each function directory contains:
cortex_function/- Function coderequirements.txt- Python dependencieshost.json- Azure Functions configurationtests/- Unit tests (vnet-flow-logs)
See individual function directories for specific licensing information.