Skip to content

Commit 1b62dbf

Browse files
committed
pack resubmitted
1 parent d5b75e0 commit 1b62dbf

File tree

15 files changed

+66
-64
lines changed

15 files changed

+66
-64
lines changed
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

22
#### Incident Fields
3+
- **Content Testing Dependencies**
34
- **Content Testing Coverage**
45
- **Content Testing PBA Info**
5-
- **Content Testing Dependencies**
66

77
#### Incident Types
88
- **UnitTesting**
@@ -18,32 +18,32 @@
1818
- Updated the sub-playbook inputs
1919

2020
#### Scripts
21-
##### ChangeHistory
22-
- Updated the timeout to 600 seconds
23-
- Updated the Docker image to: *demisto/python3:3.10.10.47713*.
2421
##### New: UnitTestPBAStats
2522
- Added support for playbook analysis statistics
26-
##### ListPlaybookAutomationsCommands
27-
- Fixed an issue for playbooks referencing missing automations
28-
- Updated the timeout to 600 seconds
29-
- Updated the Docker image to: *demisto/python3:3.10.10.47713*.
23+
##### UpgradeCheck
24+
- Updated the timeout to 1200 seconds
25+
- Updated the Docker image to: *demisto/python3:3.10.10.48392*.
26+
##### UnitTestLoadFields
27+
- Fixed an issue to not overwrite incident type
28+
- Updated the Docker image to: *demisto/python3:3.10.10.48392*.
3029
##### UnitTest
3130
- Fixed an issue so playbooks with spaces in name do not require quotes in Ad Hoc Test button
3231
- Fixed an issue in RunUTResults() to get arguments first in the event getting the automation ID throws an exception; uninitialized variable in the exception handler throws another exception, masking the original exception
33-
- Updated the Docker image to: *demisto/python3:3.10.10.47713*.
32+
- Updated the Docker image to: *demisto/python3:3.10.10.48392*.
3433
##### New: UnitTestCoverage
3534
- Added support for test coverage
3635
(Available from Cortex XSOAR 6.5.0).
37-
##### UnitTestLoadFields
38-
- Fixed an issue to not overwrite incident type
39-
- Updated the Docker image to: *demisto/python3:3.10.10.47713*.
40-
##### UpgradeCheck
41-
- Updated the timeout to 1200 seconds
42-
- Updated the Docker image to: *demisto/python3:3.10.10.47713*.
36+
##### New: UnitTestPBATaskAvg
37+
- Added support for playbook task averages
38+
##### ChangeHistory
39+
- Updated the timeout to 600 seconds
40+
- Updated the Docker image to: *demisto/python3:3.10.10.48392*.
4341
##### New: UnitTestPBATaskMax
4442
- Added support for playbook task maximum
43+
##### ListPlaybookAutomationsCommands
44+
- Fixed an issue for playbooks referencing missing automations
45+
- Updated the timeout to 600 seconds
46+
- Updated the Docker image to: *demisto/python3:3.10.10.48392*.
4547
##### New: UnitTestPlaybookAnalyzer
4648
- Added support for playbook analysis
4749
(Available from Cortex XSOAR 6.5.0).
48-
##### New: UnitTestPBATaskAvg
49-
- Added support for playbook task averages

Packs/ContentTesting/Scripts/ChangeHistory/ChangeHistory.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ commonfields:
44
contentitemexportablefields:
55
contentitemfields:
66
fromServerVersion: ""
7-
dockerimage: demisto/python3:3.10.10.47713
7+
dockerimage: demisto/python3:3.10.10.48392
88
enabled: true
99
name: ChangeHistory
1010
runas: DBotWeakRole

Packs/ContentTesting/Scripts/ListPlaybookAutomationsCommands/ListPlaybookAutomationsCommands.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ commonfields:
66
contentitemexportablefields:
77
contentitemfields:
88
fromServerVersion: ""
9-
dockerimage: demisto/python3:3.10.10.47713
9+
dockerimage: demisto/python3:3.10.10.48392
1010
enabled: true
1111
name: ListPlaybookAutomationsCommands
1212
runas: DBotWeakRole

