I recently completed my final project for a program and posted my first tool on GitHub, inspired by Lynis. It's a security auditing tool written in Bash. I'm planning to enhance it and work on a version 2 soon, so I'd love any suggestions for improvements or features you think could be valuable! I've already noted some potential additions in the readme.
5 Answers
Awesome project, well done! If you're interested in getting a more formal review, you might want to consider asking for feedback on platforms like Codidact. They have a category specifically for code reviews.
Nice work on the project! If you're looking for more features to implement, check out the CIS benchmarks at cisecurity.org and the STIGs at cyber.mil. They have great guidelines that could help enhance your tool.
I'd suggest using `sshd -T -f $SSH_CONFIG_FILE` to check configurations. Your current setup might skip necessary files that are included. Also, consider renaming the sections from SSH checks to SSHD checks for clarity.
Consider diving deeper into awk. Right now, you're using pipelines like `grep | tail | awk`, but you could streamline your tool with just awk instead. It would make your code cleaner and more efficient.
Thank you all for the fantastic advice!

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically