Skip to content

Instantly share code, notes, and snippets.

@dana-at-cp
Created March 12, 2021 19:09
Show Gist options
  • Save dana-at-cp/860991221a3e802e0776bf75f624e4d8 to your computer and use it in GitHub Desktop.
Save dana-at-cp/860991221a3e802e0776bf75f624e4d8 to your computer and use it in GitHub Desktop.
Dome9 Jira notification payload
{
"fields": {
"project": {
"key": "D9"
},
"summary": "${Title}",
"description": "${Description}\n\nh4. Remediation\n${Remediation}\n\nh4. Ruleset Details\n|| ID || Name ||\n| ${Ruleset_ID} | ${Ruleset_Name} |\n\nh4. Environment Details\n|| ID || Type || Name || External ID ||\n| ${Environment_ID} | ${Environment_Type} | ${Environment_Name} | ${Environment_External_ID} |\n\nh4. Entity Details\n|| ID || Type || Name || Region || Network || Tags ||\n| ${Entity_ID} | ${Entity_Type} | ${Entity_Name} | ${Entity_Region} | ${Entity_Network} | ${Entity_Tags} |",
"issuetype": {
"name": "Task"
},
"labels": [
"${Source}"
],
"customfield_10029": "${Alert_Key}",
"customfield_10031": "${Severity}"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment