Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BULK] - DocuTune remediation - Sensitive terms with GUIDs (part 5) #1023

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ syntaxes:
examples:
- title: Example 1
code: |-
PS C:\> Get-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Filter "ResourceId eq 'e5e7d29d-5465-45ac-885f-4716a5ee74b5'"
PS C:\> Get-AzureADMSPrivilegedRoleAssignmentRequest -ProviderId AzureResources -Filter "ResourceId eq 'a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1'"
description: |-
Get all role assigment requests for a specific provider and resource
summary: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ Get role definitions

### Example 1
```
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Top 10
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 -Top 10
```

Get role definitions for a specific provider and resource

### Example 1
```
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Id ff67e02b-d77b-4588-9f32-e02b7da6539b
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 -Id b1b1b1b1-cccc-dddd-eeee-f2f2f2f2f2f2
```

Get a role definitions for a specific provider, resource and Id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ syntaxes:
examples:
- title: Example 1
code: |-
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Top 10
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 -Top 10
description: |-
Get role definitions for a specific provider and resource
summary: ""
- title: Example 1
code: |-
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId e5e7d29d-5465-45ac-885f-4716a5ee74b5 -Id ff67e02b-d77b-4588-9f32-e02b7da6539b
PS C:\> Get-AzureADMSPrivilegedRoleDefinition -ProviderId AzureResources -ResourceId a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1 -Id b1b1b1b1-cccc-dddd-eeee-f2f2f2f2f2f2
description: |-
Get a role definitions for a specific provider, resource and Id
summary: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Get role settings

### Example 1
```
PS C:\> Get-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Filter "ResourceId eq 'e5e7d29d-5465-45ac-885f-4716a5ee74b5'"
PS C:\> Get-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Filter "ResourceId eq 'a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1'"
```

Get role settings for a specific provider and resource
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ syntaxes:
examples:
- title: Example 1
code: |-
PS C:\> Get-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Filter "ResourceId eq 'e5e7d29d-5465-45ac-885f-4716a5ee74b5'"
PS C:\> Get-AzureADMSPrivilegedRoleSetting -ProviderId AzureResources -Filter "ResourceId eq 'a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1'"
description: |-
Get role settings for a specific provider and resource
summary: ""
Expand Down
10 changes: 5 additions & 5 deletions azureadps-2.0-preview/AzureAD/Get-AzureADMSRoleAssignment.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ PS C:\> Get-AzureADMSRoleAssignment -Filter "roleDefinitionId eq '62e90394-69f5-

RoleDefinitionId PrincipalId ResourceScope Id
---------------- ----------- ------------- --
62e90394-69f5-4237-9190-012177145e34 69584002-b4d1-4055-9c94-320542efd653 / lAPpYvVpN0KRkAEhdxReEAJAWGnRqAVAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 aaaaaaaa-bbbb-cccc-1111-222222222222 / lAPpYvVpN0KRkAEhdxReEAJAWGnRqAVAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 3f5e48d2-6bf4-4bf3-a4ff-8bbd9f23ed0b / lAPpYvVpN0KRkAEhdxReENJPEj_0a_NLpP-LvZ8D7Qs-1
```

### Example 2
```
PS C:\> Get-AzureADMSRoleAssignment -Filter "principalId eq '69584002-b4d1-4055-9c94-320542efd653'"
PS C:\> Get-AzureADMSRoleAssignment -Filter "principalId eq 'aaaaaaaa-bbbb-cccc-1111-222222222222'"

