Skip to content

Commit fc79233

Browse files
mmhwmaimorag
authored andcommitted
[pre-commit ruff] Align the entire repo with ruff demisto#3 (demisto#29762)
* [pre-commit ruff] Align the entire repo with ruff demisto#3 * Add RN * Update the RN * Update the docker image
1 parent 784c896 commit fc79233

File tree

14 files changed

+68
-62
lines changed

14 files changed

+68
-62
lines changed

Packs/CyberArkPAS/Integrations/CyberArkPAS/test_data/context.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@
575575
"Alert": False,
576576
"ClientID": "PVWA",
577577
"Date": 1594838456,
578-
"Date": 1594838456,
579578
"MoreInfo": "",
580579
"Reason": "",
581580
"User": "Administrator"

Packs/EDL/Integrations/EDL/EDL_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,7 @@ def test_initialize_edl_context():
634634
'url_truncate': False,
635635
'UpdateEDL': True,
636636
'maximum_cidr_size': 8,
637-
'no_wildcard_tld': True,
638-
'maximum_cidr_size': 8
637+
'no_wildcard_tld': True
639638
}
640639

641640

Packs/ExodusIntelligence/Integrations/ExodusVulnerabilityEnrichment/ExodusVulnerabilityEnrichment_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ def test_extract_data(self):
264264
CLEAN_DATA = {
265265
"xicve": "CVE-2021-28482",
266266
"xiidentifier": "XI-00053139",
267-
"xiidentifier": "XI-00053139",
268267
"xiattackvector": "NETWORK",
269268
"xicvss": 8.8,
270269
"xidescription": "Microsoft Exchange Server Remote Code Execution.",

Packs/FortinetFortiwebVM/Integrations/FortinetFortiwebVM/FortinetFortiwebVM.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8219,7 +8219,6 @@ def build_server_pool_rule(
82198219
"health": health_check,
82208220
"health-check-inherit": health_check_inherit,
82218221
"hlck-domain": health_check_domain,
8222-
"weight": weight,
82238222
"http2": http2,
82248223
"ssl": enable_ssl,
82258224
"client-certificate": client_certificate_file,

Packs/FortinetFortiwebVM/Integrations/FortinetFortiwebVM/FortinetFortiwebVM.yml

Lines changed: 41 additions & 41 deletions
Large diffs are not rendered by default.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
#### Integrations
3+
4+
##### Fortiweb VM
5+
6+
Updated the Docker image to: *demisto/python3:3.10.13.74666*.

Packs/FortinetFortiwebVM/pack_metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "Fortinet Fortiweb VM",
33
"description": "Fortiweb VM integration allows to manage WAF policies and block cookies, URLs, and hostnames.",
44
"support": "xsoar",
5-
"currentVersion": "2.0.3",
5+
"currentVersion": "2.0.4",
66
"author": "Cortex XSOAR",
77
"url": "https://www.paloaltonetworks.com/cortex",
88
"email": "",

Packs/SysAid/Integrations/SysAid/test_data/input_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
service_record_expected_response_output = [
140140
{'alertID': 'green', 'id': '25', 'impact': 'Low', 'insert_time': '03/07/2022 08:56:35 AM', 'sr_type': 'Incident',
141141
'status': 'New', 'title': 'Cannot access email - Test ', 'update_time': '03/15/2022 04:53:20 AM',
142-
'canArchive': True, 'canDelete': True, 'canUpdate': True, 'hasChildren': False, 'id': '25', 'info': [
142+
'canArchive': True, 'canDelete': True, 'canUpdate': True, 'hasChildren': False, 'info': [
143143
{'key': 'impact', 'keyCaption': 'Impact', 'value': 4, 'valueCaption': 'Low', 'valueClass': ''},
144144
{'key': 'alertID', 'keyCaption': 'Alert', 'value': 25, 'valueCaption': 'green', 'valueClass': ''},
145145
{'key': 'status', 'keyCaption': 'Status', 'value': 1, 'valueCaption': 'New', 'valueClass': 0},
@@ -152,7 +152,7 @@
152152
{'key': 'sr_type', 'keyCaption': 'Service Record Type', 'value': 1, 'valueCaption': 'Incident', 'valueClass': ''}]},
153153
{'description': 'I test this', 'id': '28', 'sr_type': 'Incident', 'status': 'New',
154154
'title': 'Cannot connect to a Wi-Fi network', 'update_time': '03/07/2022 09:08:01 AM',
155-
'canArchive': True, 'canDelete': True, 'canUpdate': True, 'hasChildren': False, 'id': '28', 'info': [
155+
'canArchive': True, 'canDelete': True, 'canUpdate': True, 'hasChildren': False, 'info': [
156156
{'key': 'status', 'keyCaption': 'Status', 'value': 1, 'valueCaption': 'New', 'valueClass': 0},
157157
{'key': 'description', 'keyCaption': 'Description', 'value': 'I test this', 'valueCaption': 'I test this',
158158
'valueClass': ''},

Packs/Uptycs/Integrations/Uptycs/Uptycs_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,6 @@ def test_uptycs_get_asset_groups(mocker, requests_mock):
14281428
"updatedAt": "2018-09-24T17:24:45.604Z",
14291429
"id": "106eef5e-c3a6-44eb-bb3d-1a2087cded3d",
14301430
"createdAt": "2018-09-24T17:24:45.604Z",
1431-
"updatedAt": "2018-09-24T17:24:45.604Z",
14321431
"objectType": "ASSET"
14331432
}
14341433
]

Packs/epo/Integrations/epoV2/epoV2.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,6 @@ def epo_command_command(client: Client, args: Dict[str, Any]) -> CommandResults:
10101010
if resp_type != 'json':
10111011
response_json = raw_response # type: ignore
10121012

1013-
header_list: List[Any]
10141013
if 'headers' in args:
10151014
headers_list = list(args['headers'].split(','))
10161015
md = tableToMarkdown(f'ePO command *{args["command"]}* results:', response_json, headers=headers_list)

0 commit comments

Comments
 (0)