Skip to content

About

This is the Audit Canvas Project for IBM Bob Dev Hackathon

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Audit-Canvas

AI-Assisted Audit Data Quality & Reconciliation Platform

This is the Audit Canvas Project for IBM Bob Dev Hackathon - a web-based AI-assisted audit platform designed to streamline data validation, reconciliation, and audit documentation.


๐Ÿš€ Quick Start

Prerequisites

  • Python 3.11.3 or higher
  • pip (Python package manager)
  • Windows OS (for .bat scripts) or Linux/Mac

Installation

  1. Clone the repository

    git clone <repository-url>
    cd Audit-Canvas
  2. Install all required packages

    pip install -r requirements.txt
  3. Run security vulnerability scan

    pip-audit --desc
  4. Fix security vulnerabilities (IMPORTANT!)

    # Windows
    fix_vulnerabilities.bat
    
    # Linux/Mac
    chmod +x fix_vulnerabilities.sh
    ./fix_vulnerabilities.sh

๐Ÿ“ฆ Installed Libraries

Core Framework & Data Processing

  • streamlit (1.57.0) - Web UI framework
  • pandas (3.0.2) - Data manipulation and analysis
  • numpy (2.4.4) - Numerical computing

File Handling & Excel Support

  • openpyxl (3.1.5) - Excel (.xlsx) file operations
  • xlrd (2.0.2) - Excel (.xls) file reading
  • xlsxwriter (3.2.9) - Enhanced Excel report generation

Data Quality & Analysis

  • python-dateutil (2.9.0.post0) - Date validation
  • scipy (1.17.1) - Statistical analysis
  • plotly (6.7.0) - Interactive data visualization

Report Generation

  • jinja2 (3.1.6) - HTML template rendering

Security & Monitoring

  • pip-audit (2.10.0) - Vulnerability scanner

Optional Enhancements

  • streamlit-aggrid (1.2.1.post2) - Enhanced data grids
  • pillow (12.2.0) - Image handling
  • requests (2.32.5) - HTTP operations

For a complete list, see LIBRARIES_SUMMARY.md


๐Ÿ”’ Security

Vulnerability Status

โœ… SECURE: All vulnerabilities have been resolved! 0 known vulnerabilities

Security Status (Updated 2026-05-02 20:43 UTC):

  • โœ… All 18 vulnerabilities have been patched
  • โœ… All packages upgraded to secure versions
  • โœ… Verified with pip-audit: No known vulnerabilities found

Remediation Summary:

  • ๐Ÿ”ด Critical: 1 vulnerability โ†’ โœ… FIXED (mysql-connector-python 9.1.0)
  • ๐ŸŸ  High: 10 vulnerabilities โ†’ โœ… FIXED (urllib3 2.6.3, setuptools 78.1.1, protobuf 6.33.5)
  • ๐ŸŸก Medium: 5 vulnerabilities โ†’ โœ… FIXED (pip 26.1, python-dotenv 1.2.2, requests 2.33.0)
  • ๐ŸŸข Low: 2 vulnerabilities โ†’ โœ… FIXED (pygments 2.20.0, pytest 9.0.3)

Security Documentation

All security files are organized in the security-docs/ folder:

Regular Security Scanning

# Run weekly vulnerability scans
pip-audit --desc

# Generate JSON report
pip-audit --format json --output vulnerability_scan.json

๐ŸŽฏ Platform Features

Based on the AI Audit Platform Design Document:

1. Data Profiling

  • Row/column counts
  • Missing values detection
  • Duplicate detection
  • Data type validation
  • Outlier identification

2. Data Quality Rule Engine

  • Required fields validation
  • Unique primary keys
  • Date format validation
  • Value range checks
  • Referential integrity

3. Reconciliation Engine

  • Record count comparison
  • Missing/extra records detection
  • Column mapping validation
  • Data type consistency checks

4. AI-Powered Features

  • Anomaly explanation in plain English
  • Column mapping suggestions
  • Automated audit findings generation
  • Documentation assistance

5. Report Generation

  • Excel workpapers export
  • HTML audit reports
  • Interactive visualizations

๐Ÿ—๏ธ Technology Stack

  • Frontend: Streamlit
  • Backend: Python 3.11.3
  • Data Processing: pandas, numpy, scipy
  • Visualization: plotly
  • AI Integration: IBM Bob
  • Output Formats: Excel (openpyxl, xlsxwriter), HTML (jinja2)

๐Ÿ“‹ Project Structure

