mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-11 22:49:54 +00:00
* session-search[31]: replace needs_further_review bool with enum reason filter Replaces the optional bool needs_further_review filter on both SearchSessionSummariesParams and SearchSessionSummariesRequest with repeated NeedsReviewReason filter_needs_further_review_reasons, letting callers narrow results to sessions flagged for specific reasons rather than any-or-none. The access graph and public API protos are regenerated accordingly, and the enterprise service layer is updated to forward the new field. tctl recordings search replaces --[no-]needs-review with --review-reason, a Kingpin enum flag accepting individual reason names or all to match any flagged session. The valid values live in reviewReasonNames, a single map that drives both flag validation and proto enum conversion. A parity test asserts that reviewReasonNames contains exactly one entry per non-UNSPECIFIED NeedsReviewReason value, so adding a proto reason without wiring it into the CLI fails the test. * fix test * update docs