Skip to content

Commit

Permalink
Merge pull request #4122 from malauter/Fix-3463
Browse files Browse the repository at this point in the history
SCDLPComplianceRule: Fix data type
  • Loading branch information
NikCharlebois authored Jan 10, 2024
2 parents 9d72a18 + 82c798c commit 1c80627
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
13 changes: 8 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@
* AADConditionalAccessPolicy
* Added support for application filters in the conditions.
* Implement Fix #3885. Manage Exclude Application.
FIXES [#3885](https://github.com/microsoft/Microsoft365DSC/issues/3885)
FIXES [[#3885](https://github.com/microsoft/Microsoft365DSC/issues/3885)]
* EXOHostedContentFilterPolicy
* Fix issue on parameters AllowedSenders, AllowedSenderDomains, BlockedSenders,
BlockSenderDomains if desired state is empty but current state is not empty.
FIXES[#4124](https://github.com/microsoft/Microsoft365DSC/issues/4124)
* IntuneDeviceConfigurationPolicyMacOS
* Fix workaround added on PR #4099 in order to be able to use this resource
for deployments
FIXES [#4105](https://github.com/microsoft/Microsoft365DSC/issues/4105)

* EXOHostedContentFilterPolicy
* Fix issue on parameters AllowedSenders, AllowedSenderDomains, BlockedSenders, BlockSenderDomains if desired state is empty but current state is not empty
FIXES[#4124](https://github.com/microsoft/Microsoft365DSC/issues/4124)
* SCDLPComplianceRule
* Fix type of AccessScope
FIXES [#3463](https://github.com/microsoft/Microsoft365DSC/issues/3463)

# 1.24.103.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function Get-TargetResource

[Parameter()]
[ValidateSet('InOrganization', 'NotInOrganization', 'None')]
[System.String[]]
[System.String]
$AccessScope,

[Parameter()]
Expand Down Expand Up @@ -334,7 +334,7 @@ function Set-TargetResource

[Parameter()]
[ValidateSet('InOrganization', 'NotInOrganization', 'None')]
[System.String[]]
[System.String]
$AccessScope,

[Parameter()]
Expand Down Expand Up @@ -644,7 +644,7 @@ function Test-TargetResource

[Parameter()]
[ValidateSet('InOrganization', 'NotInOrganization', 'None')]
[System.String[]]
[System.String]
$AccessScope,

[Parameter()]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class MSFT_SCDLPComplianceRule : OMI_BaseResource
{
[Key, Description("Name of the Rule.")] String Name;
[Required, Description("Name of the associated DLP Compliance Policy.")] String Policy;
[Write, Description("The AccessScope parameter specifies a condition for the DLP rule that's based on the access scope of the content. The rule is applied to content that matches the specified access scope."), ValueMap{"InOrganization","NotInOrganization", "None"}, Values{"InOrganization","NotInOrganization", "None"}] String AccessScope[];
[Write, Description("The AccessScope parameter specifies a condition for the DLP rule that's based on the access scope of the content. The rule is applied to content that matches the specified access scope."), ValueMap{"InOrganization","NotInOrganization", "None"}, Values{"InOrganization","NotInOrganization", "None"}] String AccessScope;
[Write, Description("The BlockAccess parameter specifies an action for the DLP rule that blocks access to the source item when the conditions of the rule are met. $true: Blocks further access to the source item that matched the rule. The owner, author, and site owner can still access the item. $false: Allows access to the source item that matched the rule. This is the default value.")] Boolean BlockAccess;
[Write, Description("The BlockAccessScope parameter specifies the scope of the block access action."), ValueMap{"All", "PerUser"}, Values{"All", "PerUser"}] String BlockAccessScope;
[Write, Description("The Comment parameter specifies an optional comment. If you specify a value that contains spaces, enclose the value in quotation marks.")] String Comment;
Expand Down

0 comments on commit 1c80627

Please sign in to comment.