TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type.
(ctx context.Context, id uuid.UUID)
| 2773 | |
| 2774 | // TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type. |
| 2775 | func (q *querier) GetBoundaryLogByID(ctx context.Context, id uuid.UUID) (database.BoundaryLog, error) { |
| 2776 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceAuditLog); err != nil { |
| 2777 | return database.BoundaryLog{}, err |
| 2778 | } |
| 2779 | return q.db.GetBoundaryLogByID(ctx, id) |
| 2780 | } |
| 2781 | |
| 2782 | // TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type. |
| 2783 | func (q *querier) GetBoundarySessionByID(ctx context.Context, id uuid.UUID) (database.BoundarySession, error) { |
nothing calls this directly
no test coverage detected