We are trying to call ServiceNow Webhook API calls via Elastic Security signal actions. For Eg, we are using the following body below -
{
"short_description":"{{context.rule.name}}",
"description":"""Rule Description: {{context.rule.description}}
Number of Events: {{state.signals_count}}
Results: {{{context.results_link}}}""",
"contact_type":"abc",
"caller_id":"Elastic",
"assignment_group":"abc",
"subcategory":"Incident",
"u_ticket_classification": "Incident",
"impact": "4 - Low",
"urgency": "4 - Low"
}
Now this gives me results as follows -
Rule Description: {{context.rule.description}} Number of Events: {{state.signals_count}} Results: {{{context.results_link}}}
Issue: The results are being displayed in the same line. I rather want this as follows in new lines-
Rule Description: {{context.rule.description}}
Number of Events: {{state.signals_count}}
Results: {{{context.results_link}}}