Skip to content

Commit

Permalink
Fix: Format files for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
TOUFIKIzakarya committed Jul 11, 2024
1 parent a3506d4 commit 09f648b
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"readonly": false,
"default": false,
"autorun": true,
"closureScript": "0fa7a002-c00c-45c8-80ab-a7ebcfaa11f7",
"closureScript": "CloseSekoiaAlert",
"disabled": false,
"reputationCalc": 2,
"onChangeRepAlg": 3,
Expand Down
10 changes: 5 additions & 5 deletions Packs/SekoiaXDR/Layouts/layoutscontainer-Sekoia_XDR_Layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@
"minH": 1,
"moved": false,
"name": "Comments",
"query": "146130dc-9f3a-41e9-8a81-fbea9b933d0c",
"query": "SekoiaXDRPrintComments",
"queryType": "script",
"static": false,
"type": "dynamic",
Expand Down Expand Up @@ -624,7 +624,7 @@
"index": 6,
"listId": "caseinfoid-xwqxiqdriy-caseinfoid-7ece0630-a95c-11ed-9145-25ddf42500b6",
"name": "UPDATE STATUS",
"scriptId": "b4e28711-18ee-4ae4-8ccb-1c5f647b55f1",
"scriptId": "SekoiaXDRChangeStatus",
"sectionItemType": "button",
"startCol": 0
},
Expand All @@ -646,7 +646,7 @@
"id": "ef9d3e80-ce87-11ed-81c5-57f992291288",
"index": 7,
"name": "ADD COMMENT",
"scriptId": "c82c5535-89e8-48a6-829b-05929bd88f8e",
"scriptId": "SekoiaXDRAddComment",
"sectionItemType": "button",
"startCol": 0
}
Expand Down Expand Up @@ -695,7 +695,7 @@
"minH": 1,
"moved": false,
"name": "Case Information",
"query": "37b383c0-16a2-4962-8f46-7245f8e187a0",
"query": "SekoiaXDRPrintCase",
"queryType": "script",
"static": false,
"type": "dynamic",
Expand Down Expand Up @@ -738,7 +738,7 @@
"minH": 1,
"moved": false,
"name": "Impacted assets",
"query": "13fe424a-a6dd-4b0a-8c60-7701d82a0ebc",
"query": "SekoiaXDRPrintAssets",
"queryType": "script",
"static": false,
"type": "dynamic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def main():
alert_short_id = demisto.args().get("short_id")
comment = demisto.args().get("comment")

user = execute_command("getUsers", {"current": "true"})[0]["name"]
user = execute_command("getUsers", {"current": "true"})[0]["name"] # type: ignore
execute_command(
"sekoia-xdr-post-comment-alert",
{"id": alert_short_id, "comment": comment, "author": user},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commonfields:
id: c82c5535-89e8-48a6-829b-05929bd88f8e
version: 5
vcShouldKeepItemLegacyProdMachine: false
name: script-SekoiaXDRAddComment
id: SekoiaXDRAddComment
version: -1
name: SekoiaXDRAddComment
script: ''
type: python
tags:
Expand All @@ -18,9 +17,10 @@ args:
description: The comment you want to send to an alert.
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.10.14.97374
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commonfields:
id: b4e28711-18ee-4ae4-8ccb-1c5f647b55f1
version: 4
vcShouldKeepItemLegacyProdMachine: false
name: script-SekoiaXDRChangeStatus
id: SekoiaXDRChangeStatus
version: -1
name: SekoiaXDRChangeStatus
script: ''
type: python
tags:
Expand All @@ -24,9 +23,10 @@ args:
description: The comment to add to the alert on the status change.
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.10.9.46032
dockerimage: demisto/python3:3.10.14.97374
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commonfields:
id: 0fa7a002-c00c-45c8-80ab-a7ebcfaa11f7
version: 10
vcShouldKeepItemLegacyProdMachine: false
name: postScript-CloseSekoiaAlert
id: CloseSekoiaAlert
version: -1
name: CloseSekoiaAlert
script: ''
type: python
tags:
Expand All @@ -11,9 +10,10 @@ comment: Post-processing script to close Sekoia Alert after the XSOAR incident i
enabled: true
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.10.14.97374
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
commonfields:
id: 13fe424a-a6dd-4b0a-8c60-7701d82a0ebc
version: 22
vcShouldKeepItemLegacyProdMachine: false
id: SekoiaXDRPrintAssets
version: -1
name: SekoiaXDRPrintAssets
script: ''
type: python
tags:
- dynamic-section
comment: Print all assets by incident
comment: Print all assets by incident.
enabled: true
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.10.14.97374
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commonfields:
id: 37b383c0-16a2-4962-8f46-7245f8e187a0
version: 16
vcShouldKeepItemLegacyProdMachine: false
name: script-SekoiaXDRPrintCase
id: SekoiaXDRPrintCase
version: -1
name: SekoiaXDRPrintCase
script: ''
type: python
tags:
Expand All @@ -11,9 +10,10 @@ comment: Prints case details from the Sekoia alert.
enabled: true
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.10.14.97374
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
commonfields:
id: 146130dc-9f3a-41e9-8a81-fbea9b933d0c
version: 12
vcShouldKeepItemLegacyProdMachine: false
name: script-SekoiaXDRPrintComments
id: SekoiaXDRPrintComments
version: -1
name: SekoiaXDRPrintComments
script: ''
type: python
tags:
Expand All @@ -11,9 +10,10 @@ comment: Prints the comments fetched from the Sekoia alert in a table format.
enabled: true
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.10.14.97374
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)

0 comments on commit 09f648b

Please sign in to comment.