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 the default_value
parameter to return it when unmatched.
#20613
Added the default_value
parameter to return it when unmatched.
#20613
Conversation
Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @YuvHayun will know he can start review the proposed changes. |
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.
Hi @ spearmin10, great job!
Please see my comments below - most of them are just to add some more informational documentation.
Please don't hesitate to contact me with any questions, I'm available both here and via slack.
Thanks again!
@YuvHayun Thank you for reviewing. I've fixed where you commented. |
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.
Great! 1 more small fix, thank you.
- **MapPattern** | ||
- Fixed an issue where it returns successfully when a syntax error occurred. |
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.
- **MapPattern** | |
- Fixed an issue where it returns successfully when a syntax error occurred. | |
- Fixed an issue where the script returned a success message when a syntax error occurred. |
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.
@YuvHayun OK, I've fixed it.
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.
My bad, I was trying to give a different fix suggestion here.
@@ -0,0 +1,6 @@ | |||
|
|||
#### Scripts | |||
- **MapPattern** |
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.
- **MapPattern** | |
##### MapPattern |
Just this one small fix @spearmin10
Sorry for the misunderstanding and thx again!
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.
@YuvHayun OK, fixed it.
For the Reviewer: Successfully created a pipeline in Gitlab with url: https://code.pan.run/xsoar/content/-/pipelines/3508304 |
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.
Great work, thank you!
) (#20680) * Added the `default_value` parameter to return it when unmatched. * Fixed where the reviewer commented. * Fixed where the reviewer commented. * Fixed the release note * Fixed the RN Co-authored-by: Masahiko Inoue <54964121+spearmin10@users.noreply.github.com>
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
N/A
Description
Added the
default_value
parameter to return it when unmatched.Minimum version of Cortex XSOAR
Does it break backward compatibility?
Must have