-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Security Solution] Sending Entire Detection Alert JSON to JIRA Service Desk Issue Output Doesn't Work #95618
Comments
Pinging @elastic/security-solution (Team: SecuritySolution) |
Pinging @elastic/security-threat-hunting (Team:Threat Hunting) |
Pinging @elastic/security-detections-response (Team:Detections and Resp) |
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Just wanted to give an update, @cnasikas, @michaelolo24 and I will be pairing on this next week |
@austinsonger I think we were able to track down why the Unfortunately this means you can't include the entire alert in the description. Instead you could define the specific objects like this:
Are you still encountering the URL issue? |
Thanks for the example @austinsonger
Yeah I can't seem to find anyway in the mustache docs to exclude a specific field or object. Ideally we could just ignore I'll see if I can figure out the URL issue. @pmuellr @gmmorris @mikecote We'd like to format the alerts that came from a rule in |
@austinsonger could you share the mustache template you're using with the Jira connector? I'm having some trouble reproducing the URL issue. Does it seem to be consistent with any particular rule? Or could you share the rule that is providing the invalid URL so I can try it locally? Thanks! |
Here you go. So sometimes it produces the URL I want, but sometimes it errors like above.
|
I don't think there's a way to do that in Mustache TBH. |
Thanks for the response @gmmorris, any thoughts on the @dhurley14 @marshallmain is the |
@austinsonger Could you please inspect if the |
I'm seeing the same behavior. I am using the API to load and enable prebuilt rules. After that, the If I open the rule in Kibana for editing and save it, the |
Also seeing this still... |
@sophiec20 has this been completed? |
This issue is a blast from the past I guess!
OK, so this issue starts off with an issue about including Jira markdown bits in an action parameter template, and dumping the alerts doesn't work because it includes the action templates which include the Jira markdown, which screw up Jira. Then the issue seems to change to issues with Which of these are you still seeing? |
I think I figured out how to make the Jira markdown things work - at least better - when the action parameter templates are in the JSON being rendered. In my action template, I specified the following:
The
The action templates embedded deep in the JSON would still have the It's not clear to me how elaborate the Jira parser is, maybe just the |
Still seeing issues with context.results_link. in some alerts not all. |
You'll need to provide the version of the Elastic Stack you're using, the rule types with the issues, and some examples of what you're seeing and what you expect. But could you open a new issue please? This already has a long thread, will be pinging lots of people, and seems to have changed topic over time. |
Closing in favor of this ticket tracking issue with result_link. #92344 |
Describe the bug:
It probably has to deal with JIRA Wiki Rendering I really wish I could send the JSON into a code block in JIRA.
Kibana/Elasticsearch Stack version:
7.12.0
Server OS version:
Elastic Cloud
Browser and Browser OS versions:
Brave,Chrome
It looks like this when it creates a ticket in JIRA.
The text was updated successfully, but these errors were encountered: