diff --git a/.harness/orgs/PROD/projects/Harness_Split/pipelines/java_client_ci.yaml b/.harness/orgs/PROD/projects/Harness_Split/pipelines/java_client_ci.yaml index 20856771..8ffb6260 100644 --- a/.harness/orgs/PROD/projects/Harness_Split/pipelines/java_client_ci.yaml +++ b/.harness/orgs/PROD/projects/Harness_Split/pipelines/java_client_ci.yaml @@ -1,6 +1,7 @@ pipeline: name: java-client-ci identifier: java_client_ci + description: CI pipeline for java-client that builds, tests, runs Sonar analysis, and generates an SBOM for the GitHub repository. projectIdentifier: Harness_Split orgIdentifier: PROD tags: {} @@ -29,6 +30,27 @@ pipeline: spec: {} execution: steps: + # SCS/SSCA: generate SBOM for the GitHub repository + - step: + type: SscaOrchestration + name: scs repo scan + identifier: scs_repo_scan + spec: + mode: generation + tool: + type: Syft + spec: + format: spdx-json + source: + type: repository + spec: + url: https://github.com/splitio/java-client + path: /harness + variant_type: branch + variant: <+codebase.branch> + cloned_codebase: "true" + when: + stageStatus: Success # JDK 8: build + test + checkstyle (PR only) - step: type: Run