Fast, searchable viewer for 70,000+ Azure Policy aliases with a beautiful Tokyo Night theme.
- 🚀 Blazing fast - Loads 72,000+ aliases in ~10 seconds
- 🔎 Instant search - Filter by namespace, resource type, or alias name
- 📊 Smart sorting - Sort any column with one click
- 📥 CSV export - Download filtered results
- 🎨 Beautiful UI - Tokyo Night theme with responsive design
- 💾 Smart caching - 1-hour cache reduces API calls
- ⚡ Live updates - Manual refresh when you need fresh data
# Local development
uv sync
az login
export SUBSCRIPTION_ID=$(az account show --query id -o tsv)
task devVisit http://localhost:8000
Prerequisites:
- Azure Service Principal with
Readerrole on the subscription - Kubernetes secret with service principal credentials
Create the secret:
kubectl create secret generic azpolicyalias-secrets \
--from-literal=AZURE_CLIENT_ID=<service-principal-app-id> \
--from-literal=AZURE_TENANT_ID=<tenant-id> \
--from-literal=AZURE_CLIENT_SECRET=<service-principal-secret> \
--from-literal=SUBSCRIPTION_ID=<subscription-id>Deploy:
kubectl apply -f k8s/helmrelease.yamlCI/CD builds and pushes the Docker image automatically.
Local: Uses Azure CLI credentials (az login)
Production: Kubernetes secret azpolicyalias-secrets with:
SUBSCRIPTION_ID- Your Azure subscription IDAZURE_CLIENT_ID- Service principal application IDAZURE_TENANT_ID- Azure tenant IDAZURE_CLIENT_SECRET- Service principal secret
- Search - Type in the search box (Ctrl/Cmd+K)
- Filter - Select a namespace from the dropdown
- Sort - Click any column header
- Export - Click "Export CSV" to download results
- Refresh - Click "Refresh Cache" for latest data
- Backend: FastAPI with Azure SDK
- Frontend: Vanilla JS with Tokyo Night theme
- Caching: In-memory with 1-hour TTL
- Auth: ChainedTokenCredential (CLI → Service Principal → Default)
- Developer Guide - Local development setup
MIT License - see LICENSE file for details.