Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

added xRefs array property #246

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jupiterone/graph-tenable-io",
"version": "9.7.1",
"version": "9.8.0",
"description": "A JupiterOne managed integration for https://www.tenable.com/products/tenable-io",
"repository": {
"type": "git",
Expand Down
7 changes: 5 additions & 2 deletions src/steps/vulnerabilities/converters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -366,13 +366,16 @@ export function createVulnerabilityEntity(
// vulnerability prioritization properties
cvss3BaseScore: vuln.plugin.cvss3_base_score,
cvss3TemporalScore: vuln.plugin.cvss3_temporal_score,

cvssBaseScore: vuln.plugin.cvss_base_score,
cvssTemporalScore: vuln.plugin.cvss_temporal_score,

cvss3Vector: vuln.plugin.cvss3_vector?.raw,
cvssVector: vuln.plugin.cvss_vector?.raw,
hasPatch: vuln.plugin.has_patch,

// cross-reference plugin information array: CISA, CVE, IAVA
xRefs: vuln.plugin.xrefs
? vuln.plugin.xrefs.map((r) => JSON.stringify(r))
: [],
SeaBlooms marked this conversation as resolved.
Show resolved Hide resolved
},
},
});
Expand Down
Loading