dt-sec-contextualization
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseSecurity Contextualization Skill
安全情境化Skill
Resolve security signals and entity attribute sets to runtime Dynatrace
Smartscape entities, summarize findings across entity levels, and connect
signals that land on different levels (e.g. a detection on a vs.
a CVE on a ) via a shared runtime entity.
K8S_PODKUBERNETES_NODE将安全信号和实体属性集解析为运行时Dynatrace Smartscape实体,汇总跨实体层级的发现内容,并通过共享运行时实体连接落在不同层级的信号(例如上的检测与上的CVE)。
K8S_PODKUBERNETES_NODEWhat This Skill Covers
本Skill涵盖内容
- Identity → Smartscape mapping — given a row carrying any of
,
dt.smartscape_source.id,container_image.digest,container_image.id,host.ip, ordt.entity.*fields, resolve it to a Smartscape entity at any requested level (CONTAINER / K8S_POD / workload / K8S_NODE / HOST / cloud /k8s.*— AI/GenAI workloads).GENAI_SERVICE - Artifact → runtime bridge — →
container_image.digest→smartscapeNodes CONTAINER→ parent workload oris_part_of.*→ HOST. Works without pre-enrichedruns_on.host.dt.smartscape_source.id - Cross-level correlation — tiered entity matching to determine whether two findings (e.g. a detection and a CVE from different legs) relate through a shared runtime entity. Tier 1: exact entity id match; Tier 2: same workload/pod/host by name; Tier 3: same namespace/cluster (context-only — does not contribute to scoring).
- Pod → node topology — resolve to its
K8S_PODviaK8S_NODE(co-projected field) or Smartscape edge traversal. Enables "detection hit pod X — does that pod run on a vulnerable node?"k8s.node.name - Coverage match recipes — 2-way and 3-way container→workload match patterns shared across dt-sec-insights coverage counting queries.
- Entity enrichment — given findings, IoC matches, or raw Smartscape nodes, produce per-entity risk-level breakdowns and entity-key bundles for downstream scoring.
- IoC enrichment — attribute an already-matched IoC (IP / domain / URL /
email / CVE / hash / MITRE TTP) with adversary context (actor, malware family,
MITRE technique, targeting, provider) by reverse-looking-up the ingested
events whose observable arrays contain that IoC.
THREAT_REPORT
- 身份→Smartscape映射 — 给定包含、
dt.smartscape_source.id、container_image.digest、container_image.id、host.ip或dt.entity.*字段的行,将其解析为任意请求层级的Smartscape实体(CONTAINER / K8S_POD / 工作负载 / K8S_NODE / HOST / 云 /k8s.*— AI/生成式AI工作负载)。GENAI_SERVICE - 工件→运行时桥接 — →
container_image.digest→smartscapeNodes CONTAINER→ 父工作负载或is_part_of.*→ HOST。无需预富集的runs_on.host即可工作。dt.smartscape_source.id - 跨层级关联 — 分层实体匹配,以确定两个发现(例如来自不同分支的检测和CVE)是否通过共享运行时实体相关联。层级1:精确实体ID匹配;层级2:同名工作负载/Pod/主机;层级3:同命名空间/集群(仅上下文 — 不影响评分)。
- Pod→节点拓扑 — 通过(共投影字段)或Smartscape边缘遍历将
k8s.node.name解析为其对应的K8S_POD。支持“检测命中Pod X — 该Pod是否运行在存在漏洞的节点上?”这类场景。K8S_NODE - 覆盖匹配规则 — dt-sec-insights覆盖计数查询中共享的双向和三向容器→工作负载匹配模式。
- 实体富集 — 给定发现内容、IoC匹配项或原始Smartscape节点,生成每个实体的风险等级细分和实体密钥包,用于下游评分。
- IoC富集 — 通过反向查找可观测数组中包含该IoC的已摄入事件,为已匹配的IoC(IP / 域名 / URL / 邮箱 / CVE / 哈希 / MITRE TTP)添加攻击者上下文(攻击者、恶意软件家族、MITRE技术、攻击目标、提供商)。
THREAT_REPORT
When to Use This Skill
使用场景
| Intent / trigger | Reference |
|---|---|
| Map findings / IoC matches to workloads, hosts, or cloud entities | |
| Which Smartscape entity does this container image / digest run as? | |
| Do this detection and this CVE relate via a shared entity? | |
| Pod X fired - does it run on a vulnerable node? | |
| Per-entity risk summary (Critical/High/Medium/Low) | |
| Coverage match recipe - which workloads are covered by product Y? | |
| Which entity-identity fields are relevant to a finding type? | |
| Enrich a matched IoC (IP/domain/hash/CVE/...) with threat-report adversary context | |
| Scope findings to AI/GenAI workloads; which processes belong to an AI service; resolve a process to its AI service | |
| 意图 / 触发词 | 参考文档 |
|---|---|
| 将发现内容/IoC匹配项映射到工作负载、主机或云实体 | |
| 此容器镜像/摘要以哪个Smartscape实体运行? | |
| 此检测和此CVE是否通过共享实体关联? | |
| Pod X触发告警 - 它是否运行在存在漏洞的节点上? | |
| 每个实体的风险摘要(Critical/High/Medium/Low) | |
| 覆盖匹配规则 - 哪些工作负载被产品Y覆盖? | |
| 哪些实体身份字段与发现类型相关? | |
| 为已匹配的IoC(IP/域名/哈希/CVE/...)添加威胁报告的攻击者上下文 | |
| 将发现范围限定为AI/生成式AI工作负载;哪些进程属于AI服务;将进程解析为其对应的AI服务 | |
How This Skill Is Organized
本Skill的组织方式
- SKILL.md (this file) — entry point and routing.
- references/
- identity-mapping.md — generalized identity->Smartscape resolver (mapping primitive Paths 1/2/3/4), pre-flight identifier checks, level selection, and entity-identity field guidance.
- entity-enrichment.md — consumers of the mapping primitive: cloud (Path 1), K8s workload (3-way), host-by-IP, host-by-entity, natural-language fallback, problem->entities->findings chain. Per-entity risk-level breakdowns (Critical/High/Medium/Low).
- correlation-and-coverage.md — cross-level entity convergence, pod->node topology resolution, scoring contract, and 2-way/3-way coverage match recipes shared with dt-sec-insights.
- ioc-enrichment.md — reverse-lookup IoC
enrichment: attribute a matched IoC to ingested events and surface adversary context (actor / malware / MITRE / targeting). Single and batch (per-IoC) templates; supported-IoC taxonomy.
THREAT_REPORT
- SKILL.md(本文档) — 入口点和路由说明。
- references/
- identity-mapping.md — 通用身份→Smartscape解析器(映射原语路径1/2/3/4)、预飞检查标识符、层级选择和实体身份字段指南。
- entity-enrichment.md — 映射原语的消费者:云(路径1)、K8s工作负载(三向)、按IP匹配主机、按实体匹配主机、自然语言回退、问题->实体->发现内容链。每个实体的风险等级细分(Critical/High/Medium/Low)。
- correlation-and-coverage.md — 跨层级实体收敛、Pod->节点拓扑解析、评分约定,以及与dt-sec-insights共享的双向/三向覆盖匹配规则。
- ioc-enrichment.md — 反向查找IoC富集:将已匹配的IoC归因于已摄入的事件,并展示攻击者上下文(攻击者 / 恶意软件 / MITRE / 攻击目标)。单条和批量(按IoC)模板;支持的IoC分类。
THREAT_REPORT
Universal Best Practices
通用最佳实践
- Always load first — DQL syntax and function names differ from SQL. Confirm all functions before generating queries.
dt-dql-essentials - Ground every query in a named template — do not improvise Smartscape joins. The 3-way match, digest→CONTAINER→workload, and pod→node traversal patterns are precise; deviating produces silent zero-row results.
- Run the pre-flight check before the full 3-way enrichment — external providers vary widely. Confirm at least one identifier path is populated before running the expensive append chain.
- Check before trusting Path 1 — a non-null
dt.smartscape_source.typeis not proof of workload-level resolution; the field may point to a namespace, cluster, or cloud resource. Only K8s workload types (dt.smartscape_source.id,K8S_DEPLOYMENT,K8S_DAEMONSET,K8S_STATEFULSET,K8S_CRONJOB,K8S_JOB) are eligible for workload enrichment via Path 1.K8S_REPLICASET - Dedup early and after — dedup before joins to collapse re-ingested duplicates; dedup again after
appendbecause the same finding can match multiple paths.append - Tier 3 correlation is context only — same namespace/cluster shared by two findings does not raise the exposure score. Never treat a cluster-level shared attribute as proof of entity-level relatedness.
- Route topology queries to — pod→node placement and Smartscape edge traversal patterns live in
dt-obs-kubernetes. Do not re-author them here; reference them and apply the output indt-obs-kubernetes/references/pod-node-placement.md.correlation-and-coverage.md - No filters — security event data may live in any bucket; filtering by bucket risks hiding findings.
dt.system.bucket - THREAT_REPORT is the one query allowed here — reverse lookup only.
security.eventsattributes a matched IoC to reports (IoC → report). Broad THREAT_REPORT overviews, IOC rollups, and forward report → environment correlation stay inioc-enrichment.md(dt-sec-insights). Never author finding/posture queries here.threat-intelligence.md
- 始终先加载— DQL语法和函数名称与SQL不同。生成查询前确认所有函数。
dt-dql-essentials - 每个查询都基于命名模板 — 不要随意编写Smartscape连接语句。三向匹配、摘要→CONTAINER→工作负载和Pod→节点遍历模式都是精确的;偏离会导致静默的零行结果。
- 在完整的三向富集前运行预飞检查 — 外部提供商差异很大。在运行昂贵的追加链之前,确认至少有一条标识符路径已填充。
- 信任路径1前检查— 非空的
dt.smartscape_source.type并不一定能解析到工作负载层级;该字段可能指向命名空间、集群或云资源。只有K8s工作负载类型(dt.smartscape_source.id、K8S_DEPLOYMENT、K8S_DAEMONSET、K8S_STATEFULSET、K8S_CRONJOB、K8S_JOB)才有资格通过路径1进行工作负载富集。K8S_REPLICASET - 尽早去重并在后去重 — 连接前去重以合并重复摄入的内容;
append后再次去重,因为同一发现可能匹配多个路径。append - 层级3关联仅作为上下文 — 两个发现共享同一命名空间/集群并不会提高暴露评分。切勿将集群级共享属性视为实体级关联的证据。
- 将拓扑查询路由到— Pod→节点放置和Smartscape边缘遍历模式位于
dt-obs-kubernetes中。请勿在此处重新编写;请引用它们并在dt-obs-kubernetes/references/pod-node-placement.md中应用输出结果。correlation-and-coverage.md - 不要使用过滤器 — 安全事件数据可能存储在任何bucket中;按bucket过滤可能会隐藏发现内容。
dt.system.bucket - THREAT_REPORT是此处允许的唯一查询 — 仅用于反向查找。
security.events将已匹配的IoC归因于报告(IoC → 报告)。宽泛的THREAT_REPORT概览、IOC汇总和正向报告→环境关联由ioc-enrichment.md(dt-sec-insights)负责;本Skill仅负责反向IoC→报告富集(threat-intelligence.md)。切勿在此处编写发现内容/态势查询。ioc-enrichment.md
Related Skills
相关Skill
| Skill | Role |
|---|---|
| Load first. Core DQL syntax, functions, Smartscape patterns. |
| Consumer of mapping primitive; owns finding-schema queries and coverage counting logic. Owns forward threat-intel (report → environment correlation, overviews, IOC rollups) in |
| Routes cross-evidence correlation and entity enrichment to this skill. |
| Pod→node topology; K8s entity placement patterns. |
| Host inventory; process-level context for HOST/PROCESS_GROUP findings. |
| Cloud Smartscape topology for cloud-entity enrichment. |
| Skill | 角色 |
|---|---|
| 优先加载。核心DQL语法、函数、Smartscape模式。 |
| 映射原语的消费者;负责发现内容模式查询和覆盖计数逻辑。在 |
| 将跨证据关联和实体富集路由到本Skill。 |
| Pod→节点拓扑;K8s实体放置模式。 |
| 主机清单;HOST/PROCESS_GROUP发现内容的进程级上下文。 |
| 用于云实体富集的云Smartscape拓扑。 |