Skip to content

fix(filters): AWS normalization and rule contracts - #2596

Closed
rvald26 wants to merge 1 commit into
utmstack:v11from
rvald26:codex/v11-aws-contracts
Closed

rvald26 wants to merge 1 commit into
utmstack:v11from
rvald26:codex/v11-aws-contracts

Conversation

@rvald26

@rvald26 rvald26 commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Problem and behavior

Promote actor, valid source IP and event time while retaining vendor fields read by rules.

This draft contains AWS only: 1 filter changes and 0 correlation-rule changes, plus its own review notes and regression manifest. Reviewed 1 filter configurations and all 73 matching shipped rules; unchanged rules remain outside the diff.

Verification

  • Exact standard names/types were checked against the supplied UTMStack dictionaries and go-sdk v1.1.31. Pipeline/rename semantics, afterEvents, custom log.* fields and alert-side grouping follow the SDK wiki.
  • Strict SDK decoding, explicit output/search/grouping field checks and actual CEL compilation pass for this technology.
  • 2 synthetic normalization cases pass with final SDK Event conversion and the trigger assertions listed in the manifest.
  • This independent branch passes the scoped alerts-module tests with the shared runner temporarily applied; git diff --check passes.
  • The combined local integration of all technology fixes passes the full 36-filter/635-rule contract suite and 172 normalization cases.

Read filters/audits/aws.md for scope and source-specific qualifications. Fixtures: plugins/alerts/testdata/filter-contracts/aws.json.

Dependencies and validation limits

Shared test runner: #2590. Apply it before relying on go test ./... in plugins/alerts to execute this JSON manifest.

Tests start with synthetic extraction results and model normalization, using the real SDK CEL/protobuf. Complex raw-log extraction, dynamic plugins and historical OpenSearch alert generation still need staging validation. This is not a measured reduction in customer alert volume. Review custom rules that consume legacy outcome/severity values before any rollout.

Base: utmstack/UTMStack v11. Leave as draft for team review. No merge, auto-merge, or production deployment. Split from the audit in #2589.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant