audit-labs/audit-tools
A collection of scripts, queries, and other goodies you can use in an audit.
clone: git clone https://gitbay.org/audit-labs/audit-tools.git
6f6c450e140045bca15c2fada70ae436b58c41be
signed_unknown_key
author: Christian Cleberg <hello@cleberg.net> ยท 2025-05-28T17:59:42Z
committer: <noreply@github.com>
README.org | 178 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 88 insertions(+), 90 deletions(-) @@ -1,104 +1,102 @@ -* Background +#+TITLE: Audit Tools by Christian Cleberg +#+AUTHOR: Christian Cleberg +#+OPTIONS: toc:nil -I have been an auditor for years, starting with operational/financial -audits and quickly transitioning to technology audits early in my -career. +* ๐ Audit Tools by Christian Cleberg -While performing technology audits, attestations, etc., you will find -that it requires a lot of manual effort if you don't use the right tools -to automate as much as possible. +Welcome to *Audit Tools* โ a collection of open-source Python scripts and +resources designed to help auditors, risk professionals, and data analysts +automate common audit tasks and analytics. -This repository serves as my personal collection of audit tools that I -want to save and re-use later. +Whether you're new to audit automation or an experienced tech-enabled auditor, +this toolkit offers practical, real-world examples you can use, customize, and +build upon. -** Scope +* ๐ฆ What's Inside -While I created the scripts and tools within this repository -specifically for the applications I use, I am working to include -edge-cases and niche tools as I can. +This repository contains Python scripts and templates for common audit +procedures and control testing activities, including: -For now, refer to the tree below for application coverage. +- โ *Pseudo-Random Sampling* +- โ *GITC Extractions and Analysis* +- โ *Project Management Tracking & Visualizations* +- โ *Cloud Platform Analysis (planned)* +- โ *Audit AI Prompts & Guides (planned)* -#+begin_src shell -tree -I ".git*|venv" +The goal is to provide practical, easy-to-understand tools that auditors and +analysts can quickly deploy in their environments. + +* ๐ Getting Started + +**Clone the Repository** + +#+begin_src bash +git clone https://github.com/ccleberg/audit-tools.git +cd audit-tools #+end_src -#+begin_src text -. -โโโ applications -โย ย โโโ github -โย ย โย ย โโโ github_admins.py -โย ย โย ย โโโ github_audit_log.py -โย ย โย ย โโโ github_branch_protections.py -โย ย โย ย โโโ github_commits.py -โย ย โย ย โโโ README.org -โย ย โโโ gitlab -โย ย โโโ approvals.py -โย ย โโโ branch_protections.py -โย ย โโโ passwords.py -โย ย โโโ pipelines.py -โย ย โโโ provisioning.py -โย ย โโโ README.org -โย ย โโโ repositories.py -โย ย โโโ users.py -โโโ CODEOWNERS -โโโ databases -โย ย โโโ mongo -โย ย โย ย โโโ admins.py -โย ย โย ย โโโ README.org -โย ย โโโ mysql -โย ย โย ย โโโ mysql_admins_alt.sql -โย ย โย ย โโโ mysql_admins.sql -โย ย โย ย โโโ passwords.sql -โย ย โย ย โโโ README.org -โย ย โโโ oracle -โย ย โย ย โโโ oracle_admins_alt.sql -โย ย โย ย โโโ oracle_admins.sql -โย ย โย ย โโโ README.org -โย ย โโโ postgres -โย ย โย ย โโโ admins.sql -โย ย โย ย โโโ passwords.sql -โย ย โย ย โโโ README.org -โย ย โโโ sql -โย ย โโโ admins.sql -โย ย โโโ passwords -โย ย โย ย โโโ example_data.csv -โย ย โย ย โโโ passwords.py -โย ย โย ย โโโ query.sql -โย ย โโโ README.org -โโโ LICENSE -โโโ os -โย ย โโโ linux -โย ย โโโ passwords.sh -โย ย โโโ README.org -โย ย โโโ ssh_root_login.sh -โโโ project_management -โย ย โโโ alteryx -โย ย โย ย โโโ project_email_reminders.yxmd -โย ย โโโ dash -โย ย โย ย โโโ app.py -โย ย โโโ powerbi -โย ย โโโ project_dashboard -โย ย โโโ project_dashboard.pbix -โย ย โโโ project_data.xlsx -โโโ README.org -โโโ requirements.txt -โโโ sampling - โโโ README.org - โโโ sample.html - โโโ sample-html.png - โโโ sample.py +**Install Dependencies** + +/Required for Python scripts/ + +#+begin_src bash +pip install -r requirements.txt #+end_src -* Development -** Python +**Run a Sample Script** -For the Python scripts, use the following to activate a virtual -environment for consistent packing: +Example: Run the *Linux OS Report* tool. -#+begin_src shell -python3 -m venv venv -source ./venv/bin/activate -pip install PACKAGE_NAME -python3 ./PYTHON_SCRIPT.py +#+begin_src bash +./os/linux/report/linux.sh #+end_src + +View the results in your terminal or within the file created by the script. + +* ๐ Learn More + +If you're new to audit analytics or Python scripting, start here: +- [[https://realpython.com][Python for Auditors]] +- [[https://audit-analytics.com][Audit Analytics 101]] +- [[https://pandas.pydata.org/docs/getting_started/][Intro to Pandas Documentation]] + +Also, check out the =notebooks/= folder for interactive tutorials and use cases. + +* ๐ค How to Contribute + +Want to add your own audit scripts or improve existing ones? Contributions are +welcome! + +**Ways to Help** +- Submit new Python scripts for audit use cases. +- Suggest enhancements or new features via [[https://github.com/ccleberg/audit-tools/issues][Issues]]. +- Improve documentation or write beginner-friendly tutorials. +- Test existing tools on new datasets and report issues. + +**To Contribute** +1. Fork this repo +2. Create a new branch: + #+begin_src bash + git checkout -b my-feature + #+end_src +3. Commit your changes: + #+begin_src bash + git commit -m 'Added new audit test' + #+end_src +4. Push to the branch: + #+begin_src bash + git push origin my-feature + #+end_src +5. Open a Pull Request + +* ๐ค About the Creator + +Made with โค๏ธ by [[https://cleberg.net/][Christian Cleberg]]. + +I'm a technology assurance leader passionate about audit innovation, AI in +audit, and building practical tools for auditors and risk professionals. + +* ๐ License + +This project is licensed under the *GNU General Public License v3.0* โ see the +[[file:LICENSE][LICENSE]] file for details.