Skip to content

Commit

Permalink
status
Browse files Browse the repository at this point in the history
  • Loading branch information
meganbradley committed Nov 28, 2024
1 parent 0a167e8 commit ee2368f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This command gets insights and activities for an Entity.

### Example 2: Get Insights and Activities for an Entity by Id
```powershell
$Entity = Get-AzSentinelEntity -ResourceGroupName "myResourceGroupName" -workspaceName "myWorkspaceName" -EntityId "00001111-aaaa-2222-bbbb-3333cccc4444"
$Entity = Get-AzSentinelEntity -ResourceGroupName "myResourceGroupName" -workspaceName "myWorkspaceName" -EntityId "00aa00aa-bb11-cc22-dd33-44ee44ee44ee"
$Entity | Get-AzSentinelEntityActivity
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This command gets insights for an Entity for a given time range.
```powershell
$startTime = (Get-Date).AddDays(-7).ToUniversalTime() | Get-Date -Format "yyyy-MM-ddThh:00:00.000Z"
$endTime = (Get-Date).ToUniversalTime() | Get-Date -Format "yyyy-MM-ddThh:00:00.000Z"
$Entity = Get-AzSentinelEntity -ResourceGroupName "myResourceGroupName" -workspaceName "myWorkspaceName" -EntityId "00001111-aaaa-2222-bbbb-3333cccc4444"
$Entity = Get-AzSentinelEntity -ResourceGroupName "myResourceGroupName" -workspaceName "myWorkspaceName" -EntityId "00aa00aa-bb11-cc22-dd33-44ee44ee44ee"
$Entity | Get-AzSentinelEntityInsight -EndTime $endTime -StartTime $startTime
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ $incident = Get-AzSentinelIncident -ResourceGroupName "myResourceGroup" -Workspa
Description :
Name : Incident : NewIncident3
PrimaryChannelUrl : https://teams.microsoft.com/l/team/19:vYoGjeGlZmTEDmu0gTbrk9T_eDS4pKIkEU7UuM1IyZk1%40thread.tacv2/conversations?groupId=3c637cc5-caf1-46c7-93ac-069c6
4b05395&tenantId=00001111-aaaa-2222-bbbb-3333cccc4444
4b05395&tenantId=aaaabbbb-0000-cccc-1111-dddd2222eeee
TeamCreationTimeUtc : 2/4/2022 3:02:03 PM
TeamId : 3c637cc5-caf1-46c7-93ac-069c64b05395
```
Expand Down

0 comments on commit ee2368f

Please sign in to comment.