-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Added AppendindicatorFieldWrapper script #18878
Conversation
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.
Nice
Packs/Malware/Scripts/AppendindicatorFieldWrapper/AppendindicatorFieldWrapper.yml
Outdated
Show resolved
Hide resolved
Packs/Malware/Scripts/AppendindicatorFieldWrapper/AppendindicatorFieldWrapper.py
Outdated
Show resolved
Hide resolved
Packs/Malware/Scripts/AppendindicatorFieldWrapper/AppendindicatorFieldWrapper.py
Outdated
Show resolved
Hide resolved
Packs/Malware/Scripts/AppendindicatorFieldWrapper/AppendindicatorFieldWrapper.yml
Outdated
Show resolved
Hide resolved
Packs/Malware/Scripts/AppendindicatorFieldWrapper/AppendindicatorFieldWrapper_test.py
Outdated
Show resolved
Hide resolved
…torFieldWrapper.yml Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
…torFieldWrapper.py Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
This pull request introduces 1 alert when merging a21ccc8 into 28b1b24 - view on LGTM.com new alerts:
|
Link to the unit tests coverage report: |
args = demisto.args() | ||
indicators_values = argToList(args.get('indicators_values')) | ||
tags = argToList(args.get('tags')) | ||
|
||
try: | ||
return_results(run_append_indicator_field_script(demisto.args())) | ||
# Handle missing arguments: | ||
if not indicators_values: | ||
raise Exception('Indicators values were not specified.') | ||
if not tags: | ||
raise Exception('Tags were not specified.') | ||
|
||
return_results(run_append_indicator_field_script(indicators_values, tags)) |
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.
Nice!
Contributing to Cortex XSOAR Content
Make sure to register your contribution by filling the contribution registration form
The Pull Request will be reviewed only after the contribution registration form is filled.
Status
Related Issues
fixes: 48180.
Description
The AppendindicatorFieldWrapper script was written as a content workaround for the server bug described here: 47577.
The script is a wrapper for the 'AppendindicatorField' script, and it enables adding tags to certain indicators.
The security teams can now use this script to add tags to indicators from a button of an incident layout.
Minimum version of Cortex XSOAR
Does it break backward compatibility?
Must have