Open ediulia opened 2 years ago
I also don't understand the purpose of this search in the report. InstallationAutomation folder it's a part of the installation package and not always stored on the server after the product installation completed I would recommend removing that step from the report After removing that recommendation - script runtime reduces from 4 minutes to 40 seconds including network copy
Summary
Main.ps1 is hanging on searching Hardening_Scripts_Folder after the next line output: Start looking for hardening folders named 'InstallationAutomation'
I also found script is only scanning the system drive $ENV:SystemDrive*
Steps to Reproduce
Run the Script on the hardened vault remotely
Expected Results
The script should finish searching and completing the report
Actual Results
The script is stack on: Start looking for hardening folders named 'InstallationAutomation'
Reproducible
Version/Tag number
What version of the product are you running? Any version info that you can share is helpful. For example, you might give the version from Docker logs, the Docker tag, a specific download URL, the output of the
/info
route, etc.Environment setup
Running the script from remote WinRM session
Additional Information
The bug has been identified in the main.ps1 in the Function Out-HardeningFolderPath