Skip to main content
Version: Next

Contexts

Depending on the model and action associated with your events, certain contexts for the event become available. These can be utilized in Notification Templates and details what fields are available for each context.

Base Models

Base models for AME notifications include:

  • Event
  • Observable
  • Observable Group
  • Risk Event
  • CVE
  • SLA Entry
  • SLA Definition
  • Realization

They are reused across multiple notification types and actions. The following sections detail the fields available for each base model.

Event

{
"ame._key": "690dbd6d845d4628a91134b1",
"ame._index": "ame_events_splunk_soc",
"ame.event_title": "Priority Vulnerability - CVE-2024-38150 for group Sales",
"ame.tenant_uid": "soc",
"ame.impact": "high",
"ame.urgency": "medium",
"ame.priority": 2,
"ame.priority_name": "high",
"ame.assignee": "admin",
"ame.search_name": "High and Critical on priority Assets",
"ame.originQuery": {
"query_string": "search index=ame_events_splunk_soc severity IN (\"high\", \"critical\") AND priority IN (\"high\", \"critical\")",
"query_earliest": 19176416042,
"query_latest": 19176906472,
"query_app": "AME - Event Searches",
"query_view": "Default",
"description": "High and Critical vulnerabilities on priority assets"
},
"ame.count": 1,
"ame.status": "690dbd6d845d4628a93134b1",
"ame.status_name": "new",
"ame.status_type": "new",
"ame.notifications": "690dbd45d45d3628b93234b1",
"ame.notifications_name": "Default Notification Set",
"ame.tags": [
"vulnerability",
"priority"
],
"ame.notable_fields": [
"cve",
"owner",
"observable_group"
],
"ame.first_seen": 1762508123,
"ame.most_recent": 1762508123,
"ame.event_ttl": 172800,
"ame.ttl_target": "690dbd6d845d4628a93134b2",
"ame.template": "690dbd6d845d4628a93134b3",
"ame.template_name": "Vulnerability Event Template",
"ame.resolution": null,
"ame.resolution_name": null,
"ame.most_recent_notable_fields": {
"cve": "CVE-2024-38150",
"owner": "John Doe",
"observable_group": "Sales"
},
"ame.risk": 1200,
"ame.ticketing_integration": "390dbd6d821d4628a93134b2",
"ame.remote_ticket_id": "INC123456",
"ame.remote_ticket_failed": false
}
FieldDescription
ame._keyUnique identifier for the event
ame._indexThe index where the event is stored
ame.event_titleThe title of the event
ame.tenant_uidTenant unique identifier
ame.impactImpact level of the event
ame.urgencyUrgency level of the event
ame.priorityPriority number of the event
ame.assigneeAssigned user for the event
ame.search_nameName of the search that generated the event
ame.originQuery.query_stringThe query string (optional)
ame.originQuery.query_earliestThe earliest time of the origin query (optional)
ame.originQuery.query_latestThe latest time of the origin query (optional)
ame.originQuery.query_appThe app context of the origin query (optional)
ame.originQuery.query_viewThe view of the query (optional)
ame.originQuery.descriptionThe description of the origin query (optional)
ame.countCount of occurrences for the event
ame.statusStatus identifier of the event (foreign key)
ame.status_nameHuman-readable name of the status
ame.notificationsNotifications identifier (foreign key)
ame.notifications_nameHuman-readable name of the notifications
ame.tagsArray of tags associated with the event
ame.notable_fieldsArray of notable fields
ame.first_seenEpoch timestamp of when the event was first seen
ame.most_recentEpoch timestamp of the most recent occurrence
ame.event_ttlTime to live for the event in seconds
ame.ttl_targetTarget identifier for TTL (foreign key)
ame.ttl_target_nameHuman-readable name of the TTL target
ame.templateTemplate identifier used for the event (foreign key)
ame.template_nameHuman-readable name of the template
ame.resolutionResolution identifier of the event (foreign key)
ame.resolution_nameHuman-readable name of the resolution
ame.most_recent_notable_fieldsObject containing the most recent values of notable fields
ame.riskRisk score of the event
ame.ticketing_integrationTicketing integration identifier
ame.remote_ticket_idRemote ticket ID
ame.remote_ticket_failedBoolean indicating if remote ticket creation failed

