cyberark / CYBRHardeningCheck

A utility to check CyberArk component servers hardening status
GNU General Public License v3.0
53 stars 25 forks source link

CPM: Could not find configuration file in path #98

Open kaltokri opened 2 years ago

kaltokri commented 2 years ago

Summary

When running the check on a CPM you get this error message: Start Step Importing INF Configuration Start comparing security configurations Could not complete security analysis. Error: Source:; Message: Could not find configuration file in path: ...\CYBRHardeningCheck-main\CYBRHardeningCheck\CPM\CyberArk CPM Hardening - Domain GPO Security Templates.inf Finished Step Importing INF Configuration

Steps to Reproduce

  1. Go to an CPM
  2. Run Main.ps1
  3. Look for red text

Expected Results

File should be found.

Actual Results

File name is wrong. Script is looking for "...Templates.inf" but file name in repo is "...Tempalte.inf" Missing s and additional typo.

Reproducible

Version/Tag number

CPM Version 12.2. Main actual main branch of this repo.

Additional Information

I've renamed the file locally and it works.

kaltokri commented 2 years ago

Same Problem with "CyberArk PVWA Hardening - Domain GPO Security Tempalte.inf" vs. "CyberArk PVWA Hardening - Domain GPO Security Templates.inf"