Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
fd8aea4
[Security Solution] Automated Alert-to-Investigation Pipeline — E2E S…
patrykkopycinski Mar 16, 2026
d48b568
Fix 18 bugs and security issues found during audit
patrykkopycinski Mar 16, 2026
aa0824c
Fix observable type key mapping and wire workflow step registration
patrykkopycinski Mar 16, 2026
358e461
Fix 9 medium+ issues found via smart audit loops
patrykkopycinski Mar 16, 2026
018fb0a
Changes from node scripts/lint_ts_projects --fix
kibanamachine Mar 16, 2026
b447c0d
Changes from node scripts/regenerate_moon_projects.js --update
kibanamachine Mar 16, 2026
c045576
Changes from node scripts/eslint_all_files --no-cache --fix
kibanamachine Mar 16, 2026
03acd13
Add complete Alert Investigation Pipeline spike implementation
patrykkopycinski Mar 20, 2026
f0a5bfb
Fix EUI accessibility warnings in pipeline dashboard
patrykkopycinski Mar 20, 2026
566cb99
Add LLM/Agentic capabilities analysis for Alert Investigation Pipeline
patrykkopycinski Mar 20, 2026
12fb887
Add spike completion summary and spike-builder v2.0 enhancements
patrykkopycinski Mar 20, 2026
d852ccd
spike-builder v2.0 validation: Create LLM enhancement issues + automa…
patrykkopycinski Mar 20, 2026
4cf5b1e
spike-builder v2.0: Add deep technical analysis and competitor freque…
patrykkopycinski Mar 20, 2026
ff261de
Add comprehensive session summary - spike completion + v2.0 validation
patrykkopycinski Mar 20, 2026
391ed0e
spike-builder v2.1: Add deep implementation analysis protocol
patrykkopycinski Mar 20, 2026
4367147
spike-builder v2.1: Add Elastic-first philosophy and stack gap docume…
patrykkopycinski Mar 20, 2026
8f86cc6
Add Elastic Workflows to spike-builder as primary orchestration frame…
patrykkopycinski Mar 20, 2026
ea1d1ef
spike-builder v2.1 review: Validate spike against Elastic-first crite…
patrykkopycinski Mar 20, 2026
f376538
Implement spike-builder v2.1 enhancements: Feature flag + Stack gaps …
patrykkopycinski Mar 20, 2026
61762f4
Add refactoring plan for minimal cross-team dependencies - enables sh…
patrykkopycinski Mar 20, 2026
daf1430
Clean up temporary and planning files - remove from PR
patrykkopycinski Mar 20, 2026
e0d7fb1
Add Elastic Workflows-based execution (not Task Manager)
patrykkopycinski Mar 20, 2026
764c847
Refactor: Move pipeline to server/lib/alert_investigation (independen…
patrykkopycinski Mar 20, 2026
0f15876
Add explanation: Alert event triggers are optional enhancement, not r…
patrykkopycinski Mar 20, 2026
dda98ef
Move spike documentation to separate branch
patrykkopycinski Mar 20, 2026
fd291f5
Add ELSER semantic deduplication with graceful Jaccard fallback
patrykkopycinski Mar 20, 2026
dede7bf
Remove remaining documentation files from implementation PR
patrykkopycinski Mar 20, 2026
76b48d0
Remove unused exploratory code from spike
patrykkopycinski Mar 20, 2026
7bd8c3b
Fix exports after removing enrichment strategies
patrykkopycinski Mar 20, 2026
004fee0
Remove documentation files that reappeared
patrykkopycinski Mar 20, 2026
936bfdf
Remove dead code: orchestrator, validation, audit, observables_cache,…
patrykkopycinski Mar 20, 2026
f44e3c9
Fix index.ts exports after removing enrichment strategies
patrykkopycinski Mar 20, 2026
2914a8f
Remove EnrichmentRegistry exports
patrykkopycinski Mar 20, 2026
d197289
Complete workflow-only architecture: Add stages 4-5 as workflow steps
patrykkopycinski Mar 20, 2026
2ff7424
Fix JSDoc comment syntax in workflow definition
patrykkopycinski Mar 20, 2026
b0a9cde
Escape template literals in workflow config strings
patrykkopycinski Mar 20, 2026
18ac5f2
Fix all template literal escaping in workflow config
patrykkopycinski Mar 20, 2026
368ecd7
Run eslint fixes on workflow files
patrykkopycinski Mar 20, 2026
574660f
Fix linting: Remove console statements, add proper Logger type
patrykkopycinski Mar 20, 2026
68e54b6
Simplify workflow file - remove unused registration function, keep cl…
patrykkopycinski Mar 20, 2026
1a6f1ad
Remove unused imports from workflow definition file - all validation …
patrykkopycinski Mar 20, 2026
066b521
Fix batch 1: Remove ELSER dead code, add DRY utility, fix bulk errors…
patrykkopycinski Mar 21, 2026
21279e7
Fix batch 2: Logger adapter, case matching optimization, entity valid…
patrykkopycinski Mar 21, 2026
89c627e
Fix batch 3: Complete README documentation with workflow limitations
patrykkopycinski Mar 21, 2026
56a2210
Remove documentation file - docs not requested for this PR
patrykkopycinski Mar 21, 2026
64e459c
Add native Elastic Stack capabilities integration
patrykkopycinski Mar 21, 2026
3521fe0
Implement Entity Store + Complete ELSER semantic deduplication
patrykkopycinski Mar 21, 2026
4e463ee
Complete implementation: Error tests + Workflow validation + ai.agent…
patrykkopycinski Mar 21, 2026
e686e7f
Add Agent Builder tools and skill for Alert Investigation Pipeline
patrykkopycinski Mar 25, 2026
1c4d658
Remove README.md - no docs unless explicitly requested
patrykkopycinski Mar 25, 2026
e6de94e
Refactor Agent Builder tools to use shared logic + add 32 unit tests
patrykkopycinski Mar 25, 2026
b62576c
Add run_investigation_pipeline tool for full E2E workflow as skill
patrykkopycinski Mar 25, 2026
f9793ec
Move Agent Builder tools to skill-scoped inline tools
patrykkopycinski Mar 25, 2026
f19bd0c
Remove custom UI, API routes, and Scout tests
patrykkopycinski Mar 25, 2026
bff724a
Remove dead code: unused workflows, helpers, and feature flag constant
patrykkopycinski Mar 25, 2026
cbf26c0
Revert "Remove dead code: unused workflows, helpers, and feature flag…
patrykkopycinski Mar 25, 2026
f0e2712
Remove dead code: unused workflows, helpers, and feature flag constant
patrykkopycinski Mar 25, 2026
bb6464a
Remove dead metrics module, README, and revert whitespace-only changes
patrykkopycinski Mar 25, 2026
64e23f0
Fix runtime bug: make EntityExtractionConfig optional with default
patrykkopycinski Mar 25, 2026
a1b1ef7
Fix workflow step input schemas to handle liquid template serialization
patrykkopycinski Mar 25, 2026
396c35d
Fix liquid template serialization for ALL workflow steps
patrykkopycinski Mar 25, 2026
08205d7
Fix tag step: use bulk index param, filter empty IDs
patrykkopycinski Mar 25, 2026
6f7ff88
Fix all macroscopeapp review comments (10 issues)
patrykkopycinski Mar 25, 2026
ca59777
Implement case matching step with entity-based alert grouping
patrykkopycinski Mar 25, 2026
775519f
Fix tag step: use update_by_query instead of bulk with IDs
patrykkopycinski Mar 25, 2026
44146a3
Fix tag step: remove body wrapper, fix painless null checks
patrykkopycinski Mar 25, 2026
0e3b8af
Add alert_groups output for forEach case creation + fix tag step
patrykkopycinski Mar 25, 2026
d33f28f
Fix duplicate alertGroups variable declaration
patrykkopycinski Mar 25, 2026
e965083
Rewrite case matching step to fetch entities directly
patrykkopycinski Mar 25, 2026
eb25447
Make all workflow steps self-contained (no liquid template arrays)
patrykkopycinski Mar 25, 2026
b0a0a81
Fix duplicate 'result' variable in dedup step handler
patrykkopycinski Mar 25, 2026
f16e9e6
Revert to fetch→pass IDs design (liquid handles 1000 IDs fine)
patrykkopycinski Mar 25, 2026
bb5e548
Update tag step tests for updateByQuery + fix all validation
patrykkopycinski Mar 26, 2026
8281db9
Use asInternalUser for tag step writes + forEach JSON workaround
patrykkopycinski Mar 26, 2026
21235ad
Fix forEach + tag step: JSON workaround + asInternalUser
patrykkopycinski Mar 26, 2026
9d0bd0b
Fix tag step to use getScopedEsClient + add alert_groups_json output
patrykkopycinski Mar 26, 2026
c73baf1
Fix critical bug: workflow engine does NOT run Zod transforms at runtime
patrykkopycinski Mar 26, 2026
4df2e7b
Add debug logging to dedup step input parsing
patrykkopycinski Mar 26, 2026
4a1043a
Fix parseArrayInput to flatten nested arrays from Zod transform
patrykkopycinski Mar 26, 2026
c628534
temp: debug logging for parseArrayInput
patrykkopycinski Mar 26, 2026
0ca4658
Fix parseArrayInput: handle Zod-wrapped JSON string in single-element…
patrykkopycinski Mar 26, 2026
9b1c4a6
Fix getNestedValue to support ES flat dotted keys
patrykkopycinski Mar 26, 2026
deec90d
Fix tag step: add conflicts=proceed to updateByQuery
patrykkopycinski Mar 26, 2026
8968503
Redesign trigger_ad step for per-case execution inside forEach
patrykkopycinski Mar 26, 2026
7715f18
Generate AD summary from alert metadata and attach to case
patrykkopycinski Mar 26, 2026
6507bc1
Return summary for all cases including below-threshold ones
patrykkopycinski Mar 26, 2026
9b748dc
Call real AD generation API when connector_id is provided
patrykkopycinski Mar 26, 2026
f647538
Fetch anonymization fields + fix actionTypeId for AD API call
patrykkopycinski Mar 26, 2026
1320cdc
Fix AD API call: add replacements, fix size minimum, handle async res…
patrykkopycinski Mar 26, 2026
b3ec433
Improve AD case comment with execution details table
patrykkopycinski Mar 26, 2026
ca41608
Add incremental case matching — attach to existing cases
patrykkopycinski Mar 26, 2026
60bd4af
Incremental AD: fetch previous case AD comments as context
patrykkopycinski Mar 26, 2026
1a562ac
Remove dead code: case_integration, incremental_processor, build_case…
patrykkopycinski Mar 26, 2026
1ca12f8
Implement dedup threshold tuning, fix ELSER, add scheduled trigger
patrykkopycinski Mar 26, 2026
4548353
Add WorkflowInitService: lazy per-space workflow creation + self-healing
patrykkopycinski Mar 26, 2026
0dab487
Remove dead code, deduplicate getNestedValue, simplify types
patrykkopycinski Mar 26, 2026
ab7cec3
Align Cases steps with PR #256922, replace fetch() with cases.findCases
patrykkopycinski Mar 27, 2026
1665f07
Fix ELSER over-clustering, add demo tooling, register alert-investiga…
patrykkopycinski Mar 30, 2026
6f15d68
Use real AD API with deep linking, remove fake metadata AD fallback
patrykkopycinski Mar 30, 2026
4e9bfdd
Fix AD deep linking: filter by generation_uuid, not alert_ids
patrykkopycinski Mar 30, 2026
20b92b5
Set syncAlerts:false, add connector_id const, remove fake AD fallback
patrykkopycinski Mar 30, 2026
894203b
Update case title/description from AD findings after generation
patrykkopycinski Mar 30, 2026
3dc4880
Use ${{ }} for native type preservation, remove Liquid JSON workarounds
patrykkopycinski Mar 31, 2026
34c60f7
Fix inconsistent DEFAULT_ENTITY_EXTRACTION_CONFIG
patrykkopycinski Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 5 additions & 195 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,195 +1,5 @@
.aws-config.json
.signing-config.json
.ackrc
/.es
/.chromium
.DS_Store
.node_binaries
/.beats
.native_modules
node_modules
!/src/dev/npm/integration_tests/__fixtures__/fixture1/node_modules
!/src/dev/notice/__fixtures__/node_modules
!/src/platform/packages/private/kbn-import-resolver/src/__fixtures__/node_modules
!/src/platform/packages/private/kbn-import-resolver/src/__fixtures__/packages/box/node_modules
trash
/optimize
/built_assets
target
/build
.jruby
.idea
.claude/*.local.json
.claude/worktrees/
.cursor
!x-pack/solutions/security/.cursor
!x-pack/solutions/security/test/security_solution_cypress/.cursor/
.windsurf
*.iml
*.log
types.eslint.config.js
types.eslint.config.cjs
__tmp__

# Ignore example plugin builds
/examples/*/build
/x-pack/examples/*/build

# Ignore certain functional test runner artifacts
/src/platform/test/*/failure_debug
/src/platform/test/*/screenshots/diff
/src/platform/test/*/screenshots/failure
/src/platform/test/*/screenshots/session
/src/platform/test/*/screenshots/visual_regression_gallery.html

# Ignore the same artifacts in x-pack/platform and and x-pack/solutions/*/test
/x-pack/**/test/*/failure_debug
/x-pack/**/test/*/screenshots/diff
/x-pack/**/test/*/screenshots/failure
/x-pack/**/test/*/screenshots/session
/x-pack/**/test/*/screenshots/visual_regression_gallery.html
/x-pack/**/test/functional/apps/*/*/reporting/reports/failure

# Ignore the same artifacts in x-pack/platform/test/serverless and x-pack/solutions/*/test/serverless
/x-pack/**/test/serverless/*/failure_debug
/x-pack/**/test/serverless/*/screenshots/diff
/x-pack/**/test/serverless/*/screenshots/failure
/x-pack/**/test/serverless/*/screenshots/session
/x-pack/**/test/serverless/*/screenshots/visual_regression_gallery.html
/x-pack/**/test/serverless/functional/test_suites/*/*/reporting/reports/failure

/html_docs
.eslintcache
/plugins/
/data
disabledPlugins
webpackstats.json
/config/*
!/config/kibana.yml
!/config/README.md
!/config/serverless.yml
!/config/serverless.es.yml
!/config/serverless.workplaceai.yml
!/config/serverless.oblt.yml
!/config/serverless.oblt.complete.yml
!/config/serverless.oblt.logs_essentials.yml
!/config/serverless.security.yml
!/config/serverless.security.essentials.yml
!/config/serverless.security.complete.yml
!/config/serverless.security.search_ai_lake.yml
!/config/node.options
coverage
!/src/platform/test/common/fixtures/plugins/coverage
selenium
.babel_register_cache.json
.webpack.babelcache
*.swp
*.swo
*.swn
*.out
package-lock.json
!/.buildkite/package-lock.json
.yo-rc.json
.vscode
*.sublime-*
npm-debug.log*
.tern-project
.nyc_output
.gradle
.vagrant
.envrc

# @kbn/evals vault config (local-only; never commit real secrets)
/x-pack/platform/packages/shared/kbn-evals/scripts/vault/config.json

## Snyk
.dccache

## @cypress/snapshot from apm plugin
/snapshots.js
/apm-diagnostics*.json
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.actual.png
/x-pack/solutions/observability/plugins/apm/ftr_e2e/cypress/e2e/service_map/snapshots/*.diff.png

# transpiled cypress config
x-pack/platform/plugins/shared/fleet/cypress.config.d.ts
x-pack/platform/plugins/shared/fleet/cypress.config.js
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.d.ts
x-pack/platform/plugins/shared/fleet/cypress.config.space_awareness.js
x-pack/platform/plugins/shared/fleet/cypress_ci.config.d.ts
x-pack/platform/plugins/shared/fleet/cypress_ci.config.js
x-pack/platform/plugins/shared/fleet/cypress_ci.config.space_awareness.d.ts
x-pack/platform/plugins/shared/fleet/cypress_ci.config.space_awareness.js
x-pack/platform/plugins/shared/osquery/cypress.config.d.ts
x-pack/platform/plugins/shared/osquery/cypress.config.js
x-pack/solutions/search/plugins/enterprise_search/cypress.config.d.ts
x-pack/solutions/search/plugins/enterprise_search/cypress.config.js
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.d.ts
x-pack/solutions/security/plugins/security_solution/public/management/cypress.config.js
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.d.ts
x-pack/solutions/security/plugins/security_solution/public/management/cypress_endpoint.config.js

# release notes script output
report.csv
report.asciidoc

# TS incremental build cache
*.tsbuildinfo

# Automatically generated and user-modifiable
/tsconfig.refs.json
*.type_check.json

# Yarn local mirror content
.yarn-local-mirror

# Bazel | TODO: Remove later
.ijwb
/bazel
/bazel-*
.bazelrc.user
.bazelrc.cache

elastic-agent-*
fleet-server-*
elastic-agent.yml
fleet-server.yml
src/platform/packages/**/package-map.json
/packages/**/config-paths.json
/packages/kbn-synthetic-package-map/
**/.synthetics/
**/.journeys/
**/.rca/
x-pack/platform/test/security_api_integration/plugins/audit_log/audit.log
x-pack/test

# ignore FTR temp directory
.ftr
role_users.json

# ignore Scout temp directory
.scout

# Playwright
**/test-results/.last-run.json

.devcontainer/.env

# Ignore temporary files in oas_docs
oas_docs/output/kibana.serverless.tmp*.yaml
oas_docs/output/kibana.tmp*.yaml
oas_docs/output/kibana.new.yaml
oas_docs/output/kibana.serverless.new.yaml
oas_docs/bundle.json
oas_docs/bundle.serverless.json

.codeql
.dependency-graph-log.json

# Ignore the one-console translations build output folder
src/platform/plugins/shared/console/packaging/react/translations

.moon/cache

# Batched commits marker, e.g.: from quick checks
.collect_commits_marker
# Deep review documentation (local only)
PR_DEEP_REVIEW_FINDINGS.md
DEEP_REVIEW_FIXES_COMPLETE.md
NATIVE_CAPABILITIES_DISCOVERED.md
REFACTORING_COMPLETE.md
Loading
Loading