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 |
|---|---|
| RandomElementFromList | randomly select elements from a list in Python. |
| GetIndicatorCustomFieldsByQuery | Returns indicator custom fields into the context by the given query. |
| RetrievePlaybooksAndIntegrations | Deprecated. Use RetrievePlaybookDependencies instead. Retrieves all Playbook (and Sub-Playbook) Names and Integrations for a provided Playbook name |
| Json2HtmlTable | Converts JSON objects to HTML tables. |
| PHash | Script to create a perceptual hash of an image (or file) stored in the incident. Wrapps https://pypi.org/project/ImageHash/ |
| StripAccentMarksFromString | Strip accent marks (diacritics) from a given string. |
| IPCalcReturnSubnetNetwork | An Automation Script to return subnet network ID. |
| RemoveEmptyEvidence | The automation removes evidence based on a query performed on the evidence content, |
| GetFields | Retrieves fields from an object using dot notation. |
| MarkdownToHTML | Converts Markdown to HTML. |
| DisplayIndicatorReputationContent | Display the indicator context object in markdown format in a dynamic section layout. |
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. |
| GetAskLinks | Creates external ask links for the |
| MaxList | Gets the maximum value from list |
| MissingElements | Returns the list of missing elements from an input list of integers. e.g. [12,14,16] -> [13,15]. |
| 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. |
| 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 |
| Defang | Defangs IP, Mail and URL address to prevent them from being recognized. |
| DateTimeNowToEpoch | Returns the current datetime as an epoch value for use in timestamp comparisons. |
| 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. |
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. |
| VersionEqualTo | Tests whether left side version number is equal to right side version number. |
| 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. |
| 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>. |
ConvertUTCEpochTimeToTimeStamp | This transformer convert the Epoch or UTC timestamp to desired stamp. |
| IPCalcReturnSubnetAddresses | An automation script to return subnet addresses. |
| jq | Deprecated. Use JMESPath transformer from the Filters and Transformers content pack instead. |
| DisplayTaggedWarroomEntries | Display warroom entries in a dynamic section which are tagged with 'report'. |
| GetIndicatorDBotScoreFromContext | Get the final verdict from the DBotScore of the context. |
| CreateEDLInstance | Use this automation to create an EDL instance on XSOAR. |
| 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. |
| ExtFilter | Advanced Filter. It enables you to make filters with complex conditions. |
| GetListDatawithKeyword | This transformer will get list of array elements by providing keyword. List data format |
| Group | Splits a list into smaller groups (chunks) of a specified size. |
| GetIndexOfArrayValue | This transformer will get an index of an element from an array. |
| IPCalcReturnSubnetBroadcastAddress | An Automation Script to return subnet broadcast address. |
| DateTimeToLDAPTime | Converts the given time to an LDAP timestamp. |
| delete_expired_indicator_with_exlusion | deletes expired indicators. |
| FindPlaybookCustomDependencies | Find custom scripts and integration dependencies used inside of playbooks. |
| DeleteIndicators | Delete indicators based on query, values, or IDs. |
| CompareList | Compares two lists. |
| 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 |
| 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 |
| 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 |
| IPCalcCheckSubnetCollision | An automation script to return subnet collision result. |
| IPCalcReturnAddressIANAAllocation | An automation script to return address IANA information. |
| 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. |
| 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. |
| BatchData | This Automation takes in a string of comma separated items and returns a dictionary of with the defined chunk size. |
| DateTimeToADTime | Converts unix time to AD Integer8 time. This is used in many AD date fields like pwdLastSet. |
SSLVerifier | Use this automation to check for validity of your SSL certificate and get the time until expiration. |
| IPCalcReturnAddressBinary | An automation script to return address in binary format. |
| MinList | Gets the minimum value from list |
| 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. |
| 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 |
ConvertUTCEpochTimeToTimeStamp | This transformer convert the Epoch or UTC timestamp to desired stamp. |
| DateTimeNowToEpoch | Returns the current datetime as an epoch value for use in timestamp comparisons. |
| jq | Deprecated. Use JMESPath transformer from the Filters and Transformers content pack instead. |
| DeleteIndicators | Delete indicators based on query, values, or IDs. |
| Json2HtmlTable | Converts JSON objects to HTML tables. |
| 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. |
| IPCalcReturnSubnetBroadcastAddress | An Automation Script to return subnet broadcast address. |
| IPCalcReturnSubnetAddresses | An automation script to return subnet addresses. |
| GetFields | Retrieves fields from an object using dot notation. |
| 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. |
| MinList | Gets the minimum value from list |
| GenerateRandomJSON | Generate a list of random dictionaries, using Faker Python library. For more information, please visit https://faker.readthedocs.io |
| 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 |
| RandomElementFromList | randomly select elements from a list in Python. |
| ExtFilter | Advanced Filter. It enables you to make filters with complex conditions. |
| DisplayTaggedWarroomEntries | Display warroom entries in a dynamic section which are tagged with 'report'. |
| PHash | Script to create a perceptual hash of an image (or file) stored in the incident. Wrapps https://pypi.org/project/ImageHash/ |
| Defang | Defangs IP, Mail and URL address to prevent them from being recognized. |
| DateTimeToLDAPTime | Converts the given time to an LDAP timestamp. |
| StripAccentMarksFromString | Strip accent marks (diacritics) from a given string. |
| MaxList | Gets the maximum value from list |
| IPCalcCheckSubnetCollision | An automation script to return subnet collision result. |
| 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. |
| IPCalcReturnAddressIANAAllocation | An automation script to return address IANA information. |
| Group | Splits a list into smaller groups (chunks) of a specified size. |
| FindPlaybookCustomDependencies | Find custom scripts and integration dependencies used inside of playbooks. |
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. |
| DateTimeToADTime | Converts unix time to AD Integer8 time. This is used in many AD date fields like pwdLastSet. |
| RemoveEmptyEvidence | The automation removes evidence based on a query performed on the evidence content, |
| RetrievePlaybooksAndIntegrations | Deprecated. Use RetrievePlaybookDependencies instead. Retrieves all Playbook (and Sub-Playbook) Names and Integrations for a provided Playbook name |
| GetIndicatorDBotScoreFromContext | Get the final verdict from the DBotScore of the context. |
| GetIndexOfArrayValue | This transformer will get an index of an element from an array. |
| IPCalcReturnAddressBinary | An automation script to return address in binary format. |
| BatchData | This Automation takes in a string of comma separated items and returns a dictionary of with the defined chunk size. |
| 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. |
| MissingElements | Returns the list of missing elements from an input list of integers. e.g. [12,14,16] -> [13,15]. |
| 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 |
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. |
| GetAskLinks | Creates external ask links for the |
SSLVerifier | Use this automation to check for validity of your SSL certificate and get the time until expiration. |
| MarkdownToHTML | Converts Markdown to HTML. |
| 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. |
| CreateEDLInstance | Use this automation to create an EDL instance on XSOAR. |
| VersionEqualTo | Tests whether left side version number is equal to right side version number. |
| DisplayIndicatorReputationContent | Display the indicator context object in markdown format in a dynamic section layout. |
| 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>. |
| delete_expired_indicator_with_exlusion | deletes expired indicators. |
| GetIndicatorCustomFieldsByQuery | Returns indicator custom fields into the context by the given query. |
| CompareList | Compares two lists. |
| GetListDatawithKeyword | This transformer will get list of array elements by providing keyword. List data format |
| 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. |
| IPCalcReturnSubnetNetwork | An Automation Script to return subnet network ID. |
| 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. |
| 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. |
| 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 |
|---|---|
| Aggregated Scripts | By: Cortex XSOAR |
| Base | By: Cortex XSOAR |
| Cortex REST API | By: Cortex XSOAR |
| Common Scripts | By: Cortex XSOAR |
| Supported By | Community | |
| Created | January 9, 2023 | |
| Last Release | May 3, 2026 |

