fbprogmbh / Audit-Test-Automation

FBPro Audit Test Automation Package allows you to create compliance reports for your systems. The resulting HTML-reports provide a transparent overview of your devices' security configuration compared to international security standards and hardening guides.
https://fb-pro.com/audit-test-automation-package-audit-tap/
BSD 3-Clause "New" or "Revised" License
104 stars 32 forks source link

Reimplement -Reportname input check #601

Closed TuemmlerKelch closed 3 months ago

TuemmlerKelch commented 3 months ago

Description

The current implementation has two major flaws

  1. It is a few steps too late, meaning it will first carry out some checks like licensing status
  2. It also catches any CommandNotFoundException mid-execution. Which leads to the statement that the reportname were faulty, when in fact a necessary command for let's say a helper function were not available

What are the benefits?

Time-saving in case of wrong input Get rid of misleading error message

Acceptance Criteria!

requirements are implemented as described

Linked Issues?

182

Additional Information!

No response