-
Notifications
You must be signed in to change notification settings - Fork 2
Governance Policies Azure Data Stream Analytics
Governance policies for Stream Analytics
Domain: azure-data
| Name | Description |
|---|---|
| Stream Analytics job with managed identity and diagnostics | Production ASA job using managed identity for all connections |
| Description | Instead |
|---|---|
| Do not use connection strings for input/output authentication | Use managed identity (authenticationMode: Msi) for all data connections |
| Do not set outputErrorPolicy to Drop without explicit error handling | Use Stop policy and configure alerts on error metrics |
| Check | Severity | Description |
|---|---|---|
| AZ-ASA-001 | Required | Deploy Stream Analytics job with Standard SKU, managed identity, and secure networking |
| AZ-ASA-002 | Required | Use managed identity for all input and output connections |
| AZ-ASA-003 | Recommended | Deploy Stream Analytics in a dedicated cluster for VNet isolation |
| AZ-ASA-004 | Recommended | Enable diagnostic settings for Stream Analytics job metrics and logs |
Deploy Stream Analytics job with Standard SKU, managed identity, and secure networking
Severity: Required
Rationale: Managed identity eliminates connection strings; Standard SKU supports production workloads
Agents: terraform-agent, bicep-agent, cloud-architect
- Microsoft.StreamAnalytics/streamingJobs
| Resource | Name | Purpose |
|---|---|---|
| Microsoft.Storage/storageAccounts | st-asa-checkpoint | Storage account for Stream Analytics job checkpointing and state storage |
| Microsoft.StreamAnalytics/streamingJobs/inputs | asa-input | Input binding connecting the job to its event source (Event Hub, IoT Hub, etc.) |
| Microsoft.StreamAnalytics/streamingJobs/outputs | asa-output | Output binding connecting the job to its destination (Cosmos DB, SQL, Blob, etc.) |
| Microsoft.StreamAnalytics/clusters | asa-cluster | Dedicated cluster for VNet isolation of Stream Analytics jobs |
| Microsoft.Insights/diagnosticSettings | diag-asa | Diagnostic settings routing execution and authoring logs to Log Analytics |
Use managed identity for all input and output connections
Severity: Required
Rationale: Connection strings with keys are insecure and hard to rotate; managed identity is zero-credential
Agents: terraform-agent, bicep-agent, cloud-architect, app-developer, csharp-developer, python-developer
- Microsoft.StreamAnalytics/streamingJobs
| Resource | Name | Purpose |
|---|---|---|
| Microsoft.Authorization/roleAssignments | ASA Data Reader/Sender | Data reader/sender roles granting ASA managed identity access to input/output resources |
Deploy Stream Analytics in a dedicated cluster for VNet isolation
Severity: Recommended
Rationale: Dedicated clusters support private endpoints and VNet integration for network isolation
Agents: terraform-agent, bicep-agent, cloud-architect
- Microsoft.StreamAnalytics/streamingJobs
| Resource | Name | Purpose |
|---|---|---|
| Microsoft.Network/privateEndpoints | pe-asa-cluster | Private endpoints connecting the ASA cluster to input and output resources |
Enable diagnostic settings for Stream Analytics job metrics and logs
Severity: Recommended
Rationale: Monitor watermark delay, input/output events, and runtime errors
Agents: terraform-agent, bicep-agent, cloud-architect, monitoring-agent
- Microsoft.StreamAnalytics/streamingJobs
| Resource | Name | Purpose |
|---|---|---|
| Microsoft.OperationalInsights/workspaces | log-analytics | Log Analytics workspace as destination for Stream Analytics diagnostic data |
Getting Started
Stages
Interfaces
Configuration
Agent System
Features
- Backlog Generation
- Cost Analysis
- Error Analysis
- Docs & Spec Kit
- MCP Integration
- Knowledge System
- Escalation
Quality
Help
Policies — Azure
AI Services
Compute
Data Services
- Azure SQL
- Backup Vault
- Cosmos Db
- Data Factory
- Databricks
- Event Grid
- Event Hubs
- Fabric
- IoT Hub
- Mysql Flexible
- Postgresql Flexible
- Recovery Services
- Redis Cache
- Service Bus
- Stream Analytics
- Synapse Workspace
Identity
Management
Messaging
Monitoring
Networking
- Application Gateway
- Bastion
- CDN
- DDoS Protection
- DNS Zones
- Expressroute
- Firewall
- Load Balancer
- Nat Gateway
- Network Interface
- Private Endpoints
- Public Ip
- Route Tables
- Traffic Manager
- Virtual Network
- Vpn Gateway
- WAF Policy
Security
Storage
Web & App
Policies — Well-Architected
Reliability
Security
Cost Optimization
Operational Excellence
Performance Efficiency
Integration