-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(is_item_matched): update docstrings for method #4836
docs(is_item_matched): update docstrings for method #4836
Conversation
prowler/lib/mutelist/mutelist.py
Outdated
@@ -314,6 +314,7 @@ def is_item_matched(matched_items, finding_items, tag=False) -> bool: | |||
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 ORed or ANDed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please give this some care and explain the new logic perform while checking for muted tags. Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4836 +/- ##
==========================================
+ Coverage 89.11% 89.16% +0.04%
==========================================
Files 928 933 +5
Lines 28428 28567 +139
==========================================
+ Hits 25335 25473 +138
- Misses 3093 3094 +1 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Description
Update docstrings for
is_item_matched
Checklist
License
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.