Skip to main content

Incidents

There are various subcategories for incident related evens

  • incident.created

Environment variables:

FieldDescriptionSchemaOptional
incidentThe incident objectIncident
permalinkA link to the health checkstring

Comments

  • incident.comment.added

Environment variables:

FieldDescriptionSchemaOptional
commentThe comment objectComment
authorThe author of the commentPerson
incidentThe linked incident objectIncident
permalinkA link to the health checkstring

Responders

  • incident.responder.added
  • incident.responder.removed

Environment variables:

FieldDescriptionSchemaOptional
responderThe incident objectResponder
incidentThe linked incident objectIncident
permalinkA link to the health checkstring

Definition of done

  • incident.dod.added
  • incident.dod.passed
  • incident.dod.regressed

Environment variables:

FieldDescriptionSchemaOptional
evidenceThe evidence on which the dod is definedEvidence
incidentThe linked incident objectIncident
hypothesisThe linked hypothesis objectHypothesis
permalinkA link to the health checkstring

Status

  • incident.status.cancelled
  • incident.status.closed
  • incident.status.investigating
  • incident.status.mitigated
  • incident.status.open
  • incident.status.resolved

Environment variables:

FieldDescriptionSchemaOptional
incidentThe incident objectIncident
permalinkA link to the health checkstring

References

Incident

FieldDescriptionSchemaOptional
idThe id of the incidentuuid.UUID
incident_idThe incident idstring
titleThe title of the incidentstring
descriptionThe description of the incidentstring
typeThe type of the incident (Read more)string
statusThe status of the incident (Read more)string
severityThe severity of the incident (Read more)string
created_atThe time the incident was createdtime.Time
updated_atThe time the incident was updatedtime.Time
acknowledgedThe time the incident was acknowledgedtime.Timetrue
resolvedThe time the incident was resolvedtime.Timetrue
closedThe time the incident was closedtime.Timetrue
created_byThe user who created the incidentuuid.UUID
incident_rule_idThe incident rule iduuid.UUIDtrue
commander_idThe commander iduuid.UUIDtrue
communicator_idThe communicator iduuid.UUIDtrue

Comment

FieldDescriptionSchemaOptional
idThe id of the commentuuid.UUID
created_byThe user who created the commentuuid.UUID
commentThe commentstring
external_idThe external idstringtrue
external_created_byThe external created by userstringtrue
incident_idThe incident iduuid.UUID
responder_idThe responder iduuid.UUIDtrue
hypothesis_idThe hypothesis iduuid.UUIDtrue
updated_atThe time the comment was updatedtime.Time
created_byThe user who created the commentuuid.UUID

Person

FieldDescriptionSchemaOptional
idThe id of the personuuid.UUID
nameThe name of the personstring
emailThe email of the personstringtrue
typeThe type of the personstringtrue
avatarThe avatar of the personstringtrue
propertiesThe properties of the personPersonPropertiestrue

Person Property

FieldDescriptionSchemaOptional
roleThe key of the propertystring

Evidence

FieldDescriptionSchemaOptional
idThe id of the evidenceuuid.UUID
hypothesis_idThe hypothesis iduuid.UUID
config_idThe config iduuid.UUIDtrue
config_change_idThe config change iduuid.UUIDtrue
config_analysis_idThe config analysis iduuid.UUIDtrue
component_idThe component iduuid.UUIDtrue
check_idThe check iduuid.UUIDtrue
descriptionThe descriptionstring
definition_of_doneThe definition of donebool
doneThe donebooltrue
factorThe factorbooltrue
mitigatorThe mitigatorbooltrue
created_byThe created byuuid.UUID
typeThe typestring
scriptThe scriptstringtrue
script_resultThe script resultstringtrue
evidenceThe evidencemap[string]anytrue
propertiesThe propertiesmap[string]anytrue
created_atThe created attime.Time
updated_atThe updated attime.Time

Hypothesis

FieldDescriptionSchemaOptional
idThe id of the hypothesisuuid.UUID
incident_idThe incident iduuid.UUID
typeThe typestring
titleThe title of the hypothesisstring
statusThe statusstring
parent_idThe parent iduuid.UUIDtrue
team_idThe team iduuid.UUIDtrue
ownerID of the owneruuid.UUIDtrue
created_atcreated timestamptime.Time
updated_atupdated timestamptime.Time
created_bycreated timestampuuid.UUID

Responder

FieldDescriptionschemaOptional
idThe id of the responderuuid.UUID
incident_idThe incident iduuid.UUID
typeThe type of the responderstring
indexThe index of the respondersmallint
person_idThe person iduuid.UUIDtrue
team_idThe team iduuid.UUIDtrue
external_idid of the externally linked responderstringtrue
propertiespropertiesmap[string]anytrue
acknowledgedWhether the responder was acknowledgedtime.Timetrue
resolvedTimestamp of when the responder was resolvedtime.Timetrue
closedTimestamp of when the responder was closedtime.Timetrue
created_byID of the person that created this responderuuid.UUID
created_atcreated timestamptime.Time
updated_atupdated timestamptime.Time
deleted_atdeleted timestamptime.Time

Notification Template Defaults

incident.created

# Title
{{.incident.incident_id}}: {{.incident.title}} ({{.incident.severity}}) created

# Body
Type: {{.incident.type}}

[Reference]({{.permalink}})

incident.comment.added

# Title
{{.author.name}} left a comment on {{.incident.incident_id}}: {{.incident.title}}

# Body
{{.comment.comment}}

[Reference]({{.permalink}})"

incident.dod.added

# Title
Definition of Done added | {{.incident.incident_id}}: {{.incident.title}}

# Body
Evidence: {{.evidence.description}}

[Reference]({{.permalink}})

incident.dod.passed, incident.dod.regressed

# Title
Definition of Done {{if .evidence.done}}passed{{else}}regressed{{end}} | {{.incident.incident_id}}: {{.incident.title}}

# Body
Evidence: {{.evidence.description}}
Hypothesis: {{.hypothesis.title}}

[Reference]({{.permalink}})`

incident.responder.added

# Title
New responder added to {{.incident.incident_id}}: {{.incident.title}}

# Body
Responder {{.responder.name}}

[Reference]({{.permalink}})

incident.responder.removed

# Title
Responder removed from {{.incident.incident_id}}: {{.incident.title}}

# Body
Responder {{.responder.name}}

[Reference]({{.permalink}})

incident.status.*

# Title
{{.incident.title}} status updated

# Body
New Status: {{.incident.status}}

[Reference]({{.permalink}})