Observable

{
"_key": "69009dabce7cb7827e08d9bb",
"tenant_uid": "soc",
"uid": "ED:C9:9F:E8:43:FD",
"type": "asset",
"first_seen": 1761648042.0,
"last_seen": 1761906472.0,
"observable_group": "69009784ce7cb7827e08a1f0",
"risk": 1920,
"total_risk": 1920,
"criticality": "high",
"criticality_parsed": 2,
"observable_group_definition": {},
"fqdn": "server-1981.demo.com",
"name": "server-1981",
"hostname": "server-1981"
}
FieldDescription
_key Unique Observable identifier
tenant_uidTenant identifier
uidUnique value for the asset / identity
typeObservable Type: "asset" or "identity"
first_seenEpoch timestamp of first entry
last_seenEpoch timestamp of last seen / update
observable_groupForeign key of Observable group
riskRisk score associated with the observable for active events
total_riskTotal risk score associated with the observable, not changed by risk events being marked as inactive
criticalityCriticality of the observable as one of "unknown", "low", "medium", "high"
criticality_parsedCriticality of the observable in a machine readable format
observable_group_definitionSee Observable Group Definition below.
<data_field>Field for your observable data: example given above fqdn, name, hostname

Observable Group

{
"name": "Sales",
"description": "Sales",
"matches": {
"component_type": "composite",
"composite_type": "AND",
"conditions": [
{
"component_type": "leaf",
"leaf_type": "eq",
"field": "department",
"value": "Sales"
}
]
},
"scope": "asset",
"additional_fields": {
"owner": "John Doe",
"support_contact": "sales@example.com"
},
"from_action": false,
"from_action_last_seen": null
}
FieldDescription
nameName of the observable group
descriptionDescription of the observable group
matchesMatch composite
scopeScope of the observable group (observable type)
additional_fieldsAdditional fields
from_actionIndicates if this group was created by a modular alert action
from_action_last_seenThe last time a modular alert action created / updated this group

CVE

{
"_key": "69008b927c7f1492450d32e7",
"cve": "CVE-2024-38150",
"title": "Windows DWM Core Library Elevation of Privilege Vulnerability",
"cna": "microsoft",
"description": "Windows DWM Core Library Elevation of Privilege Vulnerability",
"published": 1723572919,
"updated": 1723659373,
"cvss_version": "3.1",
"cvss_score": 7.8,
"cvss_severity": "HIGH",
"cvss_vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"cvss_source": "secure@microsoft.com",
"cvss": [
{
"version": "3.1",
"score": 7.8,
"severity": "HIGH",
"vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"source": "secure@microsoft.com"
}
],
"exploitable": false,
"has_exploit_tag": false,
"epss": 0.07452,
"cwe": [
"NVD-CWE-noinfo",
"CWE-416"
],
"capec": [],
"vendor": "Microsoft",
"products": [
"Windows Server 2022",
"Windows 11 Version 24H2"
]
}
FieldDescription
_keyUnique CVE identifier
cveCVE identifier
titleTitle of the CVE
cnaCNA (CVE Numbering Authority)
descriptionDescription of the CVE
publishedPublished timestamp
updatedUpdated timestamp
cvss_versionCVSS version
cvss_scoreCVSS score
cvss_severityCVSS severity
cvss_vectorCVSS vector
cvss_sourceCVSS source
cvssCVSS details
exploitableWhether the CVE is exploitable according to CISA Known Exploited Vulnerabilities Catalog
has_exploit_tagWhether the CVE has an exploit tag
epssEPSS score
cweList of CWEs associated with the CVE
capecList of CAPECs associated with the CVE
vendorVendor associated with the CVE
productsList of products associated with the CVE

SLA

