From 664e1b794f469561aca6bab204b8c2b26f046c75 Mon Sep 17 00:00:00 2001 From: Steve McGrath Date: Mon, 12 Aug 2024 09:30:10 -0500 Subject: [PATCH] corrects 285 with a default value of 1-1-1970 (Unix TS of 0) --- tenb2jira/tenable/generators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tenb2jira/tenable/generators.py b/tenb2jira/tenable/generators.py index cb1a146..77a4396 100644 --- a/tenb2jira/tenable/generators.py +++ b/tenb2jira/tenable/generators.py @@ -155,7 +155,7 @@ def tsc_merged_data(*vuln_iters: 'AnalysisResultsIterator', astr = ':'.join([f'{f[i]}' for i in uniqa]) f['asset.uuid'] = uuid.uuid3(uuid.NAMESPACE_DNS, astr) f['integration_finding_id'] = uuid.uuid3(uuid.NAMESPACE_DNS, fstr) - f['integration_pid_updated'] = arrow.get(int(f.get('pluginModDate'))) + f['integration_pid_updated'] = arrow.get(int(f.get('pluginModDate', 0))) # Return the augmented finding to the caller. yield f