Packs/ContentTesting/Scripts/UnitTest/UnitTest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ commonfields:
1919
contentitemexportablefields:
2020
contentitemfields:
2121
fromServerVersion: ""
22-
dockerimage: demisto/python3:3.10.10.47713
22+
dockerimage: demisto/python3:3.10.10.48392
2323
enabled: true
2424
name: UnitTest
2525
runas: DBotWeakRole

Packs/ContentTesting/Scripts/UnitTestCoverage/UnitTestCoverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ commonfields:
88
contentitemexportablefields:
99
contentitemfields:
1010
fromServerVersion: ""
11-
dockerimage: demisto/python3:3.10.10.47713
11+
dockerimage: demisto/python3:3.10.10.48392
1212
enabled: true
1313
name: UnitTestCoverage
1414
runas: DBotWeakRole

Packs/ContentTesting/Scripts/UnitTestLoadFields/UnitTestLoadFields.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ commonfields:
88
contentitemexportablefields:
99
contentitemfields:
1010
fromServerVersion: ""
11-
dockerimage: demisto/python3:3.10.10.47713
11+
dockerimage: demisto/python3:3.10.10.48392
1212
enabled: true
1313
name: UnitTestLoadFields
1414
runas: DBotWeakRole

Packs/ContentTesting/Scripts/UnitTestPBAStats/UnitTestPBAStats.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ class TaskStat(TypedDict):
2626
count: int
2727
completed: int
2828
started: int
29+
waiting: int
2930
notexecuted: int
31+
error: int
3032

3133

3234
class WidgetStat(TypedDict):
@@ -65,14 +67,14 @@ def TaskWidget(tstat: TaskStat) -> list[WidgetGroup]:
6567
return group
6668

6769

68-
def WidgetStatGroup(wstats: list[WidgetStat], name: str, stat: Dict) -> list[WidgetStat]:
70+
def TaskWidgetGroup(wstats: list[WidgetStat], name: str, stat: list[WidgetGroup]) -> list[WidgetStat]:
6971
w: WidgetStat = NewWidgetStatGroup(name, stat)
7072
wstats.append(w)
7173
return wstats
7274

7375

74-
def NewWidgetStatGroup(name: str, data: list) -> WidgetStat:
75-
wstat: WidgetStat = {'name': name, 'groups': data}
76+
def NewWidgetStatGroup(name: str, data: list[WidgetGroup]) -> WidgetStat:
77+
wstat: WidgetStat = {'name': name, 'groups': data, 'data': [], 'label': "", 'color': ""}
7678
return wstat
7779

7880

@@ -93,7 +95,7 @@ def main():
9395
wstats: list[WidgetStat] = []
9496
for key, val in stats.items():
9597
tw = TaskWidget(val)
96-
wstats = WidgetStatGroup(wstats, val['name'], tw)
98+
wstats = TaskWidgetGroup(wstats, val['name'], tw)
9799
widget = NewWidget("bar", "vertical", wstats)
98100
demisto.results(widget)
99101
except Exception as ex:

Packs/ContentTesting/Scripts/UnitTestPBAStats/UnitTestPBAStats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ commonfields:
44
contentitemexportablefields:
55
contentitemfields:
66
fromServerVersion: ""
7-
dockerimage: demisto/python3:3.10.10.47713
7+
dockerimage: demisto/python3:3.10.10.48392
88
enabled: true
99
name: UnitTestPBAStats
1010
runas: DBotWeakRole

Packs/ContentTesting/Scripts/UnitTestPBATaskAvg/UnitTestPBATaskAvg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class WidgetStat(TypedDict):
2929

3030

3131
def NewWidgetStat(name: str, color: str, label: str, data: list) -> WidgetStat:
32-
wstat: WidgetStat = {'name': name, 'color': color, 'data': [data], 'label': label, 'groups': None}
32+
wstat: WidgetStat = {'name': name, 'color': color, 'data': [data], 'label': label, 'groups': []}
3333
return wstat
3434

3535

Packs/ContentTesting/Scripts/UnitTestPBATaskAvg/UnitTestPBATaskAvg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ commonfields:
44
contentitemexportablefields:
55
contentitemfields:
66
fromServerVersion: ""
7-
dockerimage: demisto/python3:3.10.10.47713
7+
dockerimage: demisto/python3:3.10.10.48392
88
enabled: true
99
name: UnitTestPBATaskAvg
1010
runas: DBotWeakRole

0 commit comments

Comments
 (0)