Skip to content

Commit

Permalink
Update manifest and docs to 4.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarron committed Jul 15, 2022
1 parent 2386ee9 commit cba3977
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 18 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.6.2
- Fix `Set-TppAttribute` failing to set a custom field value on a policy, [#131](https://github.com/Venafi/VenafiPS/issues/131)


## 4.6.1
- Add validation and error handling in `Get-VenafiTeam` for invalid IDs, [#126](https://github.com/Venafi/VenafiPS/issues/126)
- Add messaging and error handling in `Get-VenafiTeam` for local groups, [#127](https://github.com/Venafi/VenafiPS/issues/127)
Expand Down Expand Up @@ -412,3 +416,4 @@




4 changes: 2 additions & 2 deletions VenafiPS/VenafiPS.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Venafi
#
# Generated on: 07/13/2022
# Generated on: 07/15/2022
#

@{
Expand All @@ -12,7 +12,7 @@
RootModule = 'VenafiPS.psm1'

# Version number of this module.
ModuleVersion = '4.6.1'
ModuleVersion = '4.6.2'

# Supported PSEditions
# CompatiblePSEditions = @()
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 4.6.2
- Fix `Set-TppAttribute` failing to set a custom field value on a policy, [#131](https://github.com/Venafi/VenafiPS/issues/131)


## 4.6.1
- Add validation and error handling in `Get-VenafiTeam` for invalid IDs, [#126](https://github.com/Venafi/VenafiPS/issues/126)
- Add messaging and error handling in `Get-VenafiTeam` for local groups, [#127](https://github.com/Venafi/VenafiPS/issues/127)
Expand Down Expand Up @@ -412,3 +416,4 @@




32 changes: 16 additions & 16 deletions docs/functions/Set-TppAttribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ Sets a value on an objects attribute or policies (policy attributes)

## SYNTAX

### Object (Default)
### NotPolicy (Default)
```
Set-TppAttribute -Path <String> -Attribute <Hashtable> [-BypassValidation] [-VenafiSession <PSObject>]
[-WhatIf] [-Confirm] [<CommonParameters>]
```

### Policy
```
Set-TppAttribute -Path <String> -Attribute <Hashtable> [-Policy] -ClassName <String> [-Lock]
[-VenafiSession <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-TppAttribute -Path <String> -Attribute <Hashtable> [-BypassValidation] [-Policy] -PolicyClass <String>
[-Lock] [-VenafiSession <PSObject>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -29,7 +29,7 @@ You can also set policies (policy attributes).
Set-TppAttribute -Path '\VED\Policy\My Folder\app.company.com' -Attribute @{'Consumers'='\VED\Policy\myappobject.company.com'}
```

Set a value on an object
Set the value on an object

### EXAMPLE 2
```
Expand All @@ -43,25 +43,25 @@ Clear the value on an object, reverting to policy if applicable
Set-TppAttribute -Path '\VED\Policy\My Folder\app.company.com' -Attribute @{'My custom field Label'='new custom value'}
```

Set value on custom field
Set the value on a custom field

### EXAMPLE 4
```
Set-TppAttribute -Path '\VED\Policy\My Folder\app.company.com' -Attribute @{'My custom field Label'='new custom value'} -BypassValidation
```

Set value on custom field bypassing field validation
Set the value on a custom field bypassing field validation

### EXAMPLE 5
```
Set-TppAttribute -Path '\VED\Policy\My Folder' -Policy -ClassName 'X509 Certificate' -Attribute @{'Notification Disabled'='0'}
Set-TppAttribute -Path '\VED\Policy\My Folder' -PolicyClass 'X509 Certificate' -Attribute @{'Notification Disabled'='0'}
```

Set a policy attribute

### EXAMPLE 6
```
Set-TppAttribute -Path '\VED\Policy\My Folder' -Policy -ClassName 'X509 Certificate' -Attribute @{'Notification Disabled'='0'} -Lock
Set-TppAttribute -Path '\VED\Policy\My Folder' -PolicyClass 'X509 Certificate' -Attribute @{'Notification Disabled'='0'} -Lock
```

Set a policy attribute and lock the value
Expand Down Expand Up @@ -102,11 +102,11 @@ Accept wildcard characters: False
### -BypassValidation
Bypass data validation.
Only appicable to custom fields.
Only applicable to custom fields.
```yaml
Type: SwitchParameter
Parameter Sets: Object
Parameter Sets: (All)
Aliases:

Required: False
Expand All @@ -124,22 +124,20 @@ Type: SwitchParameter
Parameter Sets: Policy
Aliases:

Required: True
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
```
### -ClassName
Required when setting policy attributes.
Provide the class name to set the value for.
If unsure of the class name, add the value through the TPP UI and go to Support-\>Policy Attributes to find it.
### -PolicyClass
{{ Fill PolicyClass Description }}
```yaml
Type: String
Parameter Sets: Policy
Aliases:
Aliases: ClassName

Required: True
Position: Named
Expand Down Expand Up @@ -232,6 +230,8 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
[https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-Set.php](https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-Set.php)
[https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-SetPolicy.php](https://docs.venafi.com/Docs/currentSDK/TopNav/Content/SDK/WebSDK/r-SDK-POST-Metadata-SetPolicy.php)
[https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Config-write.php](https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Config-write.php)
[https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Config-writepolicy.php](https://docs.venafi.com/Docs/current/TopNav/Content/SDK/WebSDK/r-SDK-POST-Config-writepolicy.php)
Expand Down

0 comments on commit cba3977

Please sign in to comment.