Security events are a special type of data representing security-relevant data generated by Dynatrace, but also third-party vendors. The security events models are organized into the following subcategories:
In the security.events table, the data is separated in different buckets, depending on the origin of the data. For Dynatrace generated data, data is stored in the default_securityevents_builtin bucket, data ingested through the ingest APIs is stored in the default_securityevents bucket, unless rerouted to another bucket in OpenPipeline.
Query
Provides an overview of all security events by event type.
fetch security.events
|summarize {events = count()}, by: {event.type}
|sort events desc
Lists the most recent security events across all security event domains.
fetch security.events
|sort timestamp desc
Counts security events by provider and event type to show which sources generate which kinds of events.
resourcestable Main reference point to which the event or data is related. Possible values are Vulnerability (shows the global aggregation across the entire environment and comprises all entities and management zones) and Entity (shows the assessment based on the entity itself).
ENTITY; VULNERABILITY
event.provider_product
string
resourcestable Name of the product providing this event.
Runtime Vulnerability Analytics; Snyk Container
event.trigger.type
string
resourcestable Type of event trigger (for example, whether it was generated by the system, ingested via API, or triggered by the user).
DT_PLATFORM; API; USER_ACTION
event.trigger.user
string
resourcestable ID of the user who triggered the event. If generated by Dynatrace, the value is SYSTEM.
SYSTEM; <api_token_id>; <user_id>
event.level has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
Value
Description
ENTITY
entity
VULNERABILITY
vulnerability
Object fields
Attribute
Type
Description
Examples
object.id
string
resourceexperimental Identifier of the affected object.
resourceexperimental Version of the product that performed the scan.
6.9.2.0
Sink code fields
The individual parts of an application where data from entry points ends up, potentially causing a vulnerability to be exploited.
Attribute
Type
Description
Examples
sink.code.function
string
resourceexperimental Name of the function that executes the command, query, or similar with tainted parameters.
executeQuery
sink.code.namespace
string
resourceexperimental Namespace of the sink code function.
com.mysql.jdbc.Statement
sink.code.parameter_types
array
resourceexperimental Parameter types as defined in the method signature of the sink code function, which help distinguish in case of method overloads. For example, for a method with the executeQuery(String sql) signature, the parameter types would be ["String"].
[String]
Security events Smartscape fields
Shared Smartscape fields for security events.
Attribute
Type
Description
Examples
dt.smartscape_source.type
string
stable Display name: Smartscape source type The entity type of the entity whose identifier is held in dt.smartscape_source.id.
K8S_CLUSTER; AWS_LAMBDA_FUNCTION
Vulnerability scan events
A vulnerability scan event records that a specific object—such as a running process group, container image, or code artifact—was scanned for vulnerabilities by a particular tool, together with scan coverage metadata. It lets you distinguish an object that was scanned and found clean from one that was never scanned. Vulnerability scan events are produced both by Dynatrace Runtime Vulnerability Analytics (process scans) and by ingested third-party scanners such as Black Duck.
Query
Lists the most recent vulnerability scan events provided by Dynatrace Runtime Vulnerability Analytics.
stable Display name: Event ID Unique identifier string of an event; is stable across multiple refreshes and updates.
73d32f1e-2a6e-4b47-a79a-c865885c4821
event.kind
string
stable Display name: Event kind Gives high-level information about what kind of information the event contains without being specific about the contents of the event. It helps to determine the record type of a raw event. Tags: permission
SECURITY_EVENT
event.name
string
stable Display name: Event name The human readable display name of an event type.
Vulnerability scan event
event.provider
string
stable Display name: Event provider Specifies the source of the event. In the case of integration with a specific product, such as Amazon ECR or AWS Security Hub, the product's full name is included. Tags: permission
Amazon ECR
event.type
string
stable Display name: Event type The unique type identifier of a given event. Tags: permission
VULNERABILITY_SCAN
event.version
string
experimental Display name: Event version Describes the version of the event.
1.309
timestamp
timestamp
stable Display name: Timestamp Time (UNIX Epoch time in nanoseconds) when the event originated, typically when the scan was completed. If scan completion time isn't available, it's set to the event creation time.
1649822520123123123
Vulnerability scan events affected object data fields
Information about the affected object to which the scan belongs.
Attribute
Type
Description
Examples
object.id
string
resourceexperimental Identifier of the affected object.
resourceexperimental Display name: Container image registry Container image registry from which the container image originates.
1294385647.eu-central-1
container_image.repository
string
resourceexperimental Display name: Container image repository Container image repository from which the container image originates.
unguard-frontend
container_image.tags
array
resourceexperimental Display name: Container image tags List of tags of the container image.
[1.0.0]; [1.0.0, 1.0.0-nightly, latest]
Vulnerability scan events OS data fields
Information about the operating system on which the scan is performed.
Attribute
Type
Description
Examples
os.architecture
string
resourceexperimental Display name: OS architecture Architecture of the CPU, discovered from the operating system.
X86
os.name
string
resourcestable Display name: OS name The OS name in a short, human-readable format.
iOS
os.type
string
resourceexperimental Display name: OS type Type of discovered operating system.
LINUX; WINDOWS
os.version
string
resourcestable Display name: OS version The complete OS version, including patch, build, and other information.
15.3.1; Ubuntu 16.04.7 LTS (Xenial Xerus) (kernel 4.15.0-206-generic); Windows Server 2022 Datacenter 21H2 2009, ver. 10.0.20348
Vulnerability scan events entity fields
Information about the entity being scanned.
Attribute
Type
Description
Examples
dt.entity.host
string
resourcedeprecatedThis field is deprecated and will be removed in the future. Use dt.smartscape.host instead. Display name: Host An entity ID of an entity of type HOST. Tags: entity-id
HOST-E0D8F94D9065F24F
dt.entity.process_group
string
resourcedeprecatedThis field is deprecated and will be removed in the future. Use dt.process_group.id or dt.process_group.detected_name instead. Note that there is no entity type PROCESS_GROUP in Smartscape, so dt.process_group.id exists only for compatibility. Preferably use dt.process_group.detected_name to identify process groups. Display name: Process group An entity ID of an entity of type PROCESS_GROUP. Tags: entity-id
PROCESS_GROUP-E0D8F94D9065F24F
dt.entity.process_group_instance
string
resourcedeprecatedThis field is deprecated and will be removed in the future. Use dt.smartscape.process instead. Display name: Process group instance An entity ID of an entity of type PROCESS_GROUP_INSTANCE. Tags: entity-id
PROCESS_GROUP_INSTANCE-E0D8F94D9065F24F
dt.smartscape_source.id
smartscapeId
resourcestable Display name: Smartscape source ID The ID of the entity considered the source of the signal. The string represents an entity ID of an entity that is stored in the Smartscape storage. 1 Tags: smartscape-id
stable Display name: Smartscape source type The entity type of the entity whose identifier is held in dt.smartscape_source.id.
K8S_CLUSTER; AWS_LAMBDA_FUNCTION
dt.source_entity
string
resourcedeprecatedThis field is deprecated and will be removed in the future. Use dt.smartscape_source.id instead. Display name: Source entity The ID of the entity considered the source of the signal. The string represents an entity ID of an entity that is stored in the classic entity storage. 2 Tags: entity-id
resourcedeprecatedThis field is deprecated and will be removed in the future. Use dt.smartscape_source.type instead. Display name: Source entity type The entity type of the entity whose identifier is held in dt.source_entity. The value must be a valid entity type and consistent with dt.source_entity. Note, however, that the type identifiers are expected to be lowercased in alignment with suffixes of dt.entity.* keys.
resourceexperimental Display name: Host name The host name as determined on the data source (for instance, OneAgent, extensions or OpenTelemetry). Important: This is not the name of the host entity, which can be modified based on naming rules. Tags: permission
ip-10-178-54-32.ec2.internal
1
The value of this field will be based on the value of one of the dt.smartscape.<type> fields. That means that the dt.smartscape_source.id and dt.smartscape.<type> fields will both be set to the same ID.
2
The value of this field will be based on the value of one of the dt.entity.<type> fields. This means that the dt.source_entity and dt.entity.<type> fields will both be set to the same ID.
resourcestable Display name: Kubernetes cluster name The user-defined name of the cluster in Dynatrace. Doesn't need to be unique or immutable. Tags: permissionprimary-field
unguard-dev; acme-prod10
k8s.namespace.name
string
resourcestable Display name: Kubernetes namespace name The name of the namespace that the pod is running in. Tags: permissionprimary-field