Create Pull Request
| Date | Scan | Status | Result |
|---|---|---|---|
| 2026-01-14 00:00 | #250 | in_progress |
Biased
|
| 2026-01-13 00:00 | #246 | completed |
Biased
|
| 2026-01-12 00:00 | #243 | cancelled |
Biased
|
| 2026-01-11 00:00 | #240 | completed |
Biased
|
| 2026-01-10 00:00 | #237 | completed |
Biased
|
| 2026-01-09 00:34 | #234 | completed |
Biased
|
| 2026-01-08 00:53 | #231 | completed |
Clean
|
| 2026-01-06 18:15 | #225 | cancelled |
Clean
|
| 2025-08-17 00:01 | #83 | cancelled |
Clean
|
| 2025-07-13 21:37 | #48 | completed |
Clean
|
| 2025-07-09 13:09 | #3 | cancelled |
Clean
|
| 2025-07-08 04:23 | #2 | cancelled |
Biased
|
# Find the ResourceId for the Log Analytics workspace
$WorkspaceResourceId = (Get-AzResource `
-ResourceType 'Microsoft.OperationalInsights/workspaces' |
WHERE {$_.Name -eq $law}).ResourceId
# Sign in to your Azure subscription
$sub = Get-AzSubscription -ErrorAction SilentlyContinue
if (-not($sub)) {
Connect-AzAccount
}
# If you have multiple subscriptions, set the one to use
# Select-AzSubscription -SubscriptionId "<SUBSCRIPTIONID>"
$automationAccount = "automationAccount" $law = "workspaceName"
# Find the ResourceId for the Automation account
$AutomationResourceId = (Get-AzResource -ResourceType 'Microsoft.Automation/automationAccounts' |
Where-Object {$_.Name -eq $automationAccount}).ResourceId
$setAzDiagnosticSettingSplat = @{
ResourceId = $AutomationResourceId
WorkspaceId = $WorkspaceResourceId
Enabled = $false
Category = 'DscNodeStatus'
}
Set-AzDiagnosticSetting @setAzDiagnosticSettingSplat
$setAzDiagnosticSettingSplat = @{
ResourceId = $AutomationResourceId
WorkspaceId = $WorkspaceResourceId
Enabled = $true
Category = 'DscNodeStatus'
}
Set-AzDiagnosticSetting @setAzDiagnosticSettingSplat
AzureDiagnostics | where Category == "DscNodeStatus" | where OperationName contains "DSCNodeStatusData" | where ResultType != "Compliant"