ROX-31223: Track tailored profiles#19214
ROX-31223: Track tailored profiles#19214guzalv wants to merge 1 commit intomaster-base/gualvare/ROX-31229-tailored-profiles-protosfrom
Conversation
|
This change is part of the following stack: Change managed by git-spice. |
|
Skipping CI for Draft Pull Request. |
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- The new
ComplianceOperatorProfileV2construction for tailored profiles in the dispatcher largely duplicates the existingprotoProfilefields; consider refactoring into a shared helper so both V1 and V2 profiles stay in sync and reduce the chance of divergent behavior. - After adding
ComplianceOperatorProfileIsTailoredtooptions.go, double-check that the corresponding search mappings/indexing are wired up for this field so that queries against the new label actually filter onistailoredin Postgres.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The new `ComplianceOperatorProfileV2` construction for tailored profiles in the dispatcher largely duplicates the existing `protoProfile` fields; consider refactoring into a shared helper so both V1 and V2 profiles stay in sync and reduce the chance of divergent behavior.
- After adding `ComplianceOperatorProfileIsTailored` to `options.go`, double-check that the corresponding search mappings/indexing are wired up for this field so that queries against the new label actually filter on `istailored` in Postgres.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
Images are ready for the commit at 25fcdc8. To use with deploy scripts, first |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master-base/gualvare/ROX-31229-tailored-profiles-protos #19214 +/- ##
==========================================================================================
Coverage ? 49.52%
==========================================================================================
Files ? 2668
Lines ? 201478
Branches ? 0
==========================================================================================
Hits ? 99782
Misses ? 94244
Partials ? 7452
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Description
change me!
User-facing documentation
Testing and quality
Automated testing
How I validated my change
change me!