Skip to content

GrabnTake/CIS_Ubuntu_audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Ubuntu 24.04 CIS Benchmark Audit Automation

This project automates the auditing of Ubuntu 24.04 LTS systems using a collection of custom CIS benchmark scripts. It ensures system compliance by running checks and saving their results in a structured format.

πŸš€ Features

  • Verifies the system is Ubuntu 24.04 LTS
  • Runs all .sh audit scripts under the script/ directory
  • Requires root privileges for full access to system settings
  • Saves detailed output per script in the result/ folder
  • Captures system info (hostname, timestamp, Ubuntu version)
  • Packages all results into a ZIP archive

⚠️ Requirements

  • Ubuntu 24.04 LTS
  • Must run with root privileges (sudo)
  • Bash shell

βœ… Usage

sudo ./Ubuntu.sh

πŸ“¦ Output

Individual audit results: result/AUDIT_script_name.txt

System info summary: result/System_Info.txt

All outputs zipped: audit_reports.zip

πŸ”Ž Output Result Types

Each script returns one of the following result types:

Result Description

  • PASS The system meets the CIS benchmark requirement.
  • FAIL The system does not meet the CIS benchmark requirement.
  • MANUAL The check must be verified manually (e.g., requires visual review).
  • SKIP The check is not applicable to this system or intentionally ignored.

πŸ›  Customize

Add or edit scripts inside the script/ directory to expand coverage or tailor checks for your environment.

πŸ” Security Note

This tool performs read-only audits and does not apply any changes to the system.

About

Ubuntu 24.04 CIS Benchmark Audit Script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages