Skip to content

Commit

Permalink
Formatted scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-metron committed Nov 1, 2024
1 parent 9c0ec62 commit 1bb4bdc
Show file tree
Hide file tree
Showing 16 changed files with 56 additions and 55 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ This playbook does not use any integrations.
### Scripts

* DSPMCreateSimpleSlackMessageBlock
* DeleteContext
* DSPMCheckAndSetErrorEntries
* DeleteContext

### Commands

* jira-create-issue
* setList
* setIncident
* setList
* jira-create-issue

## Playbook Inputs

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
commonfields:
id: 6e45ecb6-e3d1-4459-8c2b-eb1a8ef8fca6
version: 13
vcShouldKeepItemLegacyProdMachine: false
id: DSPMCheckAndSetErrorEntries
version: -1
name: DSPMCheckAndSetErrorEntries
script: ''
type: python
Expand All @@ -11,18 +10,19 @@ enabled: true
args:
- name: entry_id
required: true
description: Entry to check
description: Entry to check.
isArray: true
outputs:
- contextPath: yes
description: If one or more entries is an error
description: If one or more entries is an error.
- contextPath: no
description: If none of the entries is not an error
description: If none of the entries is not an error.
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.11.10.111526
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
commonfields:
id: b73ae0bc-71fc-4f57-8230-c98050d78ef5
version: 45
vcShouldKeepItemLegacyProdMachine: false
id: DSPMCreateRiskSlackBlocks
version: -1
name: DSPMCreateRiskSlackBlocks
script: ''
type: python
Expand All @@ -16,9 +15,10 @@ outputs:
scripttarget: 0
subtype: python3
timeout: 100800h0m0s
pswd: ''
runonce: false
dockerimage: demisto/python3:3.11.9.104957
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
commonfields:
id: e956980e-8759-4493-846d-e753629b12b9
version: 17
vcShouldKeepItemLegacyProdMachine: false
id: DSPMCreateSimpleSlackMessageBlock
version: -1
name: DSPMCreateSimpleSlackMessageBlock
script: ''
type: python
Expand All @@ -16,9 +15,10 @@ outputs:
scripttarget: 0
subtype: python3
timeout: 100800h0m0s
pswd: ''
runonce: false
dockerimage: demisto/python3:3.11.9.105369
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
commonfields:
id: 0b39d0d8-2c04-4a9c-8def-c7a0ccbe585d
version: 51
vcShouldKeepItemLegacyProdMachine: false
id: DSPMExtractRiskDetails
version: -1
name: DSPMExtractRiskDetails
script: ''
type: python
Expand All @@ -17,9 +16,10 @@ outputs:
- contextPath: incident_object
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.11.9.107902
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
commonfields:
id: 85fb8c1f-6064-4c35-8183-9b32d110325e
version: 26
vcShouldKeepItemLegacyProdMachine: false
id: DSPMExtractUserResponseFromSlackBlockState
version: -1
name: DSPMExtractUserResponseFromSlackBlockState
script: ''
type: python
Expand All @@ -19,9 +18,10 @@ outputs:
- contextPath: User.JiraTicketType
scripttarget: 0
subtype: python3
pswd: ''
runonce: false
dockerimage: demisto/python3:3.11.9.104657
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
17 changes: 8 additions & 9 deletions Packs/DSPM/Scripts/DSPMGetContianers/DSPMGetContianers.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
commonfields:
id: dfd69a0b-d627-4017-8bb9-da9ef0c999d0
version: 27
vcShouldKeepItemLegacyProdMachine: false
id: DSPMGetContianers
version: -1
name: DSPMGetContianers
script: ''
type: python
tags: []
comment: This automation script takes asset file data as input, retrieves the container
names from this data, and returns a list of all containers.
comment: This automation script takes asset file data as input, retrieves the container names from this data, and returns a list of all containers.
enabled: true
args:
- name: asset_files
description: Asset files data
description: Asset files data.
outputs:
- contextPath: containers
description: List of containers
description: List of containers.
scripttarget: 0
subtype: python3
pswd: ""
runonce: false
dockerimage: demisto/python3:3.11.10.113941
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
16 changes: 8 additions & 8 deletions Packs/DSPM/Scripts/DSPMIncidentList/DSPMIncidentList.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
commonfields:
id: 74e2f486-22da-4b9b-8a8d-18c51d79d43c
version: 137
vcShouldKeepItemLegacyProdMachine: false
id: DSPMIncidentList
version: -1
name: DSPMIncidentList
script: ''
type: python
Expand All @@ -20,19 +19,20 @@ args:
defaultValue: add
- name: incident_list
required: true
description: DSPM Incident list data
description: DSPM Incident list data.
- name: rerun_time
required: true
description: Re-run time to be checked of an incident to delete or not
description: Re-run time to be checked of an incident to delete or not.
outputs:
- contextPath: listStatus
description: Updated incident list status
description: Updated incident list status.
scripttarget: 0
subtype: python3
timeout: 100800h0m0s
pswd: ''
runonce: false
dockerimage: demisto/python3:3.11.9.107902
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
16 changes: 9 additions & 7 deletions Packs/DSPM/Scripts/DSPMRerunIncidents/DSPMRerunIncidents.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
commonfields:
id: f7db1bc3-6da1-4001-875c-0ae10a66d98a
version: 80
vcShouldKeepItemLegacyProdMachine: false
id: DSPMRerunIncidents
version: -1
name: DSPMRerunIncidents
script: ''
type: python
tags: []
enabled: true
args:
- name: time_duration
description: Time Duration under which we are going to re-run the incident.
- name: incident_list
required: true
description: DSPM Incident list data
description: DSPM Incident list data.
- name: rerun_time
description: Re-run time to be checked of an incident to run
description: Re-run time to be checked of an incident to run.
scripttarget: 0
subtype: python3
timeout: 100800h0m0s
pswd: ''
runonce: false
dockerimage: demisto/google-cloud-storage:1.0.0.76046
runas: DBotWeakRole
engineinfo: {}
mainengineinfo: {}
fromversion: 6.10.0
tests:
- No tests (auto formatted)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Packs/DSPM/doc_files/DSPM_Multi-Cloud_Risk_Remediation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Packs/DSPM/doc_files/DSPM_Send_Slack_Notification_to_User.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Packs/DSPM/doc_files/DSPM_Valid_User_Response.png
Binary file not shown.
Binary file modified Packs/DSPM/doc_files/DSPM_notify_user_in_case_of_error.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1bb4bdc

Please sign in to comment.