{"type":"flopack","version":"1.5.0","created":"2026-04-13T17:21:35.084Z","flags":{"auto-transform":true,"looseBooleans":true,"looseStrings":true,"looseNulls":true},"data":{"flos":{"8affd85c-3add-4b2e-81cc-8df6665b411f":{"id":"8affd85c-3add-4b2e-81cc-8df6665b411f","name":"Username Discrepancy Audit - Main","description":"Scheduled daily scan: detects Okta email/username mismatches and app UPN drift, logs to table, emails summary.","data":{"id":null,"uuid":"8affd85c-3add-4b2e-81cc-8df6665b411f","display":{"preview":[{"module":"control","name":"callable","kernel":true},{"module":"okta","name":"listUsersWithSearch","kernel":false},{"module":"control","name":"comment","kernel":true},{"module":"list","name":"each","kernel":true},{"module":"control","name":"comment","kernel":true},{"module":"stash","name":"searchRows2","kernel":false},{"module":"list","name":"length","kernel":true},{"module":"control","name":"continueIf","kernel":true},{"module":"string","name":"compose","kernel":true},{"module":"gmail","name":"sendEmail","kernel":false}],"isCallable":true,"eventConnecterName":"Scheduled Flow"},"tree":{"id":2,"name":"empty","description":"This flow has been build w/o a tree and uses the newer, async, Addressing module."},"methods":[{"joins":{},"address":"root:kernel:control:0.0.1:callable","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"ZIiBOB_Y6","branches":{},"node":{"key":"callable","data":{"name":"Helper Flow"},"model":{"type":"method","_v":2,"key":"callable","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":true,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Helper Flow","description":"Start a Flow that executes on-demand, i.e. called by another Flow or via the Invoke API."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"groupRules":{"body":{"type":"object","reserved":{},"extensible":true},"headers":{"type":"object","reserved":{"Content-Type":"string"},"extensible":true},"query":{"type":"object","reserved":{},"extensible":true}},"data":{"odJFCrnl2":{"id":"odJFCrnl2","group":"context","key":"index","value":{"error":false,"type":"number","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Index","index":0},"required":false,"flags":"d"},"5Jau2RJtB":{"id":"5Jau2RJtB","group":"context","key":"parent","value":{"error":false,"type":{"id":{"type":"string","collection":false},"method":{"type":"string","collection":false},"name":{"type":"string","collection":false},"execution_id":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Caller","index":1,"collapsed":true},"required":false,"flags":"d"},"6pWkLUyif":{"id":"6pWkLUyif","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":2,"collapsed":true},"required":false,"flags":"d"},"uVTAIjvFu":{"id":"uVTAIjvFu","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":3},"required":false,"flags":"d"}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"edlBDdz1C":{"id":"edlBDdz1C","group":"context","key":"index","value":{"error":false,"type":"number","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Index","index":0}},"RnlWmTSHf":{"id":"RnlWmTSHf","group":"context","key":"parent","value":{"error":false,"type":{"id":{"type":"string","collection":false},"method":{"type":"string","collection":false},"name":{"type":"string","collection":false},"execution_id":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Caller","index":1,"collapsed":true}},"DLkDmWJ6U":{"id":"DLkDmWJ6U","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":2,"collapsed":true}},"7WICPhDeO":{"id":"7WICPhDeO","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":3}}}}}}},{"joins":{},"address":"root:channels:http:okta:1.0.712:listUsersWithSearch","parents":{"version":{"address":"root:channels:http:okta:1.0.712","key":"1.0.712","data":{"name":"1.0.712","id":183}},"channel":{"address":"root:channels:http:okta","key":"okta","data":{"name":"okta","id":17}}},"uuid":"sHrFH2ZUC","branches":{},"node":{"key":"listUsersWithSearch","data":{"name":"List Users with Search"},"model":{"type":"method","_v":2,"key":"listUsersWithSearch","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"List Users with Search","description":null},"meta":{},"config":"b859274f-3528-41ef-b4bf-57dd1587d024","partnerChannelKeys":100,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"r_lgotu2i","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Comment","description":"For each active user, invoke the discrepancy check helper flow"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:list:0.0.1:each","parents":{"version":{"address":"root:kernel:list:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:list","key":"list","data":{"name":"list"}}},"uuid":"XW7GboIRo","branches":{},"node":{"key":"each","data":{"name":"For Each"},"model":{"type":"method","_v":2,"key":"each","executable":false,"displayed":true,"async":true,"cooperative":true,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"For Each","description":"Invokes Check User Discrepancies for every user in the list"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"L3u6aHwnM","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Comment","description":"After scan: summarize today's discrepancies and notify owner"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:channels:http:stash:0.7.103:searchRows2","parents":{"version":{"address":"root:channels:http:stash:0.7.103","key":"0.7.103","data":{"name":"0.7.103","id":151}},"channel":{"address":"root:channels:http:stash","key":"stash","data":{"name":"stash","id":18}}},"uuid":"ztVuaP-co","branches":{},"node":{"key":"searchRows2","data":{"name":"Search Rows"},"model":{"type":"method","_v":2,"key":"searchRows2","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Search Rows","description":null},"meta":{},"config":null,"partnerChannelKeys":100,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:list:0.0.1:length","parents":{"version":{"address":"root:kernel:list:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:list","key":"list","data":{"name":"list"}}},"uuid":"UNEhEkk-i","branches":{},"node":{"key":"length","data":{"name":"Length"},"model":{"type":"method","_v":2,"key":"length","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Length","description":""},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:continueIf","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"qq8vH2BzN","branches":{},"node":{"key":"continueIf","data":{"name":"Continue If"},"model":{"type":"method","_v":2,"key":"continueIf","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Continue If","description":"Stop here if no discrepancies were found"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:string:0.0.1:compose","parents":{"version":{"address":"root:kernel:string:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:string","key":"string","data":{"name":"string"}}},"uuid":"ZV45pFCiR","branches":{},"node":{"key":"compose","data":{"name":"Compose"},"model":{"type":"method","_v":2,"key":"compose","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Compose","description":""},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:channels:http:gmail:1.0.118:sendEmail","parents":{"version":{"address":"root:channels:http:gmail:1.0.118","key":"1.0.118","data":{"name":"1.0.118","id":200}},"channel":{"address":"root:channels:http:gmail","key":"gmail","data":{"name":"gmail","id":25}}},"uuid":"cDCajhDie","branches":{},"node":{"key":"sendEmail","data":{"name":"Send Email"},"model":{"type":"method","_v":2,"key":"sendEmail","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Send Email","description":null},"meta":{},"config":"944ac6ab-110a-44e4-b43b-f9b02ea22a0a","partnerChannelKeys":200,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}}],"orderings":{"QjEJ-Bq8F":["ZIiBOB_Y6","sHrFH2ZUC"],"80ymm3T20":["sHrFH2ZUC","r_lgotu2i"],"7gmhZRnFy":["r_lgotu2i","XW7GboIRo"],"y5r2xJ7Fj":["XW7GboIRo","L3u6aHwnM"],"4mgblEv0-":["L3u6aHwnM","ztVuaP-co"],"9BZhvWaXH":["ztVuaP-co","UNEhEkk-i"],"6K2-tyLBh":["UNEhEkk-i","qq8vH2BzN"],"hOhg9uhkx":["qq8vH2BzN","ZV45pFCiR"],"iiEZpFfk1":["ZV45pFCiR","cDCajhDie"]},"cron":{"seconds":"00","minutes":"0","hours":"7","dayOfTheMonth":"*/1","month":"*","dayOfTheWeek":"*","startDate":"","endDate":"","recurrence":0,"timeZone":"America/New_York"},"scheduled":true}},"4677663a-c609-43b0-a213-89d6222334bd":{"id":"4677663a-c609-43b0-a213-89d6222334bd","name":"Helper - Check User Discrepancies","description":"Given a User ID: compare email vs login, and fan out to per-app UPN check.","data":{"id":null,"uuid":"4677663a-c609-43b0-a213-89d6222334bd","display":{"preview":[{"module":"control","name":"callable","kernel":true},{"module":"okta","name":"readUser","kernel":false},{"module":"control","name":"comment","kernel":true},{"module":"boolean","name":"compare","kernel":true},{"module":"control","name":"comment","kernel":true},{"module":"control","name":"ifElse","kernel":true},{"module":"stash","name":"createRow","kernel":false},{"module":"control","name":"comment","kernel":true},{"module":"okta","name":"listApplicationsAssignedToUser","kernel":false},{"module":"list","name":"each","kernel":true}],"isCallable":true,"eventConnecterName":"Helper Flow"},"tree":{"id":2,"name":"empty","description":"This flow has been build w/o a tree and uses the newer, async, Addressing module."},"methods":[{"joins":{},"address":"root:kernel:control:0.0.1:callable","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"Q0FIunWe8","branches":{},"node":{"key":"callable","data":{"name":"Helper Flow"},"model":{"type":"method","_v":2,"key":"callable","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":true,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Helper Flow","description":"Start a Flow that executes on-demand, i.e. called by another Flow or via the Invoke API."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"groupRules":{"body":{"type":"object","reserved":{},"extensible":true},"headers":{"type":"object","reserved":{"Content-Type":"string"},"extensible":true},"query":{"type":"object","reserved":{},"extensible":true}},"data":{"OHAOEHYqM":{"id":"OHAOEHYqM","group":"context","key":"index","value":{"error":false,"type":"number","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Index","index":0},"required":false,"flags":"d"},"qSiFVKu4M":{"id":"qSiFVKu4M","group":"context","key":"parent","value":{"error":false,"type":{"id":{"type":"string","collection":false},"method":{"type":"string","collection":false},"name":{"type":"string","collection":false},"execution_id":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Caller","index":1,"collapsed":true},"required":false,"flags":"d"},"KARAH-Ggl":{"id":"KARAH-Ggl","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":2,"collapsed":true},"required":false,"flags":"d"},"2bojteVs3":{"id":"2bojteVs3","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":3},"required":false,"flags":"d"},"T0tEuw0dw":{"id":"T0tEuw0dw","group":null,"key":"User ID","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo"]},"ref":false,"metadata":{"index":4,"custom":true},"required":false,"flags":"d","_used":true}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"6Ojb6mjBH":{"id":"6Ojb6mjBH","group":"context","key":"index","value":{"error":false,"type":"number","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Index","index":0}},"bMnrHontI":{"id":"bMnrHontI","group":"context","key":"parent","value":{"error":false,"type":{"id":{"type":"string","collection":false},"method":{"type":"string","collection":false},"name":{"type":"string","collection":false},"execution_id":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Caller","index":1,"collapsed":true}},"2JfaQqHu4":{"id":"2JfaQqHu4","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":2,"collapsed":true}},"qfNUfTAFn":{"id":"qfNUfTAFn","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":3}}}}}}},{"joins":{},"address":"root:channels:http:okta:1.0.712:readUser","parents":{"version":{"address":"root:channels:http:okta:1.0.712","key":"1.0.712","data":{"name":"1.0.712","id":183}},"channel":{"address":"root:channels:http:okta","key":"okta","data":{"name":"okta","id":17}}},"uuid":"Cz6SNDCdy","branches":{},"node":{"key":"readUser","data":{"name":"Read User"},"model":{"type":"method","_v":2,"key":"readUser","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Read User","description":null},"meta":{},"config":"b859274f-3528-41ef-b4bf-57dd1587d024","partnerChannelKeys":100,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"ZQJiJSZQd","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Comment","description":"Compare profile.email against profile.login"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:boolean:0.0.1:compare","parents":{"version":{"address":"root:kernel:boolean:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:boolean","key":"boolean","data":{"name":"boolean"}}},"uuid":"oHwHen3SO","branches":{},"node":{"key":"compare","data":{"name":"Compare"},"model":{"type":"method","_v":2,"key":"compare","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Compare","description":""},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"3oXyGf3az","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Comment","description":"If mismatch, write an email_vs_username row"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:ifElse","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"U3iQOpMN0","branches":{},"node":{"key":"ifElse","data":{"name":"If/Else"},"model":{"type":"method","_v":2,"key":"ifElse","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"If/Else","description":""},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:channels:http:stash:0.7.103:createRow","parents":{"version":{"address":"root:channels:http:stash:0.7.103","key":"0.7.103","data":{"name":"0.7.103","id":151}},"channel":{"address":"root:channels:http:stash","key":"stash","data":{"name":"stash","id":18}}},"uuid":"PZLqy1WwM","branches":{},"node":{"key":"createRow","data":{"name":"Create Row"},"model":{"type":"method","_v":2,"key":"createRow","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Create Row","description":null},"meta":{},"config":null,"partnerChannelKeys":100,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"ZaMKA3P74","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Comment","description":"Now scan every app assignment for UPN drift"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:channels:http:okta:1.0.712:listApplicationsAssignedToUser","parents":{"version":{"address":"root:channels:http:okta:1.0.712","key":"1.0.712","data":{"name":"1.0.712","id":183}},"channel":{"address":"root:channels:http:okta","key":"okta","data":{"name":"okta","id":17}}},"uuid":"4B8vkKQlE","branches":{},"node":{"key":"listApplicationsAssignedToUser","data":{"name":"List Applications Assigned to User"},"model":{"type":"method","_v":2,"key":"listApplicationsAssignedToUser","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"List Applications Assigned to User","description":null},"meta":{},"config":"b859274f-3528-41ef-b4bf-57dd1587d024","partnerChannelKeys":100,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:list:0.0.1:each","parents":{"version":{"address":"root:kernel:list:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:list","key":"list","data":{"name":"list"}}},"uuid":"NCzsdfF8j","branches":{},"node":{"key":"each","data":{"name":"For Each"},"model":{"type":"method","_v":2,"key":"each","executable":false,"displayed":true,"async":true,"cooperative":true,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"For Each","description":"Invokes Check App UPN helper for each assigned app"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}}],"orderings":{"61yX_ZFsa":["Q0FIunWe8","Cz6SNDCdy"],"n2Cw7gFp6":["Cz6SNDCdy","ZQJiJSZQd"],"r7O425u85":["ZQJiJSZQd","oHwHen3SO"],"HFJ-EJ4jK":["oHwHen3SO","3oXyGf3az"],"EIQOkrtDX":["3oXyGf3az","U3iQOpMN0"],"tBi10Q71h":["U3iQOpMN0","PZLqy1WwM"],"A1XcW9aTM":["PZLqy1WwM","ZaMKA3P74"],"X1C-CI3-d":["ZaMKA3P74","4B8vkKQlE"],"XRZv7qdYd":["4B8vkKQlE","NCzsdfF8j"]},"cron":{},"scheduled":false}},"f061bfdb-56a3-4157-aa5b-19a3d3fc52d9":{"id":"f061bfdb-56a3-4157-aa5b-19a3d3fc52d9","name":"Helper - Check App UPN","description":"Given a user + per-app assignment, compare Okta login to app userName and log drift.","data":{"id":null,"uuid":"f061bfdb-56a3-4157-aa5b-19a3d3fc52d9","display":{"preview":[{"module":"control","name":"callable","kernel":true},{"module":"control","name":"comment","kernel":true},{"module":"boolean","name":"compare","kernel":true},{"module":"control","name":"comment","kernel":true},{"module":"control","name":"ifElse","kernel":true},{"module":"stash","name":"createRow","kernel":false}],"isCallable":true,"eventConnecterName":"Helper Flow"},"tree":{"id":2,"name":"empty","description":"This flow has been build w/o a tree and uses the newer, async, Addressing module."},"methods":[{"joins":{},"address":"root:kernel:control:0.0.1:callable","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"6INGDpyOp","branches":{},"node":{"key":"callable","data":{"name":"Helper Flow"},"model":{"type":"method","_v":2,"key":"callable","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":true,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Helper Flow","description":"Start a Flow that executes on-demand, i.e. called by another Flow or via the Invoke API."},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"groupRules":{"body":{"type":"object","reserved":{},"extensible":true},"headers":{"type":"object","reserved":{"Content-Type":"string"},"extensible":true},"query":{"type":"object","reserved":{},"extensible":true}},"data":{"k2r7xgHWP":{"id":"k2r7xgHWP","group":"context","key":"index","value":{"error":false,"type":"number","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Index","index":0},"required":false,"flags":"d"},"8cgSCifdF":{"id":"8cgSCifdF","group":"context","key":"parent","value":{"error":false,"type":{"id":{"type":"string","collection":false},"method":{"type":"string","collection":false},"name":{"type":"string","collection":false},"execution_id":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Caller","index":1,"collapsed":true},"required":false,"flags":"d"},"GVvouNndN":{"id":"GVvouNndN","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":2,"collapsed":true},"required":false,"flags":"d"},"S2ViRb1-n":{"id":"S2ViRb1-n","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":3},"required":false,"flags":"d"},"3IPFlJ5F7":{"id":"3IPFlJ5F7","group":null,"key":"User ID","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo"]},"ref":false,"metadata":{"index":4,"custom":true},"required":false,"flags":"d","_used":true},"WRd_Px-BT":{"id":"WRd_Px-BT","group":null,"key":"Email","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo"]},"ref":false,"metadata":{"index":5,"custom":true},"required":false,"flags":"d","_used":true},"HRJJbykE0":{"id":"HRJJbykE0","group":null,"key":"Okta Username","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo"]},"ref":false,"metadata":{"index":6,"custom":true},"required":false,"flags":"d","_used":true},"-E8-5clLC":{"id":"-E8-5clLC","group":null,"key":"App Name","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo"]},"ref":false,"metadata":{"index":7,"custom":true},"required":false,"flags":"d","_used":true},"ZFNV8S2QT":{"id":"ZFNV8S2QT","group":null,"key":"App User Name","value":{"error":false,"type":"string","collection":false,"data":"","available":["string","number","boolean","Date","Array","object","file","flo"]},"ref":false,"metadata":{"index":8,"custom":true},"required":false,"flags":"d","_used":true}}},"outputs":{"extensible":true,"rules":{"*":{"types":["*"],"collection":"*"}},"data":{"B6PRWJ1Gk":{"id":"B6PRWJ1Gk","group":"context","key":"index","value":{"error":false,"type":"number","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Index","index":0}},"zctEq8oB7":{"id":"zctEq8oB7","group":"context","key":"parent","value":{"error":false,"type":{"id":{"type":"string","collection":false},"method":{"type":"string","collection":false},"name":{"type":"string","collection":false},"execution_id":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Caller","index":1,"collapsed":true}},"WYzjFnMpf":{"id":"WYzjFnMpf","group":"context","key":"error","value":{"error":false,"type":{"message":{"type":"string","collection":false},"method":{"type":"string","collection":false},"flo":{"type":"number","collection":false},"execution":{"type":"string","collection":false}},"collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Error","index":2,"collapsed":true}},"3U6t3wI97":{"id":"3U6t3wI97","group":"context","key":"execution_id","value":{"error":false,"type":"string","collection":false,"data":null,"available":[]},"ref":false,"metadata":{"displayname":"Execution ID","index":3}}}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"xyB9JKmyL","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Comment","description":"Compare Okta login to the per-app userName value"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:boolean:0.0.1:compare","parents":{"version":{"address":"root:kernel:boolean:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:boolean","key":"boolean","data":{"name":"boolean"}}},"uuid":"DUwMbqJfg","branches":{},"node":{"key":"compare","data":{"name":"Compare"},"model":{"type":"method","_v":2,"key":"compare","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Compare","description":""},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:comment","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"Lq-nbK894","branches":{},"node":{"key":"comment","data":{"name":"Comment"},"model":{"type":"method","_v":2,"key":"comment","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Comment","description":"On mismatch, record a username_vs_upn row"},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:kernel:control:0.0.1:ifElse","parents":{"version":{"address":"root:kernel:control:0.0.1","key":"0.0.1","data":{"name":"0.0.1"}},"channel":{"address":"root:kernel:control","key":"control","data":{"name":"control"}}},"uuid":"RxgG9oiZ-","branches":{},"node":{"key":"ifElse","data":{"name":"If/Else"},"model":{"type":"method","_v":2,"key":"ifElse","executable":false,"displayed":true,"async":false,"cooperative":false,"mirrored":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"If/Else","description":""},"meta":{},"config":null,"partnerChannelKeys":null,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}},{"joins":{},"address":"root:channels:http:stash:0.7.103:createRow","parents":{"version":{"address":"root:channels:http:stash:0.7.103","key":"0.7.103","data":{"name":"0.7.103","id":151}},"channel":{"address":"root:channels:http:stash","key":"stash","data":{"name":"stash","id":18}}},"uuid":"jgttMkFp1","branches":{},"node":{"key":"createRow","data":{"name":"Create Row"},"model":{"type":"method","_v":2,"key":"createRow","executable":true,"displayed":true,"async":true,"cooperative":false,"mirrored":false,"compat":false,"inlined":false,"dependencies":[],"timeout":30000,"idempotent":false,"monitor":false,"webhook":false,"webhookList":false,"webhookConditions":false,"mobile":false,"hooks":{},"policy":{"error":{"type":"finish"}},"metadata":{"id":null,"name":"Create Row","description":null},"meta":{},"config":null,"partnerChannelKeys":100,"inputs":{"extensible":false,"rules":{},"groupRules":{},"data":{}},"outputs":{"extensible":false,"rules":{},"data":{}}}}}],"orderings":{"CW54M2Nhm":["6INGDpyOp","xyB9JKmyL"],"ABHkuEwju":["xyB9JKmyL","DUwMbqJfg"],"a058LeDKK":["DUwMbqJfg","Lq-nbK894"],"6jDHz2oCt":["Lq-nbK894","RxgG9oiZ-"],"IsjhvNK4p":["RxgG9oiZ-","jgttMkFp1"]},"cron":{},"scheduled":false}}},"configs":{"b859274f-3528-41ef-b4bf-57dd1587d024":{"id":"b859274f-3528-41ef-b4bf-57dd1587d024","name":"Okta Connection","module":"okta","data":null},"944ac6ab-110a-44e4-b43b-f9b02ea22a0a":{"id":"944ac6ab-110a-44e4-b43b-f9b02ea22a0a","name":"Gmail Notifications","module":"gmail","data":null}},"tables":{"d3017581-ef19-47b8-8ab3-d37b9a66e1d1":{"id":"d3017581-ef19-47b8-8ab3-d37b9a66e1d1","name":"Username Discrepancies","description":"Audit log of Okta email/username and app UPN mismatches","data":{"class":"simple","group_id":"7ca05f29-2bb5-4c6b-a36a-ade1ebcdfb98","structure":[{"name":"Okta User ID","type":"str","default":null},{"name":"Email","type":"str","default":null},{"name":"Okta Username","type":"str","default":null},{"name":"App Name","type":"str","default":null},{"name":"App Username","type":"str","default":null},{"name":"Mismatch Type","type":"str","default":null},{"name":"Detected At","type":"dte","default":null}]}}},"groups":{"7ca05f29-2bb5-4c6b-a36a-ade1ebcdfb98":{"id":"7ca05f29-2bb5-4c6b-a36a-ade1ebcdfb98","data":{"name":"Username Discrepancy Audit","description":"","media_uri":"","path":""}}}}}