{
"_key": "69021d19ce7cb7827e08e50a",
"tenant_uid": "soc",
"name": "Time to resolve",
"description": "SLA to model the time to resolution",
"start_condition": {
"component_type": "composite",
"composite_type": "AND",
"conditions": [
{
"component_type": "leaf",
"leaf_type": "eq",
"field": "ame.event_title",
"value": "*SLA*"
}
]
},
"stop_condition": {
"component_type": "composite",
"composite_type": "AND",
"conditions": [
{
"component_type": "leaf",
"leaf_type": "neq",
"field": "ame.status_type",
"value": "new"
},
{
"component_type": "leaf",
"leaf_type": "eq",
"field": "ame.status_type",
"value": "done"
}
]
},
"threshold": 172800,
"notification_interval": 3600,
"warning_notifications_at": [],
"update_actions_on_violation": [],
"notify_actions_on_violation": [],
"update_actions_on_fulfillment": [],
"notify_actions_on_fulfillment": []
}
FieldDescription
_keyUnique SLA identifier
tenant_uidTenant identifier
nameName of the SLA
descriptionDescription for the SLA
start_conditionMatch condition for start of SLA
stop_conditionMatch condition for end of SLA
thresholdThreshold of the SLA rule in seconds
notification_intervalNotification frequency of the SLA rule in seconds
warning_notifications_atWarning notifications sent at these thresholds before violation in seconds (SLA service hours)
update_actions_on_violationUpdates executed when the SLA is violated
notify_actions_on_violationNotification triggers sent when the SLA is violated and when notification_interval is reached
update_actions_on_fulfillmentUpdates executed when the SLA is fulfilled
notify_actions_on_fulfillmentNotification triggers sent when the SLA is fulfilled

SLA Entry

{
"_key": "690dc234845d4628a911366d",
"tenant_uid": "soc",
"event_key": "690dbd6d845d4628a91134b1",
"sla": "69021d19ce7cb7827e08e50a",
"start_time": 1762509363,
"window_open_until": 1763124963,
"violation_time": null,
"end_time": null,
"last_notification": null,
"warning_notifications_sent_for": [],
"end_comment": null,
"start_comment": "Starting sla",
"started_by": "admin",
"ended_by": null,
"event_title": "Priority Vulnerability CVE-2024-38150 for group Sales",
"formatted_start_time": "2025-11-07 10:56:03",
"formatted_window_end": "2025-11-14 13:56:03",
"formatted_violation_time": null,
"formatted_fulfillment_time": null,
"formatted_last_notification": null,
"sla_definition": {},
"sla_name": "Time to resolve"
}
FieldDescription
_keyUnique SLA Entry identifier
tenant_uidTenant identifier
event_keyEvent key this entry is for (foreign key)
slaSLA this entry is for (foreign key)
sla_definitionDefinition of the SLA. See SLA.
start_timeStart time of the SLA entry in seconds since epoch
window_open_untilTimestamp of the SLA window closing in seconds since epoch
violation_timeViolation time of the SLA entry in seconds since epoch
end_timeEnd time of the SLA entry in seconds since epoch
last_notificationLast notification time of the SLA entry in seconds since epoch
warning_notifications_sent_forWarning notifications sent for these thresholds in seconds.
end_commentComment for the SLA entry ending
start_commentComment for the SLA entry starting
started_byUser who started the SLA entry
ended_byUser who ended the SLA entry

Realization

{
"_key": "690dbc21845d4628a911348e",
"tenant_uid": "soc",
"first_seen": 1762507807,
"last_seen": 1762508064,
"observable_type": "asset",
"fixed_at": -1,
"matched_field": "ip",
"matched_value": "179.180.210.219",
"source": "Defender",
"cve": {},
"observable": {}
}
FieldDescription
_keyUnique Identifier.
tenant_uidTenant identifier
first_seenFirst seen timestamp
last_seenLast seen timestamp
observable_typeType of observable
fixed_atFixed at timestamp (-1 if not fixed)
matched_fieldMatched field
matched_valueMatched value
sourceSource of the realization, e.g. Defender, Qualys, etc.
cveEnriched CVE information, see CVE
observableObservable, see Observable

Risk Event

