Recued
Menu
← Back to recipes

Clerk access hygiene digest

by recued-core v3 28 views

Use “Clerk access hygiene digest” in Recued. It provides a scheduled, read-only Clerk access governance digest.

How it works 30 steps

Inspect the data fetches, transforms, gates, and output this recipe runs.

Process (30 steps)
◆ users_raw recued-core.clerk.user.search
Search user on clerk
◆ user_count_raw recued-core.clerk.user.count
Count user on clerk
◆ sessions_raw recued-core.clerk.session.search
Search session on clerk
◆ orgs_raw recued-core.clerk.organization.search
Search organization on clerk
◆ invitations_raw recued-core.clerk.invitation.search
Search invitation on clerk
◆ roles_raw recued-core.clerk.organization.role.search
Search organization role on clerk
◆ permissions_raw recued-core.clerk.organization.permission.search
Search organization permission on clerk
■ defaults defaults
Apply defaults
■ session_count count
Count items in sessions
■ org_count count
Count items in orgs
■ invitation_count count
Count items in invitations
■ role_count count
Count items in roles
■ permission_count count
Count items in permissions
■ has_pending_invites compare
Check if invitation count is greater than 0
■ notify_enabled compare
Check if setting notify when pending invites equals true
■ should_notify all
Check if all conditions are true
◆ notify core.notification.send
Send notification
skip: step.should_notify not_equal true
■ user_rows slice
Take a subset of
■ session_rows slice
Take a subset of
■ org_rows slice
Take a subset of
■ invitation_rows slice
Take a subset of
■ role_rows slice
Take a subset of
■ permission_rows slice
Take a subset of
■ user_table to_table
Format results as a data table
■ session_table to_table
Format results as a data table
■ org_table to_table
Format results as a data table
■ invitation_table to_table
Format results as a data table
■ role_table to_table
Format results as a data table
■ permission_table to_table
Format results as a data table
■ card to_summary
Format results as a summary card
▼
Output
summary card
table user_table
table session_table
table org_table
table invitation_table
table role_table
table permission_table
Settings 10 configurable

Configurable at install. Defaults shown — change them anytime in Recued.

channels setting = [object Object]
end hour setting = 10
weekdays setting = 1,2,3,4,5
row limit setting = 20
start hour setting = 8
user query setting =
session status setting = active
invitation status setting = pending
organization query setting =
notify when pending invites setting = true

Uses (9 operations)

Triggers Time watch core.watch.time
Pack operation Search user on clerk recued-core.clerk.user.search
Pack operation Count user on clerk recued-core.clerk.user.count
Pack operation Search session on clerk recued-core.clerk.session.search
Pack operation Search organization on clerk recued-core.clerk.organization.search
Pack operation Search invitation on clerk recued-core.clerk.invitation.search
Pack operation Search organization role on clerk recued-core.clerk.organization.role.search
Pack operation Search organization permission on clerk recued-core.clerk.organization.permission.search
Notifications Send notification core.notification.send

Trust & control

What installing this recipe would let it do. Recued grants these permissions at install — review them there before approving.

Permissions it requires

Send notificationsRead your Clerk connection
Declared by the recipe — Recued grants these at install, where you review them before approving.

What it's allowed to do

Read Triggers core.watch.time read-only
Read Notifications core.notification.send external change

7 more aren't listed here. You'll see them at install.

Data it touches

SurfacesTriggersNotifications

About

Tags

clerk clerkidentityaccess-governanceuserssessionsorganizationsinvitationsrolespermissionsdigestnotificationpack:clerk

Details

30 steps 10 configurable settings recipe_id: access-hygiene-digest-clerk