Skip to main content

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

  1. Run the application:

    qina
    
  2. Set up your credentials (first time only):

    • The app will guide you through CloudDefense AI login
    • Enter your API key when prompted
  3. 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
    
  4. Start monitoring:

    /start [path]  # Start monitoring a directory (default: current)
    
  5. Run scans:

    scan          # Scan monitored files
    scan branch   # Scan current git branch
    

Commands

Core Commands

  • scan - Run file upload scan
  • scan branch - Run branch scan
  • git diff - Analyze git diff changes
  • parse results - Parse and display scan results

Monitoring Commands

  • /start [path] - Start monitoring directory
  • /stop - Stop monitoring
  • add file <path> - Manually add file to monitoring
  • list files - List monitored files

Filtering Commands

  • show critical - Show critical vulnerabilities
  • show high - Show high priority vulnerabilities
  • show medium - Show medium priority vulnerabilities
  • show 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 key
  • CLOUDDEFENSE_TEAM_ID - Your team ID
  • CLOUDDEFENSE_CLIENT_ID - Client ID (optional)

Requirements

  • Python 3.8+
  • Git repository (for branch scanning)
  • CloudDefense AI account

Support

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

qina-1.0.5.tar.gz (49.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qina-1.0.5-py3-none-any.whl (52.4 kB view details)

Uploaded Python 3

File details

Details for the file qina-1.0.5.tar.gz.

File metadata

  • Download URL: qina-1.0.5.tar.gz
  • Upload date:
  • Size: 49.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for qina-1.0.5.tar.gz
Algorithm Hash digest
SHA256 03f327bda756b2c328fc17c9516eea2f8b73cb8d3e6a5a86add64d73479eeffc
MD5 a5d16c3afdb39be9d30e33d94afa8340
BLAKE2b-256 55e34fef6be65f813b8afd2d427e55a005664c452b814a00ad803e9a92572770

See more details on using hashes here.

File details

Details for the file qina-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: qina-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 52.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.6

File hashes

Hashes for qina-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d1bae9d4245d1b9de5d501ee1b645a82bd45108a2b8ec6844c4c2f3f00b20199
MD5 b82c0e162ec0a28bdc46185a87a7de08
BLAKE2b-256 fb4fc88684da771855b3cc0dae4933cb2fb9ebbfd6a953b43df276ab56c75a59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page