项目文件夹

文件
wehub-resource-sync 161ef94b4f
Check engine pin consistency / Dockerfile / CI pin consistency (push) Successful in 8s
Sirius CI/CD Pipeline / Detect Changes (push) Successful in 23s
Validate Docker Configuration / Validate Docker Compose Configuration (push) Successful in 47s
Sirius CI/CD Pipeline / Build API (${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Build UI (${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Engine Manifest (push) Has been cancelled
Sirius CI/CD Pipeline / Merge API Manifest (push) Has been cancelled
Sirius CI/CD Pipeline / Merge UI Manifest (push) Has been cancelled
Sirius CI/CD Pipeline / Build Engine (${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Build Infra (${{ matrix.service }}, ${{ matrix.platform }}) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Infra Manifest (sirius-postgres) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Infra Manifest (sirius-rabbitmq) (push) Has been cancelled
Sirius CI/CD Pipeline / Merge Infra Manifest (sirius-valkey) (push) Has been cancelled
Sirius CI/CD Pipeline / Integration Test (push) Has been cancelled
Sirius CI/CD Pipeline / Public Stack Contract (push) Has been cancelled
Sirius CI/CD Pipeline / Dispatch Demo Deployment (sirius-demo branch) (push) Has been cancelled
Sirius CI/CD Pipeline / Dispatch Demo Canary (main branch) (push) Has been cancelled
Sirius CI/CD Pipeline / Guard Registry Namespace (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:32:25 +08:00

6.9 KiB

Changelog

All notable changes to SiriusScan will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Installer-first startup workflow under installer/ with interactive and non-interactive configuration generation.
  • Optional deployment hardening overlays: docker-compose.secrets.yaml and docker-stack.swarm.yaml.
  • Architecture decision record documenting stateless root key auth model.

Changed

  • Installer startup now uses docker-compose.installer.yaml as the canonical entrypoint.
  • Root compose and overlays now require security-critical startup variables (SIRIUS_API_KEY, POSTGRES_PASSWORD, NEXTAUTH_SECRET, INITIAL_ADMIN_PASSWORD).
  • UI startup scripts enforce required auth/seed variables before migrations and seeding.
  • API middleware now marks explicit auth mode (infra_env vs valkey) and uses constant-time root key comparison.
  • Documentation updated for installer-first setup and stateless root-key lifecycle operations.

Fixed

  • UI production image build compatibility with stricter secret validation during build stage.
  • Integration test expectation for protected API error handling under API-key middleware.

Migration Notes

  • Replace manual .env copying with installer:
    1. docker compose -f docker-compose.installer.yaml run --rm sirius-installer
    2. docker compose up -d (or include prod/dev overlays)
  • Ensure these variables are present for startup:
    • SIRIUS_API_KEY
    • POSTGRES_PASSWORD
    • NEXTAUTH_SECRET
    • INITIAL_ADMIN_PASSWORD
  • Existing .env values are preserved by default; use docker compose -f docker-compose.installer.yaml run --rm sirius-installer --force when rotating/re-generating secrets.

[1.0.0] - 2026-02-17

Added

  • Production API key support across services, including new API key management endpoints and shared SDK updates.
  • Expanded scanner, host, and vulnerability capabilities in both API and UI, including new workflows and richer data presentation.
  • Security testing suite under testing/security to validate API surface, headers, auth pathways, and service protections.

Changed

  • CI/CD workflows were stabilized for release reliability, including improved build and integration behavior for pull requests.
  • Docker deployment configuration was updated with production overrides and safer validation defaults for CI checks.
  • Documentation coverage expanded significantly across architecture, operations, and scanner internals.

Removed

  • Legacy development artifacts and deprecated UI/router files used only for earlier prototyping phases.

Fixed

  • Multiple release-blocking issues in image publishing, dependency pinning, and integration test orchestration.
  • Documentation linting script behavior in CI environments.

[0.4.0] - 2025-10-11

Added

  • System Monitoring Dashboard: Complete real-time monitoring system with service health checks and centralized logging
  • Centralized Logging Infrastructure: Valkey-based logging system with log submission, retrieval, and management APIs
  • Real-time Service Health Monitoring: Comprehensive health checks for all microservices (UI, API, Engine, PostgreSQL, Valkey, RabbitMQ)
  • System Resource Monitoring: Real container metrics collection with CPU, memory, disk, and network monitoring
  • Advanced Log Viewer: TanStack Table-based log viewer with filtering, search, and real-time updates
  • System Monitor Binary: Lightweight Go binary for collecting and reporting system metrics from each container
  • Log Retention Policies: Automatic cleanup with configurable retention (24 hours for metrics, 7 days for logs)
  • Performance Optimization: Efficient polling, pagination, and memory management for large datasets

Enhanced

  • Container Build System: Improved Docker builds with proper Go module management and production-ready configurations
  • API Health Endpoints: Enhanced /health endpoint with comprehensive system health information
  • Frontend Performance: Optimized React components with memoization and efficient state management
  • Error Handling: Comprehensive error handling and retry logic throughout the monitoring system
  • User Experience: Improved UI/UX with loading states, error indicators, and responsive design

Fixed

  • Go Module Dependencies: Resolved version conflicts between sirius-api, go-api, and app-scanner modules
  • Container Build Issues: Fixed missing go.sum entries and production build configurations
  • RabbitMQ Connectivity: Corrected health check patterns for reliable service monitoring
  • SSH Access Configuration: Added proper SSH troubleshooting capability for demo deployments
  • CI/CD Pipeline: Fixed GitHub Actions workflows for automated demo deployments

Technical Improvements

  • Multi-stage Docker Builds: Optimized container images with separate build and runtime stages
  • Production Go Modules: Proper separation of development and production go.mod files
  • Automated Testing: Enhanced container testing suite with health checks and integration tests
  • Infrastructure as Code: Improved Terraform configurations with SSH access and proper networking
  • Documentation: Comprehensive documentation for system monitoring features and troubleshooting

Security

  • SSH Key Management: Secure SSH access configuration for troubleshooting and maintenance
  • Container Security: Improved container security with proper user permissions and minimal attack surface
  • Access Control: Enhanced security group configurations with proper CIDR restrictions

[0.3.2] - Previous Release

Added

  • Basic vulnerability scanning capabilities
  • Docker-based deployment system
  • Web-based user interface
  • PostgreSQL database integration
  • RabbitMQ message queue system
  • Valkey caching layer

Release Notes

v0.4.0 - System Monitoring & Observability

This major release introduces comprehensive system monitoring and observability capabilities to SiriusScan. The new monitoring dashboard provides real-time insights into system health, performance metrics, and centralized logging.

Key Features:

  • Real-time Monitoring: Live health checks and system metrics
  • Centralized Logging: Unified log collection and management
  • Performance Tracking: Container resource utilization monitoring
  • Troubleshooting Tools: Enhanced debugging and diagnostic capabilities

Breaking Changes: None

Migration Guide: No migration required. The monitoring features are additive and don't affect existing functionality.

Upgrade Instructions:

  1. Pull the latest changes: git pull origin main
  2. Rebuild containers: docker compose down && docker compose up -d --build
  3. Access the new monitoring dashboard at /system-monitor

Known Issues: None

Contributors: Development Team