Skip to content

Commit

Permalink
6.0 Update 1 (#488)
Browse files Browse the repository at this point in the history
* 🐛 🩹 UPDATE Add-PASSafeMember

Adds 'Role' to acceptable values in ParameterSet for `memberType` parameter.

* Update CHANGELOG.md
  • Loading branch information
pspete authored Sep 6, 2023
1 parent 0df9889 commit 7a9c5d4
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
- Continued development to encompass any new documented features of the CyberArk API.
- psPAS v7.0...

## **6.0.4**

- Updated
- `Add-PASSafeMember`
- Adds 'Role' to acceptable values in ParameterSet for `memberType` parameter

## **6.0.0**

- Update & Breaking Change
Expand Down
2 changes: 1 addition & 1 deletion docs/collections/_commands/Add-PASSafeMember.md
Original file line number Diff line number Diff line change
Expand Up @@ -617,7 +617,7 @@ Accept wildcard characters: False
### -memberType
The member type.

Accepts Values: User, Group
Accepts Values: User, Group, Role

Minimum required version 12.6

Expand Down
2 changes: 1 addition & 1 deletion psPAS/Functions/SafeMembers/Add-PASSafeMember.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ function Add-PASSafeMember {
ParameterSetName = 'Gen2'
)]
[ValidateNotNullOrEmpty()]
[ValidateSet('User', 'Group')]
[ValidateSet('User', 'Group', 'Role')]

[string]$memberType,

Expand Down
4 changes: 2 additions & 2 deletions psPAS/en-US/psPAS-help.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7936,7 +7936,7 @@ Add-PASDiscoveredAccount -UserName ServiceUser -Address 1.2.3.4 -discoveryDate (
<maml:name>memberType</maml:name>
<maml:description>
<maml:para>The member type.</maml:para>
<maml:para>Accepts Values: User, Group</maml:para>
<maml:para>Accepts Values: User, Group, Role</maml:para>
<maml:para>Minimum required version 12.6</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
Expand Down Expand Up @@ -8318,7 +8318,7 @@ Add-PASDiscoveredAccount -UserName ServiceUser -Address 1.2.3.4 -discoveryDate (
<maml:name>memberType</maml:name>
<maml:description>
<maml:para>The member type.</maml:para>
<maml:para>Accepts Values: User, Group</maml:para>
<maml:para>Accepts Values: User, Group, Role</maml:para>
<maml:para>Minimum required version 12.6</maml:para>
</maml:description>
<command:parameterValue required="true" variableLength="false">String</command:parameterValue>
Expand Down

0 comments on commit 7a9c5d4

Please sign in to comment.