webdevops/azure-audit-exporter

By webdevops

Updated almost 3 years ago

Prometheus exporter for Azure Audit informations (recommendations and stuff)

Image
Integration & Delivery
Monitoring & Observability
Security

784

Azure Audit Exporter

licenseDockerDocker Build Status

Prometheus exporter for Azure Audit informations.

Configuration

Normally no configuration is needed but can be customized using environment variables.

Environment variableDefaultValueDescription
AZURE_SUBSCRIPTION_IDemptyAzure Subscription IDs (empty for auto lookup)
AZURE_LOCATIONwesteurope, northeuropeAzure location for usage statitics
SCRAPE_TIME5mTime (time.Duration) between Azure API collections
SERVER_BIND:8080IP/Port binding
COLLECT_SUBSCRIPTIONfalseCollect azureaudit_subscription_info (if azure_resourcemanager_exporter is not used)
COLLECT_RESOURCEGROUPfalseCollect azureaudit_resourcegroup_info (if azure_resourcemanager_exporter is not used)

for Azure API authentication (using ENV vars) see https://github.com/Azure/azure-sdk-for-go#authentication

Metrics

MetricDescription
azurerm_subscription_infoAzure Subscription details (ID, name, ...; disabled by default)
azurerm_resourcegroup_infoAzure ResourceGroup details (subscriptionID, name, various tags ...; disabled by default)
azurerm_securitycenter_complianceAzure SecurityCenter compliance status
azurerm_advisor_recommendationAzure Adisor recommendations (eg. security findings)

Docker Pull Command

docker pull webdevops/azure-audit-exporter