You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Script will drop an error on checking the keys If your DBParm.ini has commented out parameters as examples
Steps to Reproduce
Go to DBParm.ini on the Vault
Duplicate any key parameter, for instance, ServerPrivateKey=, and mark the duplicate parameter out. So the parameter will look like this:
*ServerPrivateKey=
Restart the Vault to be sure the DBParm.ini is properly loaded
Run the Hardening Check script on the Vault
Review the log and the HTML report
Script will try to validate the empty path for the marked out parameter anyway and will endup with error
Cannot bind argument to parameter 'Path' because it's empty string
Expected Results
The script should skip the marked out parameters for checking
Actual Results
Reproducible
[ X] Always
Sometimes
Non-Reproducible
Additional Information
The bug is in the VaultHardeningSteps.psm1 where the script is trying to get the list of the keys into the $keyslist variable
For each key to be searched for, the "^" regex character has to be added. this will allow searching fr strings from the line beginning only
The text was updated successfully, but these errors were encountered:
Summary
Script will drop an error on checking the keys If your DBParm.ini has commented out parameters as examples
Steps to Reproduce
*ServerPrivateKey=
Expected Results
The script should skip the marked out parameters for checking
Actual Results
Reproducible
Additional Information
The bug is in the VaultHardeningSteps.psm1 where the script is trying to get the list of the keys into the $keyslist variable
For each key to be searched for, the "^" regex character has to be added. this will allow searching fr strings from the line beginning only
The text was updated successfully, but these errors were encountered: