{"id":30188701,"url":"https://github.com/rhecosystemappeng/sast-ai-orchestrator","last_synced_at":"2025-08-12T17:46:04.315Z","repository":{"id":288321902,"uuid":"964737443","full_name":"RHEcosystemAppEng/sast-ai-orchestrator","owner":"RHEcosystemAppEng","description":"Controller for SAST-AI-Workflows. This project schedules, monitors, and serves workflow info to REST clients 🧠📡","archived":false,"fork":false,"pushed_at":"2025-08-06T09:48:24.000Z","size":407,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-08-06T11:39:01.564Z","etag":null,"topics":["ai-security","rest-api","sast"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RHEcosystemAppEng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-11T17:46:49.000Z","updated_at":"2025-08-01T16:36:47.000Z","dependencies_parsed_at":"2025-04-17T06:46:44.083Z","dependency_job_id":"ff51af3e-b5f7-4196-8edd-6b2abe616af8","html_url":"https://github.com/RHEcosystemAppEng/sast-ai-orchestrator","commit_stats":null,"previous_names":["rhecosystemappeng/sast-ai-orchestrator"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RHEcosystemAppEng/sast-ai-orchestrator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fsast-ai-orchestrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fsast-ai-orchestrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fsast-ai-orchestrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fsast-ai-orchestrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RHEcosystemAppEng","download_url":"https://codeload.github.com/RHEcosystemAppEng/sast-ai-orchestrator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RHEcosystemAppEng%2Fsast-ai-orchestrator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270108986,"owners_count":24528772,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-12T02:00:09.011Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-security","rest-api","sast"],"created_at":"2025-08-12T17:46:01.930Z","updated_at":"2025-08-12T17:46:04.278Z","avatar_url":"https://github.com/RHEcosystemAppEng.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAST-AI-Orchestrator\n\n[![SonarQube Cloud](https://sonarcloud.io/images/project_badges/sonarcloud-light.svg)](https://sonarcloud.io/summary/new_code?id=RHEcosystemAppEng_sast-ai-orchestrator)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=RHEcosystemAppEng_sast-ai-orchestrator\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=RHEcosystemAppEng_sast-ai-orchestrator)\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=RHEcosystemAppEng_sast-ai-orchestrator\u0026metric=code_smells)](https://sonarcloud.io/summary/new_code?id=RHEcosystemAppEng_sast-ai-orchestrator)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=RHEcosystemAppEng_sast-ai-orchestrator\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=RHEcosystemAppEng_sast-ai-orchestrator)\n[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=RHEcosystemAppEng_sast-ai-orchestrator\u0026metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=RHEcosystemAppEng_sast-ai-orchestrator)\n\n\n[![CodeQL](https://github.com/RHEcosystemAppEng/sast-ai-orchestrator/actions/workflows/codeql.yml/badge.svg)](https://github.com/RHEcosystemAppEng/sast-ai-orchestrator/actions/workflows/codeql.yml)\n[![Build and Publish JVM Image](https://github.com/RHEcosystemAppEng/sast-ai-orchestrator/actions/workflows/build-and-publish.yml/badge.svg?branch=main)](https://github.com/RHEcosystemAppEng/sast-ai-orchestrator/actions/workflows/build-and-publish.yml)\n\nJava Quarkus REST API that manages [SAST-AI-Workflow](https://github.com/RHEcosystemAppEng/sast-ai-workflow) security scanning Tekton pipelines.\n\n## API Endpoints\n\n#### Health \u0026 Monitoring\n- `GET /api/v1/health` - Application health status\n\n#### Job Management\n- `POST /api/v1/jobs/simple` - Create a new security scanning job\n- `GET /api/v1/jobs` - List all jobs (with filtering \u0026 pagination)  \n- `GET /api/v1/jobs/{id}` - Get specific job details\n- `POST /api/v1/jobs/{id}/cancel` - Cancel a running job\n\n#### Job Batches\n- `POST /api/v1/job-batches` - Submit batch processing jobs\n- `GET /api/v1/job-batches` - List job batches\n- `GET /api/v1/job-batches/{id}` - Get batch details\n\n#### Package Analysis\n- `GET /api/v1/packages` - Package vulnerability summaries\n\n\n## Quick Start\n\n### Local Development\n\n1. **Clone the repository**\n   ```bash\n   git clone https://github.com/RHEcosystemAppEng/sast-ai-orchestrator.git\n   cd sast-ai-orchestrator\n   ```\n\n2. **Setup PostgreSQL**\n   ```bash\n   # Using Docker\n   docker run --name postgres \\\n   -e POSTGRES_DB=sast-ai \\\n   -e POSTGRES_USER=quarkus \\\n   -e POSTGRES_PASSWORD=quarkus \\\n   -p 5432:5432 \\\n   -d postgres:13\n   ```\n\n3. **Run the application**\n   ```bash\n   ./mvnw quarkus:dev\n   ```\n\n4. **Access the API**\n   ```\n   http://localhost:8080/api/v1/health\n   ```\n   \n## Deployment\n\n### Docker Deployment\n```bash\n# JVM Mode (Fast startup)\ndocker build -f src/main/docker/Dockerfile.jvm -t sast-ai-orchestrator:jvm .\n```\n\n### Kubernetes Deployment\n- **Helm Chart**: See `deploy/sast-ai-chart/` for Helm deployment\n- **ArgoCD**: See `deploy/argocd/` for GitOps deployment\n- **Documentation**: Refer to `deploy/README.md` for detailed instructions\n\n## Configuration\n\nKey configuration options in `application.properties`:\n\n```properties\n# Database\nquarkus.datasource.jdbc.url=jdbc:postgresql://localhost:5432/sast-ai\nquarkus.datasource.username=quarkus\nquarkus.datasource.password=quarkus\n\n# Workflow Integration  \nsast.ai.workflow.namespace=sast-ai\nquarkus.kubernetes-client.trust-certs=false\n```\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003eBuilt with ❤️ by the Red Hat Ecosystem App Engineering Team\u003c/sub\u003e\n\u003c/div\u003e\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhecosystemappeng%2Fsast-ai-orchestrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhecosystemappeng%2Fsast-ai-orchestrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhecosystemappeng%2Fsast-ai-orchestrator/lists"}