File tree Expand file tree Collapse file tree 4 files changed +42
-9
lines changed Expand file tree Collapse file tree 4 files changed +42
-9
lines changed Original file line number Diff line number Diff line change 19
19
-->
20
20
## Upcoming Release
21
21
* Fixed miscellaneous typos across module
22
+ * Add CosmosDB ATP to md files
22
23
23
24
## Version 0.7.5
24
25
* Use NextLink for return maximum of 1500 security alerts in command Get-AzSecurityAlert
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ schema: 2.0.0
8
8
# Disable-AzSecurityAdvancedThreatProtection
9
9
10
10
## SYNOPSIS
11
- Disables the advanced threat protection policy for a storage account.
11
+ Disables the advanced threat protection policy for a storage / cosmosDB account.
12
12
13
13
## SYNTAX
14
14
@@ -18,12 +18,12 @@ Disable-AzSecurityAdvancedThreatProtection -ResourceId <String> [-DefaultProfile
18
18
```
19
19
20
20
## DESCRIPTION
21
- The ` Disable-AzSecurityAdvancedThreatProtection ` cmdlet disables the threat protection policy for a storage account.
21
+ The ` Disable-AzSecurityAdvancedThreatProtection ` cmdlet disables the threat protection policy for a storage / cosmosDB account.
22
22
To use this cmdlet, specify the * ResourceId* parameter.
23
23
24
24
## EXAMPLES
25
25
26
- ### Example 1
26
+ ### Example 1 : Storage Account
27
27
``` powershell
28
28
PS C:\> Disable-AzSecurityAdvancedThreatProtection -ResourceId "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount/"
29
29
@@ -34,6 +34,17 @@ IsEnabled Id
34
34
35
35
This command disables the advanced threat protection policy for resource id ` "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount/" ` .
36
36
37
+ ### Example 2 : CosmosDB Account
38
+ ``` powershell
39
+ PS C:\> Disable-AzSecurityAdvancedThreatProtection -ResourceId "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/"
40
+
41
+ IsEnabled Id
42
+ --------- --
43
+ False "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/"
44
+ ```
45
+ This command disables the advanced threat protection policy for resource id ` "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/" ` .
46
+
47
+
37
48
## PARAMETERS
38
49
39
50
### -DefaultProfile
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ schema: 2.0.0
8
8
# Enable-AzSecurityAdvancedThreatProtection
9
9
10
10
## SYNOPSIS
11
- Enables the advanced threat protection policy for a storage account.
11
+ Enables the advanced threat protection policy for a storage / cosmosDB account.
12
12
13
13
## SYNTAX
14
14
@@ -18,12 +18,12 @@ Enable-AzSecurityAdvancedThreatProtection -ResourceId <String> [-DefaultProfile
18
18
```
19
19
20
20
## DESCRIPTION
21
- The ` Enable-AzSecurityAdvancedThreatProtection ` cmdlet enables the threat protection policy for a storage account.
21
+ The ` Enable-AzSecurityAdvancedThreatProtection ` cmdlet enables the threat protection policy for a storage / cosmosDB account.
22
22
To use this cmdlet, specify the * ResourceId* parameter.
23
23
24
24
## EXAMPLES
25
25
26
- ### Example 1
26
+ ### Example 1 : Storage Account
27
27
``` powershell
28
28
PS C:\> Enable-AzSecurityAdvancedThreatProtection -ResourceId "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount/"
29
29
@@ -34,6 +34,16 @@ IsEnabled Id
34
34
35
35
This command enables the advanced threat protection policy for resource id ` "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount/" ` .
36
36
37
+ ### Example 2 : CosmosDB Account
38
+ ``` powershell
39
+ PS C:\> Enable-AzSecurityAdvancedThreatProtection -ResourceId "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/"
40
+
41
+ IsEnabled Id
42
+ --------- --
43
+ True "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/"
44
+ ```
45
+ This command enables the advanced threat protection policy for resource id ` "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/" ` .
46
+
37
47
## PARAMETERS
38
48
39
49
### -DefaultProfile
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ schema: 2.0.0
8
8
# Get-AzSecurityAdvancedThreatProtection
9
9
10
10
## SYNOPSIS
11
- Gets the advanced threat protection policy for a storage account.
11
+ Gets the advanced threat protection policy for a storage / cosmosDB account.
12
12
13
13
## SYNTAX
14
14
@@ -18,12 +18,12 @@ Get-AzSecurityAdvancedThreatProtection -ResourceId <String> [-DefaultProfile <IA
18
18
```
19
19
20
20
## DESCRIPTION
21
- The ` Get-AzSecurityAdvancedThreatProtection ` cmdlet gets the threat protection policy for a storage account.
21
+ The ` Get-AzSecurityAdvancedThreatProtection ` cmdlet gets the threat protection policy for a storage / cosmosDB account.
22
22
To use this cmdlet, specify the * ResourceId* parameter.
23
23
24
24
## EXAMPLES
25
25
26
- ### Example 1
26
+ ### Example 1 : Storage Account
27
27
``` powershell
28
28
PS C:\> Get-AzSecurityAdvancedThreatProtection -ResourceId "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount/"
29
29
@@ -34,6 +34,17 @@ IsEnabled Id
34
34
35
35
This command gets the advanced threat protection policy for resource id ` "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.Storage/storageAccounts/myStorageAccount/" ` .
36
36
37
+ ### Example 2 : CosmosDB Account
38
+ ``` powershell
39
+ PS C:\> Get-AzSecurityAdvancedThreatProtection -ResourceId "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/"
40
+
41
+ IsEnabled Id
42
+ --------- --
43
+ True "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/"
44
+ ```
45
+ This command gets the advanced threat protection policy for resource id ` "/subscriptions/xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.DocumentDb/databaseAccounts/myCosmosDBAccount/" ` .
46
+
47
+
37
48
## PARAMETERS
38
49
39
50
### -DefaultProfile
You can’t perform that action at this time.
0 commit comments