A code monitoring and vulnerability scanning terminal application
Project description
QINA Security Editor
A powerful code monitoring and vulnerability scanning terminal application that provides real-time security analysis for your development workflow.
Features
- 🔍 Real-time Code Monitoring - Automatically detects file changes and triggers scans
- 🛡️ Vulnerability Scanning - Comprehensive security analysis using CloudDefense AI
- 📊 Detailed Results - Rich vulnerability reports with severity classification
- 🔧 Git Integration - Branch scanning and diff analysis
- ⚡ Fast Performance - Optimized for developer productivity
- 🎨 Beautiful Terminal UI - Color-coded output and intuitive interface
Installation
pip install qina-security-editor
Quick Start
-
Run the application:
qina
-
Set up your credentials (first time only):
- The app will guide you through CloudDefense AI login
- Enter your API key when prompted
-
Environment Configuration (optional):
# Production Environment (default) export CLOUDDEFENSE_API_KEY=your_api_key # QA Environment (for testing) export CLOUDDEFENSE_API_BASE_URL=https://qa.clouddefenseai.com export CLOUDDEFENSE_WS_BASE_URL=wss://qa.clouddefenseai.com export CLOUDDEFENSE_API_KEY=your_api_key
-
Start monitoring:
/start [path] # Start monitoring a directory (default: current)
-
Run scans:
scan # Scan monitored files scan branch # Scan current git branch
Commands
Core Commands
scan- Run file upload scanscan branch- Run branch scangit diff- Analyze git diff changesparse results- Parse and display scan results
Monitoring Commands
/start [path]- Start monitoring directory/stop- Stop monitoringadd file <path>- Manually add file to monitoringlist files- List monitored files
Filtering Commands
show critical- Show critical vulnerabilitiesshow high- Show high priority vulnerabilitiesshow medium- Show medium priority vulnerabilitiesshow low- Show low priority vulnerabilities
Utility Commands
/status- Show current status/clear- Clear scan results/help- Show help/exit- Exit application
Configuration
The application stores configuration in ~/.config/qina_security_editor/config.json:
{
"api_key": "your_api_key",
"team_id": "your_team_id"
}
Environment Variables
CLOUDDEFENSE_API_KEY- Your CloudDefense AI API keyCLOUDDEFENSE_TEAM_ID- Your team IDCLOUDDEFENSE_CLIENT_ID- Client ID (optional)
Requirements
- Python 3.8+
- Git repository (for branch scanning)
- CloudDefense AI account
Support
- 📧 Email: support@clouddefenseai.com
- 🐛 Issues: GitHub Issues
- 📖 Documentation: GitHub README
License
MIT License - see LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qina-1.0.6.tar.gz.
File metadata
- Download URL: qina-1.0.6.tar.gz
- Upload date:
- Size: 49.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2c8f02ad66f3040b2ba84cd900116414aa5cbf54438cda397303b9ea9b21aee
|
|
| MD5 |
94d89614a461fd258167349c6da74482
|
|
| BLAKE2b-256 |
38957474975c2aa7e121216a130551c7a469112ce75bfce848b975cd99dff439
|
File details
Details for the file qina-1.0.6-py3-none-any.whl.
File metadata
- Download URL: qina-1.0.6-py3-none-any.whl
- Upload date:
- Size: 52.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8409a23bb909e5207c83d1e2db01afb6401bcc8743545208a05d85fbf8d6b9d
|
|
| MD5 |
a4ac4f85fd3ce9240ff423266d86f274
|
|
| BLAKE2b-256 |
a3c5f769a29033187d414d6ab692fa7bc25e158d40b94635a29c1feb109ec7b0
|