RoleDefinitionId PrincipalId ResourceScope Id
---------------- ----------- ------------- --
89c55b63-78c3-478b-b79e-074d0e87269e 69584002-b4d1-4055-9c94-320542efd653 / Y1vFBcN4i0e3ngdNDocmngJAWGnRtGDAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 69584002-b4d1-4055-9c94-320542efd653 / lAPpYvVpN0KRkAEhdxReEAJAWGnRtGDAnJQyBBLv1lM-1
eb1d8c90-acf5-460d-8424-c1f1a6fbdb85 69584002-b4d1-4055-9c94-320542efd653 / NIwd6_WsDUaEJMHxpvvbhQJAWGnRtGDAnJQyBBLv1lM-1
89c55b63-78c3-478b-b79e-074d0e87269e aaaaaaaa-bbbb-cccc-1111-222222222222 / Y1vFBcN4i0e3ngdNDocmngJAWGnRtGDAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 aaaaaaaa-bbbb-cccc-1111-222222222222 / lAPpYvVpN0KRkAEhdxReEAJAWGnRtGDAnJQyBBLv1lM-1
eb1d8c90-acf5-460d-8424-c1f1a6fbdb85 aaaaaaaa-bbbb-cccc-1111-222222222222 / NIwd6_WsDUaEJMHxpvvbhQJAWGnRtGDAnJQyBBLv1lM-1
```

## PARAMETERS
Expand Down
8 changes: 4 additions & 4 deletions azureadps-2.0-preview/AzureAD/Get-AzureADMSRoleAssignment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ examples:

RoleDefinitionId PrincipalId ResourceScope Id
---------------- ----------- ------------- --
62e90394-69f5-4237-9190-012177145e34 69584002-b4d1-4055-9c94-320542efd653 / lAPpYvVpN0KRkAEhdxReEAJAWGnRqAVAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 aaaaaaaa-bbbb-cccc-1111-222222222222 / lAPpYvVpN0KRkAEhdxReEAJAWGnRqAVAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 3f5e48d2-6bf4-4bf3-a4ff-8bbd9f23ed0b / lAPpYvVpN0KRkAEhdxReENJPEj_0a_NLpP-LvZ8D7Qs-1
description: ""
summary: ""
- title: Example 2
code: |-
PS C:\> Get-AzureADMSRoleAssignment -Filter "principalId eq '69584002-b4d1-4055-9c94-320542efd653'"
PS C:\> Get-AzureADMSRoleAssignment -Filter "principalId eq 'aaaaaaaa-bbbb-cccc-1111-222222222222'"

RoleDefinitionId PrincipalId ResourceScope Id
---------------- ----------- ------------- --
89c55b63-78c3-478b-b79e-074d0e87269e 69584002-b4d1-4055-9c94-320542efd653 / Y1vFBcN4i0e3ngdNDocmngJAWGnRtGDAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 69584002-b4d1-4055-9c94-320542efd653 / lAPpYvVpN0KRkAEhdxReEAJAWGnRtGDAnJQyBBLv1lM-1
89c55b63-78c3-478b-b79e-074d0e87269e aaaaaaaa-bbbb-cccc-1111-222222222222 / Y1vFBcN4i0e3ngdNDocmngJAWGnRtGDAnJQyBBLv1lM-1
62e90394-69f5-4237-9190-012177145e34 aaaaaaaa-bbbb-cccc-1111-222222222222 / lAPpYvVpN0KRkAEhdxReEAJAWGnRtGDAnJQyBBLv1lM-1
eb1d8c90-acf5-460d-8424-c1f1a6fbdb85 69584002-b4d1-4055-9c94-320542efd653 / NIwd6_WsDUaEJMHxpvvbhQJAWGnRtGDAnJQyBBLv1lM-1
description: ""
summary: ""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Id : 055aa618-7c74-40ee-b278-75545562c3d6
ObjectId :
DeletionTimestamp :
AccountEnabled : true
AppId : 6ff5f225-c1d3-46cc-b89e-39e679ff746f
AppId : 00001111-aaaa-2222-bbbb-3333cccc4444
AppDisplayName : App Name
ApplicationTemplateId :
AppRoleAssignmentRequired : False
Expand All @@ -56,7 +56,7 @@ MicrosoftFirstParty :
PublisherName : Microsoft Services
PreferredTokenSigningKeyThumbprint :
ReplyUrls : {}
ServicePrincipalNames : {6ff5f225-c1d3-46cc-b89e-39e679ff746f}
ServicePrincipalNames : {00001111-aaaa-2222-bbbb-3333cccc4444}
Tags : {}
KeyCredentials : {}
PasswordCredentials : {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ examples:
ObjectId :
DeletionTimestamp :
AccountEnabled : true
AppId : 6ff5f225-c1d3-46cc-b89e-39e679ff746f
AppId : 00001111-aaaa-2222-bbbb-3333cccc4444
AppDisplayName : App Name
ApplicationTemplateId :
AppRoleAssignmentRequired : False
Expand All @@ -44,7 +44,7 @@ examples:
PublisherName : Microsoft Services
PreferredTokenSigningKeyThumbprint :
ReplyUrls : {}
ServicePrincipalNames : {6ff5f225-c1d3-46cc-b89e-39e679ff746f}
ServicePrincipalNames : {00001111-aaaa-2222-bbbb-3333cccc4444}
Tags : {}
KeyCredentials : {}
PasswordCredentials : {}
Expand Down
4 changes: 2 additions & 2 deletions azureadps-2.0-preview/AzureAD/Get-AzureADObjectByObjectId.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ Retrieves the object(s) specified by the objectIds parameter

### Example 1
```
PS C:\WINDOWS\system32> Get-AzureADObjectByObjectId -ObjectIds 2af3478a-27da-4837-a387-b22b3fb236a8, c4fdf87f-f68e-4859-8bcf-36579b66005e
PS C:\WINDOWS\system32> Get-AzureADObjectByObjectId -ObjectIds aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, c4fdf87f-f68e-4859-8bcf-36579b66005e

