dt-sec-semantic-mapping
Skill161 starsChanged 3 months agoApache-2.0View on GitHub
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.
In this repository35 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- dt-alertingSkill
- dt-app-dashboardsSkill
- dt-app-notebooksSkill
- dt-dql-essentialsSkill
- dt-js-runtimeSkill
- dt-migrationSkill
- dt-obs-analyticsSkill
- dt-obs-awsSkill
- dt-obs-azureSkill
- dt-obs-compliance-assistantSkill
- dt-obs-ext-monitorsSkill
- dt-obs-frontendsSkill
- dt-obs-gcpSkill
- dt-obs-genaiSkill
- dt-obs-hostsSkill
- dt-obs-kubernetesSkill
- dt-obs-log-semantic-mappingSkill
- dt-obs-logsSkill
- dt-obs-network-devicesSkill
- dt-obs-network-flowsSkill
- dt-obs-predictive-analyticsSkill
- dt-obs-problemsSkill
- dt-obs-servicesSkill
- dt-obs-tracingSkill
- dt-platform-costsSkill
- dt-sec-contextualizationSkill
- dt-sec-insightsSkill
- dt-sec-ioc-huntingSkill
- dt-setup-androidSkill
- dt-setup-flutterSkill
- dt-setup-iosSkill
- dt-setup-oneagentSkill
- dt-setup-react-nativeSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill when a user wants to:
- Very specific: line 28
Always run the intake checklist in references/intake-and-constraints.md before generating or validating a mapping.
- Distinctive: line 32
All baseline material lives inside this skill:
- Very specific: line 55
All workflows follow the output contracts in references/intake-and-constraints.md and the report templates in …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
dt-sec-semantic-mapping
Build and validate semantic-dictionary-aligned mappings for new security integrations.
Purpose
Use this skill when a user wants to:
- Suggest a mapping from vendor API output to Dynatrace
security.eventsfields (Workflow A). - Validate an existing mapping for completeness and quality against:
- Local baseline samples and semantic dictionary (Workflow B1 — static, offline validation), or
- Live tenant data via live tenant access (Workflow B2 — runtime validation)
- Highlight discrepancies vs. the Semantic Dictionary and local references.
- Get actionable mapping improvements.
Semantic Dictionary
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).
Required Inputs
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.
Baseline Sources (self-contained)
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.typeexpectations, and OpenPipeline constraints
Event-Type Coverage Requirements
The 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.
Workflows
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.
Acceptable Discrepancy Policy
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.
Scope
This skill covers:
- Mapping suggestion and refinement (Workflow A).
- Static validation against local baseline examples and semantic dictionary (Workflow B1).
- Runtime validation via live tenant access against live tenant data (Workflow B2).
- Semantic-dictionary conformance checks.
- Gap analysis and improvement recommendations.
This skill does not cover:
- Live ingestion pipeline deployment.
- Runtime DQL performance benchmarking.
- Tenant-side ingestion troubleshooting.
References
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 taxonomy- A skill covering full SD access patterns and Grail-table documentation — for DQL query patterns against
security.eventsand Grail tables - Semantic Dictionary (public docs)
references/intake-and-constraints.md— intake checklist, output contract, OpenPipeline constraints, andobject.typenamespace 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 pack
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

