Skip to content

Releases: HC-ONLINE/CiberWebScan

Implements a complete REST API for CiberWebScan using FastAPI

29 Apr 16:55
53d9286

Choose a tag to compare

2.1.0 - 2026-04-29

Added

  • Complete REST API implementation with FastAPI framework (now in Beta)
  • Authentication module with API key-based security and management endpoints
  • Full API endpoint suite:
    • /api/analyze - Security analysis with detailed options
    • /api/attack - URL attack testing with configurable payloads
    • /api/scrape - Single and batch URL scraping endpoints
    • /api/download - Token-based file download system with automatic cleanup
    • /api/config - Configuration management endpoints
    • /health and /health/ready - Health check endpoints
  • Request logging and rate limiting middleware
  • Download token generation and validation system with configurable expiration
  • Enhanced request/response models with export options and validation
  • DownloadCleanupScheduler for managing expired download tokens
  • Comprehensive API endpoint unit tests and integration tests
  • API command in CLI for server management
  • Enhanced documentation with API usage guides and beta status indicators
  • FastAPI and python-multipart dependencies for API functionality
  • Improved CI/CD workflow for full test coverage with both dev and api dependencies

Changed

  • Updated APIResponse model with download token and URL fields
  • Improved error handling across API endpoints
  • Enhanced request models with new validation fields
  • Updated health check endpoints to use HealthCheckResponse model
  • Refactored configuration system to support API settings
  • Optimized pre-commit configuration to include FastAPI checks

Fixed

  • Fixed timestamp field to use timezone-aware datetime in API responses
  • Improved async/sync context handling in services
  • Better input validation across API endpoints

Known Issues

  • REST API is in Beta - expect potential breaking changes
  • Some advanced API features may still be under development
  • Download tokens are stored in memory (production should use persistent storage)