8000 feat: extend request logs with auth & DB info by ibetitsmike · Pull Request #17304 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

feat: extend request logs with auth & DB info #17304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Apr 15, 2025
Merged
Prev Previous commit
Next Next commit
changed field ordering
  • Loading branch information
ibetitsmike committed Apr 15, 2025
commit bd5104c2433ba1c2e9b3f1056bf375d568175030
8 changes: 4 additions & 4 deletions coderd/rbac/authz.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,17 @@ type Subject struct {
// It is not used in any functional way.
Email string

// Type indicates what kind of subject this is (user, system, provisioner, etc.)
// It is not used in any functional way, only for logging.
Type SubjectType

ID string
Roles ExpandableRoles
Groups []string
Scope ExpandableScope

// cachedASTValue is the cached ast value for this subject.
cachedASTValue ast.Value

// Type indicates what kind of subject this is (user, system, provisioner, etc.)
// It is not used in any functional way, only for logging.
Type SubjectType
}

// RegoValueOk is only used for unit testing. There is no easy way
Expand Down
Loading
0