Skip to content

Commit

Permalink
add csEnvironment field in KQL Query
Browse files Browse the repository at this point in the history
  • Loading branch information
fslef committed Apr 30, 2024
1 parent 1896dfb commit d56960e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Public/Get-CsAzGovAssignment.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ function Get-CsAzGovAssignment {
'Completed'
)
| where completionStatus in~ ($completionStatus)
| project resourceId,assessmentName, assignmentKey,displayName, completionStatus, resourceType, resourceName, owner, dueDate, isGracePeriod, disableOwnerEmailNotification, disableManagerEmailNotification, emailNotificationDayOfWeek
| extend csEnvironment = '$CsEnvironment'
| project csEnvironment, resourceId,assessmentName, assignmentKey,displayName, completionStatus, resourceType, resourceName, owner, dueDate, isGracePeriod, disableOwnerEmailNotification, disableManagerEmailNotification, emailNotificationDayOfWeek
| order by completionStatus, displayName, owner
"@

Expand Down

0 comments on commit d56960e

Please sign in to comment.