{
"_key": "690dbd6d845d4628a91134b4",
"tenant_uid": "soc",
"observable_id": "69009dabce7cb7827e08d9bb",
"observable_type": "asset",
"matched_alert_field": "ip",
"matched_observable_field": "ip",
"matched_value": "179.180.210.219",
"related_event": "690dbd6d845d4628a91134b1",
"related_search": "High and Critical on priority Assets",
"comment": null,
"risk_change": 100,
"status": "active",
"occurrence": 1762508127,
"fixed": null,
"realization_rule": "690481e1ce7cb7827e08e64a",
"realization": {},
"observable": {},
"cve": {}
}
FieldDescription
_keyUnique Risk Event identifier
tenant_uidTenant identifier
observable_idForeign key for the observable
observable_typeObservable Type: "asset" OR "identity"
matched_alert_fieldMatched alert field identifier
matched_observable_fieldMatched observable field; eg: ip
matched_valueMatched value
related_eventRelated AME event (foreign key, optional)
related_searchRelated search - if any
commentComment related to the risk event
risk_changeRisk change for the observable due to this risk event
statusRisk Status ("active", "inactive")
occurrenceTimestamp of occurrence
fixedTimestamp of when the risk event was marked as inactive
realization_ruleRealization rule (foreign key, optional)
realizationOptional realization details, see Realization
observableObservable details, see Observable
cveOptional CVE details, see CVE

Specific Notification Contexts

Depending on the notification trigger type, different contexts are available. The following section details the fields available for each notification context with reference to the base models above.

Event Update Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
updatesList of updated fields as a list of Event Updates-Item below

Event Updates-Item:

FieldDescription
attributeUpdated field
new_valueNew value
old_valuePrevious value

Event Assigned Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
assigneeNew assigned user

Event Appended Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
countNew count

Event Commented Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
commentsList of new comments as a list of Event Comment-Item below

Event Comment-Item:

FieldDescription
textComment
actorUser
timestamp_formattedTimestamp of the comment

Rule Matched Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
keywordDefined keyword
messageDefined message
rule_nameRule that was matched

Event Deleted Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization

Event Created Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
fieldsAlert - fields
info

To access event fields, use following Syntax: {{ alert_data.<field_name> or 'n/a' }}

Bulk Update Context

FieldDescription
actorUser that invoked the action
ame_hostHostname
ame_linkLink to instance / app
event_countNumber of events that were affected
updatesList of updates that were made as a list of Bulk Updates-Item below

Bulk Updates-Item:

FieldDescription
attributeField that was updated
new_valueNew value

Bulk Delete Context

FieldDescription
actorUser that invoked the action
ame_hostHostname
ame_linkLink to instance / app
event_countNumber of events that were affected

SLA Fulfilled Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
keywordDefined keyword
messageDefined message
sla_nameName of the SLA
sla_start_timeStart time of the SLA
sla_window_endWindow end time of the SLA
sla_fulfilled_time_endFulfilled time of the SLA

SLA Violated Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
keywordDefined keyword
messageDefined message
sla_nameName of the SLA
sla_start_timeStart time of the SLA
sla_window_endWindows end time of the SLA
sla_violation_timeViolation time of the SLA

SLA Violation Imminent Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization
sla_nameName of the SLA
sla_start_timeStart time of the SLA
sla_window_endWindows end time of the SLA
sla_violation_in_real_timeViolation real time of the SLA
sla_violation_in_service_timeViolation service time of the SLA

Risk Events Changed Context

FieldDescription
actorUser invoking the action
ame_hostHostname
ame_linkLink to AME instance.
link_to_eventDeep-link to event
ame.*Event fields, see Event
observables_countCount of observables linked to event
observablesList of observables in event, see Observable
risk_events_countCount of risk events linked to event
risk_eventsList of risk events in event, see Risk Event
sla_entries_countCount of SLA entries linked to event
sla_entriesList of SLA entries in event, see SLA Entry
cves_countCount of CVEs linked to event
cvesList of CVEs in event, see CVE
realizations_countCount of realizations linked to event
realizationsList of realizations in event, see Realization