From 879fa18fc4108598223a443246e4593309615522 Mon Sep 17 00:00:00 2001 From: attiasas Date: Wed, 25 Sep 2024 20:37:52 +0300 Subject: [PATCH 1/2] Update CLA assistant --- .github/workflows/cla.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index 38183d2d..b3419053 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -19,7 +19,7 @@ jobs: - name: "CLA Assistant" if: ${{ steps.sign-or-recheck.outputs.match != '' || github.event_name == 'pull_request_target' }} # Alpha Release - uses: cla-assistant/github-action@v2.3.0 + uses: cla-assistant/github-action@v2.6.0 env: # Generated and maintained by GitHub GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From a49906bf9062949a46fcd6c7210ba5cfb025c24c Mon Sep 17 00:00:00 2001 From: attiasas Date: Thu, 26 Sep 2024 14:06:14 +0300 Subject: [PATCH 2/2] add logs --- jas/common.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/jas/common.go b/jas/common.go index 5acdb987..dc65cacf 100644 --- a/jas/common.go +++ b/jas/common.go @@ -33,7 +33,7 @@ import ( const ( NoServerUrlError = "To incorporate the ‘Advanced Security’ scans into the audit output make sure platform url is provided and valid (run 'jf c add' prior to 'jf audit' via CLI, or provide JF_URL via Frogbot)" - NoServerDetailsError = "Jfrog Server details are missing" + NoServerDetailsError = "jfrog Server details are missing" ) type JasScanner struct { @@ -53,6 +53,12 @@ func CreateJasScanner(jfrogAppsConfig *jfrogappsconfig.JFrogAppsConfig, serverDe return } if len(serverDetails.Url) == 0 { + if len(serverDetails.XrayUrl) != 0 { + log.Debug("Xray URL provided without platform URL") + } + if len(serverDetails.ArtifactoryUrl) != 0 { + log.Debug("Artifactory URL provided without platform URL") + } log.Warn(NoServerUrlError) return }