From bba0e843c352c2ba32de2b48b21076ae85b0ae5d Mon Sep 17 00:00:00 2001 From: Luc Boudreau Date: Tue, 24 Sep 2024 10:27:15 -0400 Subject: [PATCH 1/2] update --- .github/workflows/trx-agent-scan.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/trx-agent-scan.yaml diff --git a/.github/workflows/trx-agent-scan.yaml b/.github/workflows/trx-agent-scan.yaml new file mode 100644 index 0000000000..f979e3c4a7 --- /dev/null +++ b/.github/workflows/trx-agent-scan.yaml @@ -0,0 +1,21 @@ +on: + push: + branches: + - 'main' + - 'master' + pull_request: + types: + - 'opened' + - 'reopened' + workflow_dispatch: +jobs: + execute-scan-workflow: + uses: threatrix/threat-agent-scan/.github/workflows/scan-repo-reusable.yaml@master + with: + eid: 152cdb22-7aa4-4eb4-9ecf-e3790437833f + oid: b7c5524a-63d2-406e-9752-56cbf90228cc + app-name: mondrian + trx-host: https://app.threatrix.io + secrets: + TOKEN: ${{ secrets.GITHUB_TOKEN }} + THREATRIX_SERVER_API_KEY: ${{ secrets.THREATRIX_API_KEY }} From f7bb50e81353ee42df44b4935afd7957cfd1934f Mon Sep 17 00:00:00 2001 From: Luc Boudreau Date: Tue, 24 Sep 2024 10:31:49 -0400 Subject: [PATCH 2/2] Update trx-agent-scan.yaml --- .github/workflows/trx-agent-scan.yaml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/trx-agent-scan.yaml b/.github/workflows/trx-agent-scan.yaml index f979e3c4a7..4e027cc478 100644 --- a/.github/workflows/trx-agent-scan.yaml +++ b/.github/workflows/trx-agent-scan.yaml @@ -1,12 +1,5 @@ on: push: - branches: - - 'main' - - 'master' - pull_request: - types: - - 'opened' - - 'reopened' workflow_dispatch: jobs: execute-scan-workflow: @@ -14,7 +7,8 @@ jobs: with: eid: 152cdb22-7aa4-4eb4-9ecf-e3790437833f oid: b7c5524a-63d2-406e-9752-56cbf90228cc - app-name: mondrian + # SCPID is for Pentaho Legacy BoM Certify Project + scpid: 3ef4b1f1-778b-4204-94ae-5c7e360f13ab trx-host: https://app.threatrix.io secrets: TOKEN: ${{ secrets.GITHUB_TOKEN }}