{"id":26748297,"url":"https://github.com/nwestfall/netsparkerscanrunner","last_synced_at":"2025-04-14T22:14:39.133Z","repository":{"id":34304202,"uuid":"175847991","full_name":"nwestfall/netsparkerscanrunner","owner":"nwestfall","description":"Quickly and easily a Netsparker Scan using your Netsparker Cloud Account","archived":false,"fork":false,"pushed_at":"2022-08-18T19:34:39.000Z","size":108,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T22:14:33.863Z","etag":null,"topics":["netsparker","node","scan","security"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwestfall.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}},"created_at":"2019-03-15T15:41:10.000Z","updated_at":"2022-04-17T16:15:02.000Z","dependencies_parsed_at":"2023-01-04T16:48:21.054Z","dependency_job_id":null,"html_url":"https://github.com/nwestfall/netsparkerscanrunner","commit_stats":{"total_commits":28,"total_committers":3,"mean_commits":9.333333333333334,"dds":0.3571428571428571,"last_synced_commit":"18e673acacdd373a2b51a9ab9af0a0b6b017ddf8"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwestfall%2Fnetsparkerscanrunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwestfall%2Fnetsparkerscanrunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwestfall%2Fnetsparkerscanrunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwestfall%2Fnetsparkerscanrunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwestfall","download_url":"https://codeload.github.com/nwestfall/netsparkerscanrunner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968917,"owners_count":21191162,"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","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":["netsparker","node","scan","security"],"created_at":"2025-03-28T10:17:19.477Z","updated_at":"2025-04-14T22:14:39.115Z","avatar_url":"https://github.com/nwestfall.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Netsparker Scan Runner\n\n[![npm version](https://badge.fury.io/js/netsparkerscanrunner.svg)](https://badge.fury.io/js/netsparkerscanrunner)\n\nQuickly and easily run a Netsparker Scan using your Netsparker \nCloud Account.\n\n## Requirements\nYou have a [Netsparker Cloud](https://www.netsparkercloud.com/) account.\n\n## Features\n\nUsing the Netsparker Cloud API, run a scan using a profile against a url.  You can then either make it \"fire-and-forget\" or report back either in the console or jUnit.\n\n## Install\n\n`npm install -g netsparker-scan-runner`\n\n## How to Use (Runner)\n\n`netsparker-scan-runner --help`\n\n```\nNetsparker Scan Runner\n\n  Run a scan against your Netsparker Cloud instance using a configured profile.\n  Can optionally wait for the report.\n\nOptions\n\n  --userid userid             The user id from your Netsparker Account\n  --apitoken apitoken         The api token from your Netsparker Account\n  --profilename profilename   The profile name saved in your Netsparker Account\n  --targetsite                The target url you want to run against\n  --report                    If you want to wait around for the report (true) or to file and forget\n                              (false)\n  --junit                     If you want to generate a junit report, enter the file name and location here\n  --help                      Print this usage guide\n```\n\n`netsparker-scan-runner -u userid -t apitoken -p ProfileName -s https://example.com/ -j path/to/junit/report.xml`\n\nAnd that's it.  Super simple.  Super easy.\n\n## How to Use (GitHub Action)\nThe same runner will work as a github action.\n\n```yml\n- name: Netsparker Scan\n  id: netsparker\n  uses: nwestfall/netsparkerscanrunner@main\n  with:\n    userid: ${{ secrets.NETSPARKER_USER_ID }}\n    apitoken: ${{ secrets.NETSPARKER_API_TOKEN }}\n    profilename: ${{ secrets.NETSPARKER_PROFILE_NAME }}\n    targetsite: ${{ secrets.NETSPARKER_TARGET_SITE }}\n    junit: tests.xml\n    criticalthreshold: 0 #this means 1 more\n    highthreshold: 2\n    mediumthreshold: 4\n```\n\n### Spec\n#### Environment variables\n - None\n#### Inputs\n - userid (required) - The user id from your Netsparker Account\n - apitoken (required) - The api token from your Netsparker Account\n - profilename (required) - The profile name saved in your Netsparker Account\n - targetsite (required) - The target url you want to run against\n - report (default: true) - If you want to wait around for the report (true) or to fire and forget (false)\n - junit - If you want to generate a junit report, enter the file name and location here\n - criticalthreshold - Critical Severity Threshold\n - highthreshold - High Severity Threshold\n - mediumthreshold - Medium Severity Threshold\n#### Outputs\n - scanresults - Scan results from Netsparker (blank if `report` is false)\n - scanreport - Scan report from Netsparker (blank if `report` is false)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwestfall%2Fnetsparkerscanrunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwestfall%2Fnetsparkerscanrunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwestfall%2Fnetsparkerscanrunner/lists"}