mcpField
T
tenzir-asim

tenzir-asim

github.com/tenzirSecurity340 installsUpdated 5d ago
Repository

About tenzir-asim

tenzir-asim is a skill for security analysts working with Microsoft Sentinel ASIM telemetry. It uses generated YAML as its reference for schema selection, field meanings, aliases, and mapping guidance.

Key features

  1. 01Choose ASIM schemas by activity or entity
  2. 02Inspect schema fields and logical types
  3. 03Resolve aliases and their conditions
  4. 04Understand field classes and role prefixes
  5. 05Map telemetry using schema guidance

Use cases

  1. 01Select an ASIM schema for a security event
  2. 02Map source telemetry to normalized fields
  3. 03Check aliases and choose canonical fields

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tenzir/skills --skill tenzir-asim

After installing, type/tenzir-asimin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

aliases.yaml
catalog.yaml
fields.yaml
docs/sentinel/
normalization-about-schemas.md
normalization-common-fields.md
normalization-content.md
normalization-entity-application.md
normalization-entity-device.md
normalization-entity-user.md
normalization-schema-agent.md
normalization-schema-alert.md
normalization-schema-asset.md
normalization-schema-audit.md
normalization-schema-authentication.md
normalization-schema-dhcp.md
normalization-schema-dns.md
normalization-schema-file-event.md
normalization-schema-network.md
normalization-schema-process-event.md
normalization-schema-registry-event.md
normalization-schema-user-management.md
normalization-schema-web.md
fields/
aad_tenant_id.yaml
acting_app_id.yaml
acting_app_name.yaml
acting_app_type.yaml
acting_original_app_type.yaml
acting_process_command_line.yaml
acting_process_creation_time.yaml
acting_process_file_company.yaml

Details

From the project README

Microsoft Sentinel ASIM

Microsoft Sentinel ASIM (Advanced Security Information Model) normalizes security telemetry from many products into source-independent records that analysts can query consistently. Use this skill to choose the right ASIM schema, inspect normalized fields, resolve aliases, explain field classes and logical types, and map events or entities into ASIM.

The generated YAML files are the authoritative reference for this skill. If a field, alias, enum value, schema version, condition, or schema behavior is not present in the YAML data, say that it is not documented here. Use source.md only as the final provenance anchor for the requested Microsoft Defender Docs ref and raw Markdown copies.

How ASIM fits together

ASIM is organized around schemas. A schema is a named contract for one kind of activity or entity, with a version, status, and field set. Event schemas describe activity records such as DNS, authentication, network, process, registry, file, audit, alert, web, DHCP, agent, and user-management events. Entity schemas describe standalone entity records, such as AssetEntity. A normalized event record identifies its contract with EventSchema and EventSchemaVersion; an entity record uses EntitySchema and EntitySchemaVersion.

Fields are schema-scoped contracts, not just names. A field can appear in several schemas with different classes, allowed values, conditions, or examples. Common fields describe shared event or entity metadata, such as time, product, result, severity, schema, and reporting device details. Entity fields describe participants in an event. ASIM uses role prefixes such as Src, Dst, Actor, Target, Acting, and Dvc to distinguish those participants. Logical types define the ASIM compatibility contract for a value, even when the underlying Log Analytics physical type is less specific.

A field class describes mapping priority and requirement level: Mandatory, Recommended, Conditional, Optional, or Alias. Aliases are query-convenience names that point to one or more canonical fields; prefer canonical target fields when mapping data or writing reusable detections, rules, and workbooks. value records document schema constants, allowed_values records document normalized enum values, and required_if records document when a conditional field is required. When ASIM has no direct field for source-specific details, preserve the value in its original field or in AdditionalFields.

For mapping work, start with the activity or entity semantics, choose the schema, and treat that schema file as authoritative. Use field files only when you need a cross-schema view of one field.

Data files

  • Use catalog.yaml to choose a schema and find the schema data file.
  • Use schemas/<schema>.yaml to map telemetry into one ASIM schema.
  • Use fields.yaml directly as the field-name to field-file manifest.
  • Use fields/<field>.yaml for field meaning across schemas.
  • Use aliases.yaml to resolve alias fields and conditional alias rules.

Mapping rules

  • Start from activity or entity semantics, choose the ASIM schema in catalog.yaml, then load the schema file.
  • Populate Mandatory and useful Recommended fields first, then add Optional fields when the source provides useful context.
  • Populate Conditional fields when the field record's required_if condition applies.
  • Prefer canonical normalized fields over aliases for reusable detections, analytics rules, workbooks, and mappings.
  • Use aliases to explain Microsoft-documented query convenience, but resolve them through aliases.yaml before mapping.
  • Preserve source-specific values in original fields or AdditionalFields when ASIM has no direct normalized field.
  • When a schema defines both a value field and a type field, populate the type field when the identifier format is known.
  • Treat fields with role: common as shared event/entity metadata, but obey schema-specific value, allowed_values, and required_if records.

Field classes

ClassMeaning
MandatoryPopulate for normalized records of that schema.
RecommendedPopulate when the source provides enough information because it improves analytic value.
ConditionalPopulate when the field record's condition applies.
OptionalPopulate for useful context when the source provides it.
AliasQuery convenience field; prefer canonical target fields for reusable content.

Role prefixes

PrefixRole
SrcSource system, identity, or application initiating the activity.
DstDestination system, identity, or application targeted by the activity.
ActorUser or identity performing the operation.
TargetUser, system, object, or application affected by the operation.
ActingProcess or application acting on behalf of an actor.
DvcReporting device or collector unless the selected schema defines a more specific role.

Question routing

Question patternStart here
Which ASIM schema should I map this event or entity to?catalog.yaml, then the selected schema file
What fields does schema X contain?schemas/<schema>.yaml
What does field X mean?fields.yaml, then fields/<field>.yaml
Which field should an alias use?aliases.yaml, then target field files
How do user/device/application roles map?Role-prefix table above, then the selected schema file
What raw Microsoft source backs this data?source.md

For provenance, the requested Microsoft Defender Docs ref, and raw source copies, use source.md as the last anchor.

Comments

Markdown supported