We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36c5b2e commit ab0c285Copy full SHA for ab0c285
action.js
@@ -8,8 +8,7 @@ async function exec () {
8
var config = parseConfig();
9
netsparker = new Netsparker(config.userid, config.apitoken, config.profilename, config.targetsite);
10
const scanId = await netsparker.scan();
11
- if(config.report
12
- || (config.criticalthreshold || config.highthreshold || config.mediumthreshold)) {
+ if(config.report) {
13
await netsparker.waitForScanToComplete(scanId);
14
const scanResults = await netsparker.scanResults(scanId);
15
core.setOutput('scanresults', scanResults);
0 commit comments