Pack Contributors:
- Mandar Naik
- nikstuckenbrock
- Lizz Boice
- Ali Sawyer
Contributions are welcome and appreciated. For more info, visit our Contribution Guide.
A pack that contains community scripts
Contributions are welcome and appreciated. For more info, visit our Contribution Guide.
Contributions are welcome and appreciated. For more info, visit our Contribution Guide.
| Name | Description |
|---|---|
| VersionLessThan | Tests whether left side version number is less than right side version number. Version numbers need to have at least a major and minor version component to be considered valid. E.g. 1.0 |
| RandomElementFromList | randomly select elements from a list in Python. |
| PHash | Script to create a perceptual hash of an image (or file) stored in the incident. Wrapps https://pypi.org/project/ImageHash/ |
| DateTimeToADTime | Converts unix time to AD Integer8 time. This is used in many AD date fields like pwdLastSet. |
| isArrayItemInList | This automation is for comparing array(list) data of context to existing lists on XSOAR server. You can avoid using loop of sub-playbook. |
| CompareList | Compares two lists. |
MapRegex | This transformer will take in a value and transform it based on multiple regular expressions defined in a JSON dictionary structure. The key:value pair of the JSON dictionary should be: "desired outcome": "regex to match" For example: { The transformer will match in order of dictionary entries. |
| FindPlaybookCustomDependencies | Find custom scripts and integration dependencies used inside of playbooks. |
| MissingElements | Returns the list of missing elements from an input list of integers. e.g. [12,14,16] -> [13,15]. |
| Defang | Defangs IP, Mail and URL address to prevent them from being recognized. |
| RetrievePlaybooksAndIntegrations | Deprecated. Use RetrievePlaybookDependencies instead. Retrieves all Playbook (and Sub-Playbook) Names and Integrations for a provided Playbook name |
| redactindicator | Redactindicator can help you to defang/redact any kind of indicator (IPv4, url, domain and email), IP addresses will be in the dotted representation like 8.8.8[.].8, all domains will be example[.]com. Optional you can define a "searchkey" which does not to be case sensitive, which will be replaced as <REDACTED>. |
| CalculateTimeSpan | Calculates the time span between two dates using Powershell's A timespan with a start date of "2022-04-02T15:42:48" and end date of "2022-04-12T16:55:07" would return the following: Days : 10 |
| VersionGreaterThan | Tests whether left side version number is greater than right side version number. Version numbers need to have at least a major and minor version component to be considered valid. E.g. 1.0 |
| DateTimeNowToEpoch | Returns the current datetime as an epoch value for use in timestamp comparisons. |
| GenerateRandomJSON | Generate a list of random dictionaries, using Faker Python library. For more information, please visit https://faker.readthedocs.io |
| MaxList | Gets the maximum value from list |
| GetIndicatorDBotScoreFromContext | Get the final verdict from the DBotScore of the context. |
| CreateFileFromPathObject | This automation is being executed by the "GetFilePathPreProcessing" pre-processing script that collects the paths and names of attachments of an incoming incident, then passes it to this automation that reads the files and creates them in an existing incident. |
| GetAskLinks | Creates external ask links for the |
| StripAccentMarksFromString | Strip accent marks (diacritics) from a given string. |
| MarkdownToHTML | Converts Markdown to HTML. |
| IPCalcReturnAddressIANAAllocation | An automation script to return address IANA information. |
| CreateEDLInstance | Use this automation to create an EDL instance on XSOAR. |
ConvertUTCEpochTimeToTimeStamp | This transformer convert the Epoch or UTC timestamp to desired stamp. |
SSLVerifier | Use this automation to check for validity of your SSL certificate and get the time until expiration. |
| IPCalcReturnSubnetBroadcastAddress | An Automation Script to return subnet broadcast address. |
| IPCalcReturnSubnetAddresses | An automation script to return subnet addresses. |
| IPCalcCheckSubnetCollision | An automation script to return subnet collision result. |
| jq | Deprecated. Use JMESPath transformer from the Filters and Transformers content pack instead. |
| MinList | Gets the minimum value from list |
| BatchData | This Automation takes in a string of comma separated items and returns a dictionary of with the defined chunk size. |
| DateTimeToLDAPTime | Converts the given time to an LDAP timestamp. |
| ExtFilter | Advanced Filter. It enables you to make filters with complex conditions. |
DeleteIncidentsByQuery | Use this automation to delete incidents using query parameter with the same format as used in incidents search. Core REST API integration instance should be created. |
| Json2HtmlTable | Converts JSON objects to HTML tables. |
| GetIndexOfArrayValue | This transformer will get an index of an element from an array. |
| RetrievePlaybookDependencies | Retrieves all Playbook (and Sub-Playbook) Names, Integrations, Automation Scripts, Commands not using-brand, and lists for a provided Playbook name. Also accepts inputs for incident types, layouts, incident fields, indicator fields, jobs, mappers, and pre-process rules connected to the parent playbook. Results can be output as an HTML or Markdown list. |
| GetFilePathPreProcessing | This is a pre-processing script that is used to create the attachments of incoming incidents in an existing incident, then drop the incoming incident. |
| InvertEveryTwoItems | This transformer will invert every two items in an array. If the total of items in the array is an odd number the last item will be removed If the item is not an array the output will be same passed object. |
| VersionEqualTo | Tests whether left side version number is equal to right side version number. |
| GetFields | Retrieves fields from an object using dot notation. |
| DeleteIndicators | Delete indicators based on query, values, or IDs. |
| DisplayIndicatorReputationContent | Display the indicator context object in markdown format in a dynamic section layout. |
| delete_expired_indicator_with_exlusion | deletes expired indicators. |
| GetIndicatorCustomFieldsByQuery | Returns indicator custom fields into the context by the given query. |
| IPCalcReturnSubnetNetwork | An Automation Script to return subnet network ID. |
| DisplayTaggedWarroomEntries | Display warroom entries in a dynamic section which are tagged with 'report'. |
| RandomPhotoNasa | This automation script will pull a random image from https://images.nasa.gov based on the search parameter provided. If the script is used within a widget, it will output an image in markdown format. If it is used anywhere else it will output an image in markdown format and also context data. |
| GetListDatawithKeyword | This transformer will get list of array elements by providing keyword. List data format |
| CreateArrayWithDuplicates | Will create an array object in context from a given string input , allowing for duplicate values to be retained Output is to ContextKey.array as JSON does not permit duplicate key names e.g., ContextKey.array.value1, ContextKey.array.value2, ContextKey.array.value3, etc. |
| Group | Splits a list into smaller groups (chunks) of a specified size. |
| CreatePlbkDoc | Purpose: This automation will produce docx file detailing the tasks in the given playbook. It can produce a table or paragraph format of the report. Author: Mahmood Azmat Input1: Name of the playbook (Mandatory) Requirements: This automation requires "Core REST API" integration enabled and connected to the XSOAR itself. Automation uses it to read the objects of the playbook. |
| IPCalcReturnAddressBinary | An automation script to return address in binary format. |
| RemoveEmptyEvidence | The automation removes evidence based on a query performed on the evidence content, |
| Name | Description |
|---|---|
| RetrievePlaybooksAndIntegrations | Deprecated. Use RetrievePlaybookDependencies instead. Retrieves all Playbook (and Sub-Playbook) Names and Integrations for a provided Playbook name |
| RandomPhotoNasa | This automation script will pull a random image from https://images.nasa.gov based on the search parameter provided. If the script is used within a widget, it will output an image in markdown format. If it is used anywhere else it will output an image in markdown format and also context data. |
| VersionEqualTo | Tests whether left side version number is equal to right side version number. |
ConvertUTCEpochTimeToTimeStamp | This transformer convert the Epoch or UTC timestamp to desired stamp. |
| redactindicator | Redactindicator can help you to defang/redact any kind of indicator (IPv4, url, domain and email), IP addresses will be in the dotted representation like 8.8.8[.].8, all domains will be example[.]com. Optional you can define a "searchkey" which does not to be case sensitive, which will be replaced as <REDACTED>. |
| VersionLessThan | Tests whether left side version number is less than right side version number. Version numbers need to have at least a major and minor version component to be considered valid. E.g. 1.0 |
| DisplayIndicatorReputationContent | Display the indicator context object in markdown format in a dynamic section layout. |
| GetFields | Retrieves fields from an object using dot notation. |
| StripAccentMarksFromString | Strip accent marks (diacritics) from a given string. |
| DisplayTaggedWarroomEntries | Display warroom entries in a dynamic section which are tagged with 'report'. |
| jq | Deprecated. Use JMESPath transformer from the Filters and Transformers content pack instead. |
| DeleteIndicators | Delete indicators based on query, values, or IDs. |
| isArrayItemInList | This automation is for comparing array(list) data of context to existing lists on XSOAR server. You can avoid using loop of sub-playbook. |
| DateTimeToLDAPTime | Converts the given time to an LDAP timestamp. |
| FindPlaybookCustomDependencies | Find custom scripts and integration dependencies used inside of playbooks. |
| IPCalcReturnAddressIANAAllocation | An automation script to return address IANA information. |
| IPCalcReturnAddressBinary | An automation script to return address in binary format. |
| GetListDatawithKeyword | This transformer will get list of array elements by providing keyword. List data format |
| CompareList | Compares two lists. |
| DateTimeToADTime | Converts unix time to AD Integer8 time. This is used in many AD date fields like pwdLastSet. |
DeleteIncidentsByQuery | Use this automation to delete incidents using query parameter with the same format as used in incidents search. Core REST API integration instance should be created. |
DeleteAlertsByQuery | Use this automation to delete alerts using query parameter with the same format as used in alerts search. Core REST API integration instance should be created. |
| IPCalcCheckSubnetCollision | An automation script to return subnet collision result. |
| GetIndexOfArrayValue | This transformer will get an index of an element from an array. |
| BatchData | This Automation takes in a string of comma separated items and returns a dictionary of with the defined chunk size. |
| GetIndicatorCustomFieldsByQuery | Returns indicator custom fields into the context by the given query. |
| MarkdownToHTML | Converts Markdown to HTML. |
| GetIndicatorDBotScoreFromContext | Get the final verdict from the DBotScore of the context. |
SSLVerifier | Use this automation to check for validity of your SSL certificate and get the time until expiration. |
| RetrievePlaybookDependencies | Retrieves all Playbook (and Sub-Playbook) Names, Integrations, Automation Scripts, Commands not using-brand, and lists for a provided Playbook name. Also accepts inputs for incident types, layouts, incident fields, indicator fields, jobs, mappers, and pre-process rules connected to the parent playbook. Results can be output as an HTML or Markdown list. |
| MinList | Gets the minimum value from list |
| IPCalcReturnSubnetAddresses | An automation script to return subnet addresses. |
MapRegex | This transformer will take in a value and transform it based on multiple regular expressions defined in a JSON dictionary structure. The key:value pair of the JSON dictionary should be: "desired outcome": "regex to match" For example: { The transformer will match in order of dictionary entries. |
| DateTimeNowToEpoch | Returns the current datetime as an epoch value for use in timestamp comparisons. |
| RemoveEmptyEvidence | The automation removes evidence based on a query performed on the evidence content, |
| CreateEDLInstance | Use this automation to create an EDL instance on XSOAR. |
| IPCalcReturnSubnetBroadcastAddress | An Automation Script to return subnet broadcast address. |
| InvertEveryTwoItems | This transformer will invert every two items in an array. If the total of items in the array is an odd number the last item will be removed If the item is not an array the output will be same passed object. |
| Group | Splits a list into smaller groups (chunks) of a specified size. |
| CalculateTimeSpan | Calculates the time span between two dates using Powershell's A timespan with a start date of "2022-04-02T15:42:48" and end date of "2022-04-12T16:55:07" would return the following: Days : 10 |
| IPCalcReturnSubnetNetwork | An Automation Script to return subnet network ID. |
| MissingElements | Returns the list of missing elements from an input list of integers. e.g. [12,14,16] -> [13,15]. |
| Defang | Defangs IP, Mail and URL address to prevent them from being recognized. |
| PHash | Script to create a perceptual hash of an image (or file) stored in the incident. Wrapps https://pypi.org/project/ImageHash/ |
| CreateArrayWithDuplicates | Will create an array object in context from a given string input , allowing for duplicate values to be retained Output is to ContextKey.array as JSON does not permit duplicate key names e.g., ContextKey.array.value1, ContextKey.array.value2, ContextKey.array.value3, etc. |
| GenerateRandomJSON | Generate a list of random dictionaries, using Faker Python library. For more information, please visit https://faker.readthedocs.io |
| GetAskLinks | Creates external ask links for the |
| VersionGreaterThan | Tests whether left side version number is greater than right side version number. Version numbers need to have at least a major and minor version component to be considered valid. E.g. 1.0 |
| RandomElementFromList | randomly select elements from a list in Python. |
| GetFilePathPreProcessing | This is a pre-processing script that is used to create the attachments of incoming incidents in an existing incident, then drop the incoming incident. |
| MaxList | Gets the maximum value from list |
| Json2HtmlTable | Converts JSON objects to HTML tables. |
| ExtFilter | Advanced Filter. It enables you to make filters with complex conditions. |
| CreatePlbkDoc | Purpose: This automation will produce docx file detailing the tasks in the given playbook. It can produce a table or paragraph format of the report. Author: Mahmood Azmat Input1: Name of the playbook (Mandatory) Requirements: This automation requires "Core REST API" integration enabled and connected to the XSOAR itself. Automation uses it to read the objects of the playbook. |
| CreateFileFromPathObject | This automation is being executed by the "GetFilePathPreProcessing" pre-processing script that collects the paths and names of attachments of an incoming incident, then passes it to this automation that reads the files and creates them in an existing incident. |
| delete_expired_indicator_with_exlusion | deletes expired indicators. |
| Pack Name | Pack By |
|---|---|
| Base | By: Cortex XSOAR |
| Common Scripts | By: Cortex XSOAR |
| Cortex REST API | By: Cortex XSOAR |
| Pack Name | Pack By |
|---|
| Pack Name | Pack By |
|---|---|
| Cortex REST API | By: Cortex XSOAR |
| Base | By: Cortex XSOAR |
| Common Scripts | By: Cortex XSOAR |
| Supported By | Community | |
| Created | January 9, 2023 | |
| Last Release | August 12, 2026 |

