Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66163

Netsparker Enterprise Plugin: Get scan info error ERROR: > Netsparker Enterprise Plugin: null

      After upgrading to Netsparker plugin version 2.0.0 , It starts giving error immediately after starting scan.

      > Netsparker Enterprise Plugin: Scan step created...
      > Netsparker Enterprise Plugin: Requesting scan...
      > Netsparker Enterprise Plugin: Response status code: 201
      > Netsparker Enterprise Plugin: Scan requested successfully.
      > Netsparker Enterprise Plugin: Requesting scan info...
      > Netsparker Enterprise Plugin: Response scan info status code: 400
      > Netsparker Enterprise Plugin: Get scan info error
      ERROR: > Netsparker Enterprise Plugin: null
      > Netsparker Enterprise Plugin: Requesting scan cancel...
      > Netsparker Enterprise Plugin: Response scan cancel status code: 200

          [JENKINS-66163] Netsparker Enterprise Plugin: Get scan info error ERROR: > Netsparker Enterprise Plugin: null

          Tri Effendi added a comment -

          i faced the similar issues, and asked the netsparker support. It turned out there are 3 additional mandatory parameters in v2 that must be stated in our Jenkins pipeline script:

          • ncConfirmed
          • ncIgnoreFalsePositive
          • ncIgnoreRiskAccepted

          My script goes like this and successfully running again:

          step([$class: 'NCScanBuilder', ncApiToken: '$APITOKEN', ncScanType: 'FullWithPrimaryProfile', ncWebsiteId: 'ed9f0xxxxxxxxxxxf03f0b886', ncDoNotFail: true, ncConfirmed: false, ncIgnoreFalsePositive: false, ncIgnoreRiskAccepted: false])

           

          Hope it helps.

          Tri Effendi added a comment - i faced the similar issues, and asked the netsparker support. It turned out there are 3 additional mandatory parameters in v2 that must be stated in our Jenkins pipeline script: ncConfirmed ncIgnoreFalsePositive ncIgnoreRiskAccepted My script goes like this and successfully running again: step( [$class: 'NCScanBuilder', ncApiToken: '$APITOKEN', ncScanType: 'FullWithPrimaryProfile', ncWebsiteId: 'ed9f0xxxxxxxxxxxf03f0b886', ncDoNotFail: true, ncConfirmed: false, ncIgnoreFalsePositive: false, ncIgnoreRiskAccepted: false] )   Hope it helps.

          Thanks tsuriadi

          I have added the additional parameters  and it started working.

          ncDoNotFail: true, ncConfirmed: false, ncIgnoreFalsePositive: false, ncIgnoreRiskAccepted: false

          Pawandeep Singh added a comment - Thanks tsuriadi I have added the additional parameters  and it started working. ncDoNotFail: true, ncConfirmed: false, ncIgnoreFalsePositive: false, ncIgnoreRiskAccepted: false

            netsparker Netsparker Cloud
            pawanjosan Pawandeep Singh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: