Skip to content

Commit 81285fe

Browse files
committed
Update Set-DlpComplianceRule.md
Inclusion of info in failed PR #11935
1 parent afece3f commit 81285fe

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

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, the 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)