The Hedera-Audit-Setup Repository is intended to hold the scripts and templates for configuring an audit within the hashgraph org on github.
- run_audit_prep.sh - The worker script that generates the audit files
- setup-ci-audit.py - Python script that generates a series of gh queries
- audit_template.md - Default body for audit stories
- audit_issue_script_generator.py - Generate the gh CLI script to create issues based on output from run_audit_prep.sh
The CI/CD Audits are a quarterly task for the DevOps-CI team; these audits are tailored and will include a subset of all repositories checked. The auditor needs to perform the following tasks
- Update
run_audit_prep.shto modify the following information- Modify the
--startand--enddates for thesetup-ci-audit.pyscript inputs- These dates should represent a two month rolling period
- set or unset the
--use-initial-ci-review-dateflag for thesetup-ci-audit.pyscript inputs - Update the filename (
2024_Q3_audit_list.txtfor example) used to capture the output ofaudit_setup.shThe file should be representative of the audit period. Referred to as theaudit_list
- Modify the
- Execute
./run_audit_prep.shat the command line
- Run the
audit_issue_script_generator.pyscript- Pass in the appropriate
audit_listfile as--file audit_list.txt
- Pass in the appropriate
- Verify the repositories in
audit_issue_gen.shmatch the repositories inaudit_list - Execute
audit_issue_gen.shscript to generate the issues in the various repos - Verify that the issues have been created and are on the project board for the quarterly audit