-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Quiet Mode And Quiet Option #123
base: master
Are you sure you want to change the base?
Conversation
Thanks for the PR and the input. I have been thinking about fundamentally revising the output and writing of reports/logs and will include a slient mode as a feature. It's already complicated at the moment and with your changes it will be even more complex. However, I would like to simplify output management. Stay tuned :) |
Hi ataumo I'm quite confused by the pull request. Are you meaning quiet instead of QuiteMode ? (Meaning you want the output to be more quiet or something). please do not introduce spelling errors in the syntax. |
in addition... You specify $Quite as a switch, meaning it is a boolean variable. Thus you should compare the variable with a boolean, not with an integer. |
Okay no problems :)
Yes sorry, it's a QuietMode. It was a big mistake
Yes but I'm looking for the exact opposite of the verbose properties. I want less outputs.
Fixed. |
Add
Quiet
mode to disable all output generated by the script and addQuietOption
to set it.The
QuietMode
can be-
1
: for a soft quiet mode (Only warnings and errors)-
2
(default) : for a complet quiet modeExamples :
Invoke-HardeningKitty -Mode Audit -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv
Invoke-HardeningKitty -Mode Config -FileFindingList .\lists\finding_list_0x6d69636b_machine.csv -SkipMachineInformation -Quiet -QuietOption 1