ObjectId AppId DisplayName
-------- ----- -----------
c4fdf87f-f68e-4859-8bcf-36579b66005e 71715b24-8cdd-432b-a138-86e8ad179274 Woodgrove HR App

DeletionTimeStamp :
ObjectId : 2af3478a-27da-4837-a387-b22b3fb236a8
ObjectId : aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
ObjectType : DeviceConfiguration
PublicIssuerCertificates : {}
CloudPublicIssuerCertificates : {}
Expand Down
4 changes: 2 additions & 2 deletions azureadps-2.0-preview/AzureAD/Get-AzureADObjectByObjectId.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ syntaxes:
examples:
- title: Example 1
code: |-
PS C:\WINDOWS\system32> Get-AzureADObjectByObjectId -ObjectIds 2af3478a-27da-4837-a387-b22b3fb236a8, c4fdf87f-f68e-4859-8bcf-36579b66005e
PS C:\WINDOWS\system32> Get-AzureADObjectByObjectId -ObjectIds aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb, c4fdf87f-f68e-4859-8bcf-36579b66005e

ObjectId AppId DisplayName
-------- ----- -----------
c4fdf87f-f68e-4859-8bcf-36579b66005e 71715b24-8cdd-432b-a138-86e8ad179274 Woodgrove HR App

DeletionTimeStamp :
ObjectId : 2af3478a-27da-4837-a387-b22b3fb236a8
ObjectId : aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb
ObjectType : DeviceConfiguration
PublicIssuerCertificates : {}
CloudPublicIssuerCertificates : {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The **Get-AzureADUserCreatedObject** cmdlet gets objects created by a user in Az

### Example 1: Get a user-created object
```
PS C:\>Get-AzureADUserCreatedObject -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
PS C:\>Get-AzureADUserCreatedObject -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId ObjectType
-------- ----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ syntaxes:
examples:
- title: 'Example 1: Get a user-created object'
code: |-
PS C:\>Get-AzureADUserCreatedObject -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
PS C:\>Get-AzureADUserCreatedObject -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId ObjectType
-------- ----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The **Get-AzureADUserDirectReport** cmdlet gets the direct reports for a user in

### Example 1: Get a user's direct reports
```
PS C:\>Get-AzureADUserDirectReport -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
PS C:\>Get-AzureADUserDirectReport -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId ObjectType
-------- ----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ syntaxes:
examples:
- title: "Example 1: Get a user's direct reports"
code: |-
PS C:\>Get-AzureADUserDirectReport -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
PS C:\>Get-AzureADUserDirectReport -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId ObjectType
-------- ----------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ THis cmdlet retrieves license details for a user

### Example 1
```
PS C:\WINDOWS\system32> Get-AzureADUserLicenseDetail -ObjectId df19e8e6-2ad7-453e-87f5-037f6529ae16
PS C:\WINDOWS\system32> Get-AzureADUserLicenseDetail -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

ObjectId ServicePlans
-------- ------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ syntaxes:
examples:
- title: Example 1
code: |-
PS C:\WINDOWS\system32> Get-AzureADUserLicenseDetail -ObjectId df19e8e6-2ad7-453e-87f5-037f6529ae16
PS C:\WINDOWS\system32> Get-AzureADUserLicenseDetail -ObjectId aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb

ObjectId ServicePlans
-------- ------------
Expand Down
3 changes: 1 addition & 2 deletions azureadps-2.0-preview/AzureAD/Get-AzureADUserManager.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The **Get-AzureADUserManager** cmdlet gets the manager of a user in Azure Active

### Example 1: Get the manager of a user
```
PS C:\>Get-AzureADUserManager -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
PS C:\>Get-AzureADUserManager -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId ObjectType
-------- ----------
Expand Down Expand Up @@ -104,4 +104,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[Remove-AzureADUserManager](./Remove-AzureADUserManager.md)

[Set-AzureADUserManager](./Set-AzureADUserManager.md)

2 changes: 1 addition & 1 deletion azureadps-2.0-preview/AzureAD/Get-AzureADUserManager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ syntaxes:
examples:
- title: 'Example 1: Get the manager of a user'
code: |-
PS C:\>Get-AzureADUserManager -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
PS C:\>Get-AzureADUserManager -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId ObjectType
-------- ----------
Expand Down
2 changes: 1 addition & 1 deletion azureadps-2.0-preview/AzureAD/Get-AzureADUserMembership.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The **Get-AzureADUserMembership** cmdlet gets user memberships in Azure Active D

### Example 1: Get user memberships
```
PS C:\>Get-AzureADUserMembership -ObjectId "df19e8e6-2ad7-453e-87f5-037f6529ae16"
PS C:\>Get-AzureADUserMembership -ObjectId "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb"

ObjectId ObjectType
-------- ----------
Expand Down