dynatrace/dt-sec-semantic-mapping
Suggest and validate semantic dictionary (SD) mappings for new security integrations using vendor API samples or live events. Use when: mapping a new security vendor data to Dynatrace SD; checking required fields; validating namespaces; highlighting discrepancies vs the semantic dictionary; proposing mapping improvements; running runtime validation against live tenant data.
npx skills add https://github.com/Dynatrace/dynatrace-for-ai --skill dt-sec-semantic-mapping
Build and validate semantic-dictionary-aligned mappings for new security integrations.
Use this skill when a user wants to:
security.events fields (Workflow A).The Semantic Dictionary (SD) defines the canonical field set for security.events. See references/semantic-reference.md for the canonical reference: local-vs-live sources, queryable Grail tables, when-to-query decision matrix, and the authority rule (live SD wins on disagreement).
Always run the intake checklist in references/intake-and-constraints.md before generating or validating a mapping. If inputs are incomplete, continue with a partial draft but explicitly list missing evidence and confidence limits.
All baseline material lives inside this skill:
samples/ — real integration payloads covering all finding types and providers. Consulted as a fallback when primary references (SD, data-model-notes, known-discrepancies, validation-rules, object-type-expectations) leave a specific question unresolved — not as a routine step on every workflow run.references/semantic-reference.md — SD reference, field taxonomy, event types, provider taxonomy, and entity scopingreferences/validation-policy-and-reporting.md — validation rules, acceptable discrepancies, and report templatesreferences/intake-and-constraints.md — intake checklist, output contract, object.type expectations, and OpenPipeline constraintsThe mapping MUST address the correct set of event.type values per finding class. Detection integrations are push-based and do not use scan cycles — never require scan events for detection.
See validation-policy-and-reporting.md § Event-Type Coverage for the full table, severity rules, and the alternative-classification path when a detection-class mapping incorrectly emits *_SCAN events.
This skill operates in three modes. Detect the mode from context:
| Mode | Input | Procedural source |
|---|---|---|
| Workflow A — Suggest a new mapping | Raw vendor API payloads only | references/mapping-workflow.md § Workflow A (Phase 1 mapping table → user approval → Phase 2 sample JSON) |
| Workflow B1 — Static validation | Existing mapping + vendor API samples | references/mapping-workflow.md § Workflow B — classify input mode (final ingested / theoretical), apply rules, produce diff-highlighted table |
| Workflow B2 — Runtime validation | Existing mapping + live tenant access | references/runtime-validation.md — load the security (AppSec) events supporting skill first (REQUIRED Step 0), then run the query pack, produce a Validation Summary table |
All workflows follow the output contracts in references/intake-and-constraints.md and the report templates in references/validation-policy-and-reporting.md. Validation rules (event-type coverage, required fields, scan references, namespace requirements, value/type checks, vendor-namespace duplication) live in references/validation-policy-and-reporting.md.
See references/validation-policy-and-reporting.md for the canonical list of acceptable SD deviations and vendor-namespace patterns. Do NOT raise critical/major issues for fields on that list. Genuinely unknown fields (not in local refs AND not in the live SD — see references/semantic-reference.md) must be questioned per references/validation-policy-and-reporting.md.
This skill covers:
This skill does not cover:
references/semantic-reference.md — SD reference plus data-model notes: local sources, live (queryable) sources, DQL patterns, when-to-query decision matrix, authority rule, field taxonomysecurity.events and Grail tablesreferences/intake-and-constraints.md — intake checklist, output contract, OpenPipeline constraints, and object.type namespace expectationsreferences/mapping-workflow.md — how to build and refine a mapping candidatereferences/validation-policy-and-reporting.md — full validation rule set, known discrepancies, and discrepancy report templatesreferences/runtime-validation.md — optional real-environment query validation packTake dynatrace/dt-sec-semantic-mapping from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.