aharriscybr / terraform-provider-cyberarkoss

Apache License 2.0
4 stars 2 forks source link

Retention V Retention Versions #27

Open aharriscybr opened 6 months ago

aharriscybr commented 6 months ago

Need to update logic handling to escape if both retention and retention versions are set. Only one of these settings must be present, not both.

https://docs.cyberark.com/privilege-cloud-shared-services/Latest/en/Content/WebServices/Add%20Safe.htm

Per Docs:

numberOfVersionsRetention

The number of retained versions of every password that is stored in the Safe.

Type: Number

Mandatory: No

Default value: None

If you select this option, the other Version management option, numberOfDaysRetention, is not available.

numberOfDaysRetention

The number of days that password versions are saved in the Safe.

Type: Number

Mandatory: No

Default value: 7

If you select this option, the other Version management option, numberOfVersionsRetention, is not available.

aharriscybr commented 6 months ago

If both are filled out, set a default override (retention maybe)?

Will need to ensure end user input sanitization.