Skip to content

Tags: dsccommunity/SecurityPolicyDsc

Tags

v3.0.0-preview0006

Toggle v3.0.0-preview0006's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
DscSecurityOption: Ensure that Get returns name (#159)

* DscSecurityOption: Ensure that Get returns name

Prior to this commit, invoking the SecurityPolicy resource with the Get method would always return $Null for the Name property; though this property is itself never used by the resource, integrating tools are unable to tell as the Name property is also the Key (as defined in the MOF) for this resource; meaning when comparing the existing state of the resource it will always cause a mismatch between the specified Name and the "actual" representation of the resource on the machine, as reported by the Get-TargetResource function.

This commit modifies the Get-TargetResource function for the SecurityPolicy DSC resource to always return the specified Name for the resource in order to prevent churn in secondary tools such as Puppet, Ansible, or Chef.

This mirrors the change in #152 to AccountPolicy.

* (MAINT) Update capitalization for PSSA

This commit downcases the default keyword in several files to obviate a
failing test case in PSSA relating to the following link:

https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md#correct-format-for-keywords

Co-authored-by: Gael <[email protected]>

v3.0.0-preview0005

Toggle v3.0.0-preview0005's commit message
SecurityTemplate: Fix typo in README.md

Signed-off-by: Jason Barnett <[email protected]>

v3.0.0-preview0004

Toggle v3.0.0-preview0004's commit message
updated changelog.

v3.0.0-preview0003

Toggle v3.0.0-preview0003's commit message

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Ensure that returned value includes specified name

Prior to this commit, invoking the `AccountPolicy` resource with the `Get` method would always return `$Null` for the Name property; though this property is itself never used by the resource, integrating tools are unable to tell as the Name property is also the `Key` (as defined in the MOF) for this resource; meaning when comparing the existing state of the resource it will always cause a mismatch between the specified Name and the "actual" representation of the resource on the machine, as reported by the `Get-TargetResource` function.

This commit modifies the `Get-TargetResource` function for the AccountPolicy DSC resource to _always_ return the specified Name for the resource in order to prevent churn in secondary tools such as Puppet, Ansible, or Chef.

v3.0.0-preview0002

Toggle v3.0.0-preview0002's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #148 from X-Guardian/Fix-AccountPolicy-Account_loc…

…kout_duration

AccountPolicy: Fix applying Account_lockout_duration to Zero

v3.0.0-preview0001

Toggle v3.0.0-preview0001's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Merge pull request #147 from dsccommunity/dev

Complete Azure DevOps CI Conversion

v2.10.0

Toggle v2.10.0's commit message
Release of version 2.10.0.0 of SecurityPolicyDsc

v2.9.0

Toggle v2.9.0's commit message
Release of version 2.9.0.0 of SecurityPolicyDsc

v2.8.0

Toggle v2.8.0's commit message
Release of version 2.8.0.0 of SecurityPolicyDsc

v2.7.0

Toggle v2.7.0's commit message
Release of version 2.7.0.0 of SecurityPolicyDsc