Commit 31922eb3f1
Unsigned
Layout: unified ยท split
README.org +88 โ90
| @@ -1,104 +1,102 @@ | ||
| 1 | * Background | |
| 1 | #+TITLE: Audit Tools by Christian Cleberg | |
| 2 | #+AUTHOR: Christian Cleberg | |
| 3 | #+OPTIONS: toc:nil | |
| 2 | 4 | |
| 3 | I have been an auditor for years, starting with operational/financial | |
| 4 | audits and quickly transitioning to technology audits early in my | |
| 5 | career. | |
| 5 | * ๐ Audit Tools by Christian Cleberg | |
| 6 | 6 | |
| 7 | While performing technology audits, attestations, etc., you will find | |
| 8 | that it requires a lot of manual effort if you don't use the right tools | |
| 9 | to automate as much as possible. | |
| 7 | Welcome to *Audit Tools* โ a collection of open-source Python scripts and | |
| 8 | resources designed to help auditors, risk professionals, and data analysts | |
| 9 | automate common audit tasks and analytics. | |
| 10 | 10 | |
| 11 | This repository serves as my personal collection of audit tools that I | |
| 12 | want to save and re-use later. | |
| 11 | Whether you're new to audit automation or an experienced tech-enabled auditor, | |
| 12 | this toolkit offers practical, real-world examples you can use, customize, and | |
| 13 | build upon. | |
| 13 | 14 | |
| 14 | ** Scope | |
| 15 | * ๐ฆ What's Inside | |
| 15 | 16 | |
| 16 | While I created the scripts and tools within this repository | |
| 17 | specifically for the applications I use, I am working to include | |
| 18 | edge-cases and niche tools as I can. | |
| 17 | This repository contains Python scripts and templates for common audit | |
| 18 | procedures and control testing activities, including: | |
| 19 | 19 | |
| 20 | For now, refer to the tree below for application coverage. | |
| 20 | - โ *Pseudo-Random Sampling* | |
| 21 | - โ *GITC Extractions and Analysis* | |
| 22 | - โ *Project Management Tracking & Visualizations* | |
| 23 | - โ *Cloud Platform Analysis (planned)* | |
| 24 | - โ *Audit AI Prompts & Guides (planned)* | |
| 21 | 25 | |
| 22 | #+begin_src shell | |
| 23 | tree -I ".git*|venv" | |
| 26 | The goal is to provide practical, easy-to-understand tools that auditors and | |
| 27 | analysts can quickly deploy in their environments. | |
| 28 | ||
| 29 | * ๐ Getting Started | |
| 30 | ||
| 31 | **Clone the Repository** | |
| 32 | ||
| 33 | #+begin_src bash | |
| 34 | git clone https://github.com/ccleberg/audit-tools.git | |
| 35 | cd audit-tools | |
| 24 | 36 | #+end_src |
| 25 | 37 | |
| 26 | #+begin_src text | |
| 27 | . | |
| 28 | โโโ applications | |
| 29 | โย ย โโโ github | |
| 30 | โย ย โย ย โโโ github_admins.py | |
| 31 | โย ย โย ย โโโ github_audit_log.py | |
| 32 | โย ย โย ย โโโ github_branch_protections.py | |
| 33 | โย ย โย ย โโโ github_commits.py | |
| 34 | โย ย โย ย โโโ README.org | |
| 35 | โย ย โโโ gitlab | |
| 36 | โย ย โโโ approvals.py | |
| 37 | โย ย โโโ branch_protections.py | |
| 38 | โย ย โโโ passwords.py | |
| 39 | โย ย โโโ pipelines.py | |
| 40 | โย ย โโโ provisioning.py | |
| 41 | โย ย โโโ README.org | |
| 42 | โย ย โโโ repositories.py | |
| 43 | โย ย โโโ users.py | |
| 44 | โโโ CODEOWNERS | |
| 45 | โโโ databases | |
| 46 | โย ย โโโ mongo | |
| 47 | โย ย โย ย โโโ admins.py | |
| 48 | โย ย โย ย โโโ README.org | |
| 49 | โย ย โโโ mysql | |
| 50 | โย ย โย ย โโโ mysql_admins_alt.sql | |
| 51 | โย ย โย ย โโโ mysql_admins.sql | |
| 52 | โย ย โย ย โโโ passwords.sql | |
| 53 | โย ย โย ย โโโ README.org | |
| 54 | โย ย โโโ oracle | |
| 55 | โย ย โย ย โโโ oracle_admins_alt.sql | |
| 56 | โย ย โย ย โโโ oracle_admins.sql | |
| 57 | โย ย โย ย โโโ README.org | |
| 58 | โย ย โโโ postgres | |
| 59 | โย ย โย ย โโโ admins.sql | |
| 60 | โย ย โย ย โโโ passwords.sql | |
| 61 | โย ย โย ย โโโ README.org | |
| 62 | โย ย โโโ sql | |
| 63 | โย ย โโโ admins.sql | |
| 64 | โย ย โโโ passwords | |
| 65 | โย ย โย ย โโโ example_data.csv | |
| 66 | โย ย โย ย โโโ passwords.py | |
| 67 | โย ย โย ย โโโ query.sql | |
| 68 | โย ย โโโ README.org | |
| 69 | โโโ LICENSE | |
| 70 | โโโ os | |
| 71 | โย ย โโโ linux | |
| 72 | โย ย โโโ passwords.sh | |
| 73 | โย ย โโโ README.org | |
| 74 | โย ย โโโ ssh_root_login.sh | |
| 75 | โโโ project_management | |
| 76 | โย ย โโโ alteryx | |
| 77 | โย ย โย ย โโโ project_email_reminders.yxmd | |
| 78 | โย ย โโโ dash | |
| 79 | โย ย โย ย โโโ app.py | |
| 80 | โย ย โโโ powerbi | |
| 81 | โย ย โโโ project_dashboard | |
| 82 | โย ย โโโ project_dashboard.pbix | |
| 83 | โย ย โโโ project_data.xlsx | |
| 84 | โโโ README.org | |
| 85 | โโโ requirements.txt | |
| 86 | โโโ sampling | |
| 87 | โโโ README.org | |
| 88 | โโโ sample.html | |
| 89 | โโโ sample-html.png | |
| 90 | โโโ sample.py | |
| 38 | **Install Dependencies** | |
| 39 | ||
| 40 | /Required for Python scripts/ | |
| 41 | ||
| 42 | #+begin_src bash | |
| 43 | pip install -r requirements.txt | |
| 91 | 44 | #+end_src |
| 92 | 45 | |
| 93 | * Development | |
| 94 | ** Python | |
| 46 | **Run a Sample Script** | |
| 95 | 47 | |
| 96 | For the Python scripts, use the following to activate a virtual | |
| 97 | environment for consistent packing: | |
| 48 | Example: Run the *Linux OS Report* tool. | |
| 98 | 49 | |
| 99 | #+begin_src shell | |
| 100 | python3 -m venv venv | |
| 101 | source ./venv/bin/activate | |
| 102 | pip install PACKAGE_NAME | |
| 103 | python3 ./PYTHON_SCRIPT.py | |
| 50 | #+begin_src bash | |
| 51 | ./os/linux/report/linux.sh | |
| 104 | 52 | #+end_src |
| 53 | ||
| 54 | View the results in your terminal or within the file created by the script. | |
| 55 | ||
| 56 | * ๐ Learn More | |
| 57 | ||
| 58 | If you're new to audit analytics or Python scripting, start here: | |
| 59 | - [[https://realpython.com][Python for Auditors]] | |
| 60 | - [[https://audit-analytics.com][Audit Analytics 101]] | |
| 61 | - [[https://pandas.pydata.org/docs/getting_started/][Intro to Pandas Documentation]] | |
| 62 | ||
| 63 | Also, check out the =notebooks/= folder for interactive tutorials and use cases. | |
| 64 | ||
| 65 | * ๐ค How to Contribute | |
| 66 | ||
| 67 | Want to add your own audit scripts or improve existing ones? Contributions are | |
| 68 | welcome! | |
| 69 | ||
| 70 | **Ways to Help** | |
| 71 | - Submit new Python scripts for audit use cases. | |
| 72 | - Suggest enhancements or new features via [[https://github.com/ccleberg/audit-tools/issues][Issues]]. | |
| 73 | - Improve documentation or write beginner-friendly tutorials. | |
| 74 | - Test existing tools on new datasets and report issues. | |
| 75 | ||
| 76 | **To Contribute** | |
| 77 | 1. Fork this repo | |
| 78 | 2. Create a new branch: | |
| 79 | #+begin_src bash | |
| 80 | git checkout -b my-feature | |
| 81 | #+end_src | |
| 82 | 3. Commit your changes: | |
| 83 | #+begin_src bash | |
| 84 | git commit -m 'Added new audit test' | |
| 85 | #+end_src | |
| 86 | 4. Push to the branch: | |
| 87 | #+begin_src bash | |
| 88 | git push origin my-feature | |
| 89 | #+end_src | |
| 90 | 5. Open a Pull Request | |
| 91 | ||
| 92 | * ๐ค About the Creator | |
| 93 | ||
| 94 | Made with โค๏ธ by [[https://cleberg.net/][Christian Cleberg]]. | |
| 95 | ||
| 96 | I'm a technology assurance leader passionate about audit innovation, AI in | |
| 97 | audit, and building practical tools for auditors and risk professionals. | |
| 98 | ||
| 99 | * ๐ License | |
| 100 | ||
| 101 | This project is licensed under the *GNU General Public License v3.0* โ see the | |
| 102 | [[file:LICENSE][LICENSE]] file for details. | |