Skip to content

Commit f9c9514

Browse files
authored
Merge pull request #11936 from Swkumari10/patch-2
Update New-DlpComplianceRule.md
2 parents 1a1b2e0 + f91c885 commit f9c9514

File tree

2 files changed

+58
-0
lines changed

2 files changed

+58
-0
lines changed

exchange/exchange-ps/exchange/New-DlpComplianceRule.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ New-DlpComplianceRule [-Name] <String> -Policy <PolicyIdParameter>
5656
[-EndpointDlpBrowserRestrictions <PswsHashtable[]>]
5757
[-EndpointDlpRestrictions <PswsHashtable[]>]
5858
[-EnforcePortalAccess <Boolean>]
59+
[-EvaluateRulePerComponent <Boolean>]
5960
[-ExceptIfAccessScope <Microsoft.Office.CompliancePolicy.Tasks.AccessScope>]
6061
[-ExceptIfAnyOfRecipientAddressContainsWords <MultiValuedProperty>]
6162
[-ExceptIfAnyOfRecipientAddressMatchesPatterns <MultiValuedProperty>]
@@ -996,6 +997,34 @@ Accept pipeline input: False
996997
Accept wildcard characters: False
997998
```
998999

1000+
### -EvaluateRulePerComponent
1001+
The EvaluateRulePerComponent parameter specifies whether a match for conditions and exceptions in the rule is contained within the same message component. Valid values are:
1002+
1003+
- $true: A DLP rule match for conditions and exceptions must be in the same message component (for example, in the message body or in a single attachment).
1004+
- $false: A DLP rule match for conditions and exceptions can be anywhere in the message.
1005+
1006+
For example, say a DLP rule is configured to block messages that contain three or more Social Security numbers (SSNs). When the value of this parameter is $true, a message is blocked only if there are three or more SSNs in the message body, or there are three or more SSNs in a specific attachment. The DLP rule doesn't match and the message isn't blocked if there are two SSNs in the message body, one SSN in an attachment, and two SSNs in another attachment in the same email message.
1007+
1008+
This parameter works with the following conditions or exceptions only:
1009+
1010+
- Content contains
1011+
- Attachment contains
1012+
- Attachment is not labeled
1013+
- File extension is
1014+
1015+
```yaml
1016+
Type: Boolean
1017+
Parameter Sets: (All)
1018+
Aliases:
1019+
Applicable: Security & Compliance
1020+
1021+
Required: False
1022+
Position: Named
1023+
Default value: None
1024+
Accept pipeline input: False
1025+
Accept wildcard characters: False
1026+
```
1027+
9991028
### -ExceptIfAccessScope
10001029
The ExceptIfAccessScopeAccessScope parameter specifies an exception for the DLP rule that's based on the access scope of the content. The rule isn't applied to content that matches the specified access scope. Valid values are:
10011030

exchange/exchange-ps/exchange/Set-DlpComplianceRule.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ Set-DlpComplianceRule [-Identity] <ComplianceRuleIdParameter>
5656
[-EndpointDlpBrowserRestrictions <PswsHashtable[]>]
5757
[-EndpointDlpRestrictions <PswsHashtable[]>]
5858
[-EnforcePortalAccess <Boolean>]
59+
[-EvaluateRulePerComponent <Boolean>]
5960
[-ExceptIfAccessScope <Microsoft.Office.CompliancePolicy.Tasks.AccessScope>]
6061
[-ExceptIfAnyOfRecipientAddressContainsWords <MultiValuedProperty>]
6162
[-ExceptIfAnyOfRecipientAddressMatchesPatterns <MultiValuedProperty>]
@@ -930,6 +931,34 @@ Accept pipeline input: False
930931
Accept wildcard characters: False
931932
```
932933

934+
### -EvaluateRulePerComponent
935+
The EvaluateRulePerComponent parameter specifies whether a match for conditions and exceptions in the rule is contained within the same message component. Valid values are:
936+
937+
- $true: A DLP rule match for conditions and exceptions must be in the same message component (for example, in the message body or in a single attachment).
938+
- $false: A DLP rule match for conditions and exceptions can be anywhere in the message.
939+
940+
For example, say a DLP rule is configured to block messages that contain three or more Social Security numbers (SSNs). When the value of this parameter is $true, a message is blocked only if there are three or more SSNs in the message body, or there are three or more SSNs in a specific attachment. The DLP rule doesn't match and the message isn't blocked if there are two SSNs in the message body, one SSN in an attachment, and two SSNs in another attachment in the same email message.
941+
942+
This parameter works with the following conditions or exceptions only:
943+
944+
- Content contains
945+
- Attachment contains
946+
- Attachment is not labeled
947+
- File extension is
948+
949+
```yaml
950+
Type: Boolean
951+
Parameter Sets: (All)
952+
Aliases:
953+
Applicable: Security & Compliance
954+
955+
Required: False
956+
Position: Named
957+
Default value: None
958+
Accept pipeline input: False
959+
Accept wildcard characters: False
960+
```
961+
933962
### -ExceptIfAccessScope
934963
The ExceptIfAccessScopeAccessScope parameter specifies an exception for the DLP rule that's based on the access scope of the content. The rule isn't applied to content that matches the specified access scope. Valid values are:
935964

0 commit comments

Comments
 (0)