Skip to content

Commit

Permalink
Merge pull request #249 from demisto/bugfix/dataiprep-fix
Browse files Browse the repository at this point in the history
DataIPReputation - removed PassiveTotal query and fixed error
  • Loading branch information
liorkol authored Mar 7, 2017
2 parents 2fa7a6c + 34ac30e commit f1e0a75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Scripts/script-DataIPReputation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ script: |-
}
}
}
/*
if (isCommandAvailable('pt-malware')) {
var pt = executeCommand('pt-malware', {query: args.input});
if (pt) {
Expand All @@ -68,7 +69,9 @@ script: |-
}
}
}
var score = Math.max(xfeScore, vtScore, cyScore, wfScore, csScore, tcScore);
*/
var score = Math.max(xfeScore, vtScore, csScore, tcScore /*, ptScore */);
return score < 0 ? 0 : score;
type: javascript
tags:
Expand All @@ -84,5 +87,4 @@ scripttarget: 0
dependson:
should:
- ip
- pt-malware
timeout: 0s

0 comments on commit f1e0a75

Please # to comment.