Skip to content

Update security ML jobs to include MITRE ATT&CK framework tactics and technique metdata#19220

Draft
ymao1 wants to merge 5 commits into
elastic:mainfrom
ymao1:update-ml-jobs-with-threat-categories
Draft

Update security ML jobs to include MITRE ATT&CK framework tactics and technique metdata#19220
ymao1 wants to merge 5 commits into
elastic:mainfrom
ymao1:update-ml-jobs-with-threat-categories

Conversation

@ymao1
Copy link
Copy Markdown
Contributor

@ymao1 ymao1 commented May 26, 2026

Proposed commit message

Adding MITRE ATT&CK framework tactic and technique codes to the custom_settings field for all security ML jobs. These mappings were derived from the prebuilt detection ML rules that include the mapping within the rule definitions. Techniques and subtechniques are stored in the same array.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@andrewkroh andrewkroh added Integration:problemchild Living off the Land Attack Detection Integration:ded Data Exfiltration Detection Integration:dga Domain Generation Algorithm Detection Integration:lmd Lateral Movement Detection Integration:pad Privileged Access Detection labels May 26, 2026
@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

TL;DR

Check integrations ded failed while building the package because the transform manifest references a versioned ingest pipeline name that does not exist in the built package (3.1.0-ml_ded_ingest_pipeline inside package version 3.1.1). Update the transform’s versioned references to match the package version bump.

Remediation

  • In packages/ded/elasticsearch/transform/pivot_transform_ea/transform.yml, update all version-coupled values from 3.1.0 to 3.1.1 (at minimum dest.pipeline; also keep dest.index and _meta.fleet_transform_version aligned with the package version convention).
  • Re-run .buildkite/scripts/test_one_package.sh packages/ded origin/main <commit_sha> (or the equivalent local elastic-package check) to confirm package build resolves transform manifests successfully.
Investigation details

Root Cause

The transform definition uses a hard-coded versioned pipeline name:

  • packages/ded/elasticsearch/transform/pivot_transform_ea/transform.yml:9pipeline: 3.1.0-ml_ded_ingest_pipeline

Buildkite attempted to build package ded/3.1.1, so it looked for 3.1.0-ml_ded_ingest_pipeline.yml in that build output and failed because that filename/version does not exist for the bumped package version.

Evidence

Error: checking package failed: building package failed: resolving transform manifests failed:
failed reading transform definition file ".../packages/ded/3.1.1/elasticsearch/transform/pivot_transform_ea/transform.yml":
destination ingest pipeline file 3.1.0-ml_ded_ingest_pipeline.yml not found: incorrect version used in pipeline or unknown pipeline

Verification

  • Not run in this environment; diagnosis based on Buildkite failure log and repository source inspection.

Follow-up

  • After fixing transform.yml, scan packages/ded/ for any remaining 3.1.0 literals that should track the package version to avoid the same class of failure on the next patch bump.

Note

🔒 Integrity filter blocked 3 items

The following items were blocked because they don't meet the GitHub integrity level.

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@elasticmachine
Copy link
Copy Markdown

💚 Build Succeeded

History

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration:ded Data Exfiltration Detection Integration:dga Domain Generation Algorithm Detection Integration:lmd Lateral Movement Detection Integration:pad Privileged Access Detection Integration:problemchild Living off the Land Attack Detection

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants