This tool processes AttackIQ security validation data and maps it to the MITRE ATT&CK framework. It provides two main functionalities:
- ATT&CK Navigator Layer Generation: Creates visualizations for security coverage based on test results
- Jira Ticket Creation: Automatically generates structured Jira tickets for failed security tests
- Demo based on dfe7e31ba2b3e7fb607b4d2d20e73ce7a8584e68.
# Install Python dependencies
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Run the application
python app.py# Install Python if needed (via winget)
winget install Python.Python.3.13
# Create and activate virtual environment
python -m venv venv
. .\venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run the application
python app.py- app.py: Flask web application entry point
- parser.py: Processes CSV data and creates ATT&CK Navigator layers
- jira_ticket_generator.py: Creates structured Jira tickets for failed tests
- upload.html: Web interface for file uploads and configuration
- requirements.txt: Project dependencies
- Flask: Web framework for the application interface
- Pandas: Data processing and CSV parsing
- Upload AttackIQ CSV files (Scenario Activity Report and Observable Details)
- Select output type (Navigator Layer or Jira Tickets)
- Process button generates the selected output format
- Download the resulting JSON file for use in MITRE ATT&CK Navigator or Jira
-
Secure the Application:
- Add authentication for the web interface
- Implement HTTPS with proper certificates
- Add input validation for all file uploads
-
Improve Error Handling:
- Create comprehensive error handlers for file parsing issues
- Add logging to track application behavior
- Implement better exception management
-
Deployment Options:
- Docker Containerization:
# Create a Dockerfile with Python, dependencies and app code # Build and deploy with proper resource limits
- WSGI Server:
# Install Gunicorn or uWSGI pip install gunicorn gunicorn -w 4 -b 0.0.0.0:8000 app:app - Reverse Proxy:
# Configure Nginx/Apache in front of the application # for better performance and security
- Docker Containerization:
-
Performance Optimization:
- Add caching for processed results
- Optimize CSV parsing for large files
- Implement background processing for large datasets
-
Refactoring:
- Create a proper module structure
- Separate configuration from application code
- Implement proper testing
-
Feature Enhancements:
- Add more output formats
- Implement persistent storage for results
- Create dashboard for historical results
Upload AttackIQ CSV files and select the "MITRE ATT&CK Navigator Layer" option to generate a heatmap of your security coverage that can be loaded into the MITRE ATT&CK Navigator.
Upload AttackIQ CSV files and select the "Jira Tickets for Failed Tests" option to create structured JSON data that can be imported into Jira for security improvement tracking.
Contributions welcome! Please feel free to submit a Pull Request.
