Skip to content

Commit 8979965

Browse files
Tenable SC - Changed a direct get to a safe get - possible solution (#12141)
* Changed the direct get to a safe get * Added all the relevant data for the PR * Update 1_0_1.md Done. Co-authored-by: ShirleyDenkberg <62508050+ShirleyDenkberg@users.noreply.github.com>
1 parent 06657e7 commit 8979965

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

Packs/Tenable_sc/Integrations/Tenable_sc/Tenable_sc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ def get_scan_report_command():
882882
'Description': scan_results['description'],
883883
'Policy': scan_results['details'],
884884
'Group': scan_results.get('ownerGroup', {}).get('name'),
885-
'Checks': scan_results['completedChecks'],
885+
'Checks': scan_results.get('completedChecks'),
886886
'StartTime': timestamp_to_utc(scan_results['startTime']),
887887
'EndTime': timestamp_to_utc(scan_results['finishTime']),
888888
'Duration': scan_duration_to_demisto_format(scan_results['scanDuration']),
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
#### Integrations
3+
##### Tenable.sc
4+
Fixed an issue where the ***tenable-sc-get-scan-report*** command failed due to invalid key parsing.

Packs/Tenable_sc/pack_metadata.json

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
{
2-
"name": "Tenable.sc",
3-
"description": "With Tenable.sc (formerly SecurityCenter) you get a real-time, continuous assessment of your security posture so you can find and fix vulnerabilities faster.",
4-
"support": "xsoar",
5-
"currentVersion": "1.0.0",
6-
"author": "Cortex XSOAR",
7-
"url": "https://www.paloaltonetworks.com/cortex",
8-
"email": "",
9-
"created": "2020-04-14T00:00:00Z",
10-
"categories": [
11-
"Vulnerability Management"
12-
],
13-
"tags": [],
14-
"useCases": [],
15-
"keywords": []
16-
}
2+
"name": "Tenable.sc",
3+
"description": "With Tenable.sc (formerly SecurityCenter) you get a real-time, continuous assessment of your security posture so you can find and fix vulnerabilities faster.",
4+
"support": "xsoar",
5+
"currentVersion": "1.0.1",
6+
"author": "Cortex XSOAR",
7+
"url": "https://www.paloaltonetworks.com/cortex",
8+
"email": "",
9+
"created": "2020-04-14T00:00:00Z",
10+
"categories": [
11+
"Vulnerability Management"
12+
],
13+
"tags": [],
14+
"useCases": [],
15+
"keywords": []
16+
}

0 commit comments

Comments
 (0)