From b7e20344a8f954ceed2121756cfaeb98ac3aa891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Mart=C3=ADn?= Date: Fri, 23 Aug 2024 10:15:15 +0200 Subject: [PATCH] docs(is_item_matched): update docstrings for method (#4836) Co-authored-by: Pepe Fagoaga --- prowler/lib/mutelist/mutelist.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prowler/lib/mutelist/mutelist.py b/prowler/lib/mutelist/mutelist.py index 7e0cbac129..56414ea425 100644 --- a/prowler/lib/mutelist/mutelist.py +++ b/prowler/lib/mutelist/mutelist.py @@ -314,6 +314,9 @@ class Mutelist(ABC): Args: matched_items (list): List of items to be matched. finding_items (str): String to search for matched items. + tag (bool): If True the search will have a different logic due to the tags being ANDed or ORed: + - Check of AND logic -> True if all the tags are present in the finding. + - Check of OR logic -> True if any of the tags is present in the finding. Returns: bool: True if any of the matched_items are present in finding_items, otherwise False.