cve2release-tracker

command module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

README

SCEC-DB

SCEC Database API and CLI for managing software releases and SBOMs.

Project Structure

scec-db/
├── cmd/          # CLI commands
├── cli/          # CLI entry point
├── database/     # ArangoDB connection
├── model/        # Data models
├── util/         # Utilities
└── main.go       # API server

Building

API Server
go build -o scec-server main.go
./scec-server
CLI Client
go build -o scec-cli ./cli
./scec-cli upload --sbom sbom.json

Environment Variables

  • ARANGO_HOST - ArangoDB host (default: localhost)
  • ARANGO_PORT - ArangoDB port (default: 8529)
  • ARANGO_USER - ArangoDB username (default: root)
  • ARANGO_PASS - ArangoDB password
  • PORT - API server port (default: 3000)

API Endpoints

  • POST /api/v1/releases - Create release with SBOM
  • GET /api/v1/releases - List all releases
  • GET /api/v1/releases/:name/:version - Get specific release

CLI Commands

# Upload a release with SBOM
scec-cli upload --sbom sbom.json --type application

# List all releases
scec-cli list

# Get a specific release
scec-cli get myapp 1.0.0

# Get only the SBOM
scec-cli get myapp 1.0.0 --sbom-only --output sbom.json

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package database - Handles all interaction with ArangoDB
Package database - Handles all interaction with ArangoDB
Package model - API types for combining models in API requests/responses
Package model - API types for combining models in API requests/responses
Package util provides utility functions for import/export operations in the Ortelius CLI.
Package util provides utility functions for import/export operations in the Ortelius CLI.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL