Common Scripts Pack.#This Script is part of the
Supported Cortex XSOAR versions: 6.9.0 and later.
This automation calculates the similarity ratio between every string in 2 different arrays and outputs a decimal value between 0.0 and 1.0 (1.0 if the sequences are identical, and 0.0 if they don't have anything in common).
|Cortex XSOAR Version||6.9.0|
This script is used in the following playbooks and scripts.
- RDP Bitmap Cache - Detect and Hunt
- Compare Process Execution Arguments To LOLBAS Patterns
|string_A||First array of strings to compare.|
|string_B||Second array of strings to compare.|
|similarity_threshold||The similarity threshold to show results for, a value between 0 < x >1.|
|StringSimilarity.SimilarityScore||Similarity score - a value between 1.0 if the sequences are identical, and 0.0 if they have nothing in common.||Unknown|