Skip to content

Commit

Permalink
Merge pull request #6 from polarityio/develop
Browse files Browse the repository at this point in the history
INT-1129: Fix onDetails lookup for non CVEs
  • Loading branch information
sarus authored Oct 23, 2023
2 parents a2c0c4f + 62dbd58 commit d184eb7
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 35 deletions.
2 changes: 1 addition & 1 deletion integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ function getActorById(entity, actor, options, cb) {

function onDetails(lookupResult, options, cb) {
if (lookupResult.entity.type !== 'cve') {
cb(null, lookupResult.data);
return cb(null, lookupResult.data);
}

const actors = [];
Expand Down
90 changes: 58 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "analyst1",
"version": "3.5.3",
"version": "3.5.4",
"main": "./integration.js",
"private": true,
"dependencies": {
"async": "^3.2.4",
"lodash.groupby": "^4.6.0",
"lodash.get": "^4.4.2",
"postman-request": "^2.88.1-postman.31"
"postman-request": "^2.88.1-postman.33"
}
}

0 comments on commit d184eb7

Please sign in to comment.