Skip to content

Add Kustomize detector line mapping#119

Draft
whitemerch wants to merge 17 commits into
chakib.hamie/kustomize_support_preprocessor_pr1from
chakib.hamie/kustomize_support_preprocessor_pr2
Draft

Add Kustomize detector line mapping#119
whitemerch wants to merge 17 commits into
chakib.hamie/kustomize_support_preprocessor_pr1from
chakib.hamie/kustomize_support_preprocessor_pr2

Conversation

@whitemerch
Copy link
Copy Markdown
Contributor

@whitemerch whitemerch commented Apr 24, 2026

Tip

This PR is best reviewed commit by commit.

Summary

  • add a dedicated Kustomize detector that maps findings back to direct sources, generator entries, and transformer patch references
  • add helper test wiring for subprocess kustomize rendering during detector package tests
  • connect detector mapping to vulnerability-line attribution in the engine path

Full design context and architecture details: #113

Test plan

  • go test ./pkg/detector/kustomize/... ./pkg/engine/... -count=1
  • $(go env GOPATH)/bin/golangci-lint run ./pkg/detector/kustomize/... ./pkg/engine/...

Notes

@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 Bot commented Apr 24, 2026

🎯 Code Coverage (details)
Patch Coverage: 53.39%
Overall Coverage: 47.10% (+0.30%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: d349b4e | Docs | Datadog PR Page | Give us feedback!

…ut inline values, and route resolver-diagnostic messages into the storage dedup key
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr1 branch from 7de9c87 to 3f3fd44 Compare April 29, 2026 09:01
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr2 branch from 4e3d18e to 8c3006a Compare April 29, 2026 11:16
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr1 branch from fe355ab to 0a92c0f Compare April 29, 2026 11:48
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr2 branch from 8c3006a to 2fbd2d9 Compare April 29, 2026 11:48
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr2 branch from 2fbd2d9 to d349b4e Compare April 29, 2026 11:54
@whitemerch whitemerch force-pushed the chakib.hamie/kustomize_support_preprocessor_pr1 branch from 0a92c0f to 601f8f4 Compare April 30, 2026 16:27
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