Audit-Canvas/
โ”œโ”€โ”€ AI_Audit_Platform_Design_Document_Full.pdf  # Full design specification
โ”œโ”€โ”€ requirements.txt                             # Python dependencies (updated with secure versions)
โ”œโ”€โ”€ LIBRARIES_SUMMARY.md                         # Detailed library documentation
โ”œโ”€โ”€ LICENSE                                      # Project license
โ”œโ”€โ”€ README.md                                    # This file (main documentation)
โ”‚
โ””โ”€โ”€ security-docs/                               # Security documentation folder
    โ”œโ”€โ”€ README.md                                # Guide to all security files
    โ”œโ”€โ”€ SECURITY_VULNERABILITY_REPORT.md         # Initial vulnerability analysis
    โ”œโ”€โ”€ SECURITY_REMEDIATION_LOG.md              # Complete remediation timeline
    โ”œโ”€โ”€ vulnerability_scan.json                  # Machine-readable scan results
    โ””โ”€โ”€ fix_vulnerabilities.bat                  # Automated remediation script

๐Ÿšฆ Getting Started with Development

1. Set Up Environment

# Verify Python version
python --version  # Should be 3.11.3 or higher

# Install dependencies
pip install -r requirements.txt

# Fix security vulnerabilities
fix_vulnerabilities.bat

2. Run the Application

streamlit run app.py

3. Access the Platform

Open your browser and navigate to:

http://localhost:8501

๐Ÿ”ง Development Workflow

User Workflow

  1. Upload datasets (CSV/Excel)
  2. Run automated profiling
  3. Execute data quality checks
  4. Perform reconciliation
  5. Review AI-generated insights
  6. Export audit report

Example Scenario

Source Dataset: 10,000 rows
Target Dataset: 9,850 rows

Findings:
- 150 missing records detected
- 138 null values identified
- Column mapping mismatch found
- AI-generated explanation provided

๐Ÿ‘ฅ Team Structure

Member 1: Backend Development

  • Data processing logic
  • Quality rule engine
  • Reconciliation algorithms

Member 2: UI/UX Design

  • Streamlit interface
  • Presentation materials
  • Documentation

๐Ÿค– IBM Bob Integration

IBM Bob is used as an AI development assistant to:

  • Accelerate coding and testing
  • Debug issues efficiently
  • Generate documentation
  • Provide code suggestions
  • Enable rapid prototyping

๐Ÿ“Š Success Metrics

  • โฑ๏ธ Time saved in audit tasks
  • ๐Ÿ” Number of issues detected
  • ๐Ÿ“‰ Reduction in manual effort
  • ๐Ÿ‘ฅ User adoption rate
  • โœ… Accuracy improvements

๐Ÿ”ฎ Future Enhancements

  • Database integration (PostgreSQL, MySQL)
  • Role-based access control
  • Real-time monitoring dashboard
  • Advanced anomaly detection (ML models)
  • Enterprise audit workflow integration
  • Multi-user collaboration
  • API for external integrations

๐Ÿ“š Documentation

External Resources


๐Ÿ›ก๏ธ Security Best Practices

  1. Regular Scans: Run pip-audit weekly
  2. Dependency Updates: Keep packages up-to-date
  3. Virtual Environments: Use isolated environments for production
  4. Access Control: Implement proper authentication
  5. Data Encryption: Encrypt sensitive audit data
  6. Audit Logging: Track all data access and modifications

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the terms specified in the LICENSE file.


๐Ÿ† IBM Bob Dev Hackathon

This project demonstrates how AI and Python can transform audit workflows by improving:

  • โœ… Efficiency: Automated data validation and profiling
  • โœ… Accuracy: Consistent quality checks and reconciliation
  • โœ… Scalability: Handle large datasets efficiently
  • โœ… Transparency: AI-powered explanations and documentation
  • โœ… Usability: Simple, intuitive web interface

๐Ÿ“ž Support

For questions, issues, or contributions:

  • Open an issue on GitHub
  • Contact the development team
  • Review the documentation

โš ๏ธ Important Notes

  1. Security First: Always run fix_vulnerabilities.bat after initial installation
  2. Testing: Test all updates in a staging environment before production
  3. Backups: Maintain regular backups of audit data
  4. Compliance: Ensure compliance with relevant audit standards (SOC 2, ISO 27001, etc.)

Last Updated: 2026-05-02 20:43 UTC Version: 1.0.0 Python Version: 3.11.3 Security Status: โœ… SECURE - All vulnerabilities resolved (0 known vulnerabilities) Status: Ready for Development

About

This is the Audit Canvas Project for IBM Bob Dev Hackathon

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages