Open aharriscybr opened 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.
Default value: 7
If you select this option, the other Version management option, numberOfVersionsRetention, is not available.
If both are filled out, set a default override (retention maybe)?
Will need to ensure end user input sanitization.
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.