feat(faro): Add exports and projections - #3405
Conversation
…h tokens Treat skipped database probes as optional and surface detailed auth or database failures for actionable diagnostics. BREAKING CHANGE: OIDC refresh is now opt-in; pass --refresh to spend a single-use refresh token. Claude-Session-Id: 4ee06f93-f1d6-414c-8cbd-3199fd82c1f3
Separate credentials from config.json and protect rotating refresh-token exchanges with atomic writes and cross-process locking. Persist the selected file or OS keychain backend, migrate legacy inline secrets, cache OIDC endpoints, and mark terminal invalid_grant failures for re-authentication.
Extract boolean flag and server-side filter parsing into clientcmd so catalog and access commands share one implementation. This removes duplicated parsing logic and keeps defaults and filter labels consistent.
Add remote access auditing for permissions, users, groups, roles, sign-in logs, and reviews with MatchItem filtering, rollups, group expansion, and machine-readable exports. Normalize filter middleware to preserve case-insensitive alternatives, exclusions, repeated values, and malformed-filter errors.
Make faro version output identify the source revision, build time, toolchain, platform, and dirty state across stamped and direct Go builds. Add a machine-local build and install workflow with an overridable destination.
Split oversized access-filter requests into bounded batches while preserving merged ordering, limits, and totals. Return malformed search filters as structured JSON bad requests for consistent client handling.
Make authentication diagnostics validate refreshed OIDC credentials by default. This changes whoami to consume single-use refresh tokens unless disabled explicitly. BREAKING CHANGE: whoami now refreshes OIDC tokens by default
…tics Provide governance consumers with deterministic identity-register exports containing external users, memberships, and access grants. Bound each whoami endpoint attempt independently and report all failed candidates, making authentication failures actionable.
Add configurable identity classification, canonical workload principals, schema-safe contact handling, and projection warnings to access exports. Introduce multi-context by-user access reports with register owner folding, people filtering, and detail views.
Add multi-document Projection manifests with CEL-based source queries, target matching, JSONPath mappings, validation, dry runs, and YAML updates. Support config, identity-access, and permission-change projections while preventing incomplete bounded audit results. Extend the SDK with filtered catalog-change listing and exact totals, plus fixtures and focused tests.
|
Warning Review limit reached
Next review available in: 16 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (81)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
What
Why