AutoTriage

AutoTriage Development Guide

This page contains the engineering information needed to build, configure, and run AutoTriage locally.

Return to the AutoTriage overview

Repository Structure

Local Development

Prerequisites

Startup

  1. Start Temporal. For the development server, set TEMPORAL_TARGET=localhost:7233 and TEMPORAL_TLS_ENABLED=false.
  2. Start the services and workers from the repository root:
    • mvn -pl scan-api quarkus:dev
    • mvn -pl scan-worker-workflow quarkus:dev
    • mvn -pl scan-worker-light quarkus:dev
    • mvn -pl scan-worker-filter quarkus:dev
    • mvn -pl scan-worker-opengrep quarkus:dev
  3. For the optional local triage path:
    • Start Postgres.
    • Run mvn -pl triage-service quarkus:dev.
    • Set the JWT verification and database configuration.
  4. For the optional suppression-ingest mock, run mvn -pl suppression-service-mock quarkus:dev.
  5. Submit scans to scan-api and monitor /scans/{runId} and the Temporal UI.

Verification

Run the complete Java 17 verification suite from the repository root:

mvn -B verify

Containerized Local Run

Key Configuration

Common

Scan API

OpenGrep

Filter and ZeroFalse

Triage

Engineering Documentation