ã¯ããã¦ã®Okta Workflowsã·ãªã¼ãº 第5å
ç¹å®ã®æ¡ä»¶ã«è©²å½ããã¦ã¼ã¶ãªã¹ãã®ä½æã¨ã¨ã¯ã¹ãã¼ã
ä»åã®ããã°ã§ã¯ãStatusãªã©ç¹å®ã®æ¡ä»¶ãæºãããã¦ã¼ã¶ã®ã¿æ½åºãããã®ä¸è¦§ã®ä½æã¨CSVã«ããã¨ã¯ã¹ãã¼ããè¡ãããã®ããã¼ã解説ãã¾ãã
Oktaã®ã¦ã¼ã¶ä¸è¦§ãã¨ã¯ã¹ãã¼ãããã ãã§ããã°ãæ¨æºã®Reportsæ©è½ã§äºè¶³ããå ´åãããããããã¾ããããä¾ãã°Oktaã®åæå°å ¥æã«ãä¸å®æéçµéå¾ãã¢ã«ã¦ã³ãã®æå¹å/Activationãå®æ½ãã¦ããªãã¦ã¼ã¶ã ãããªã¹ãåãããå ´åããç¹å¥ãªæ¨©éãä»ä¸ãããèå¥åã§ããã«ã¹ã¿ã ã®å±æ§å¤ãæã¤ã¦ã¼ã¶ããªã¹ãåãããå ´åãªã©ãç¹å®ã®æ¡ä»¶ã«ãããããã¦ã¼ã¶ã®ä¸è¦§ã欲ããå ´é¢ããããã¨æãã¾ãã
æ¬ããã°ã§ã¯ãã¦ã¼ã¶ã®æ¤ç´¢æ©è½ãç¨ãã¦ç¹å®ã®ã¦ã¼ã¶ã®æ½åºã¨ãªã¹ãä½æãããæçµçã«CSVãã¡ã¤ã«ã®ã¨ã¯ã¹ãã¼ããè¡ãã¾ã§ã®ããã¼ã®å®è£ æ¦è¦ã解説ãã¾ããå®å©ç¨ã®éã¯ã¨ã©ã¼ãã³ããªã³ã°ãªã©ãå¿ è¦ã«ãªãã¾ãããããã§ã¯æ¬è³ªçãªå¦çã«çµã£ã¦å®è£ ã解説ãã¾ãã
ããã¼ã®å®è£ æ¦è¦
ã¡ã¤ã³ããã¼ã«ã¦æ¡ä»¶ã«ãããããã¦ã¼ã¶ã®æ½åºãè¡ãããã«ãã¼ããã¼ã«ã¦ãªã¹ãã«å¿ è¦ãªæ å ±ã ããæ´ã«æ½åºãããã¼ãã«ã«æ¸ãåºãã¾ããæå¾ã«Exportãã¿ã³ã§ãã¼ãã«ã®å 容ãã¨ã¯ã¹ãã¼ãããæµãã¨ãªãã¾ãã
ä»åãç´¹ä»ããä¾ã§ã¯ãã¢ã«ã¦ã³ãä½æå¾ã«ã¦ã¼ã¶ãActivationã¡ã¼ã«ãã¯ãªãã¯ãã¦åæã»ããã¢ãããè¡ã£ã¦ããªã(ã¾ãã¯æä¾ããããã¹ã¯ã¼ãã§ãã°ã¤ã³ãã¦ããªã)ç¶æ ã§ããProvisioned statusã®è ãæ½åºãã¦ãæ°åãä¸é·ã®æ å ±ããªã¹ãåããããã¼ã¨ãªãã¾ãã
-
ãã¼ãã«ä½æ
ã¾ããæçµåºåçµæãä¿åãããã¼ãã«ãä½æãã¾ãã
åã«ã©ã ã¨ç¨éã¯ä¸è¨ã®è¡¨ã®éãã§ãã*autoã®ã«ã©ã ã«ã¤ãã¦ã¯å²æãã¾ãã
該å½ããã¦ã¼ã¶ã®å§ãåãã¡ã¼ã«ã¢ãã¬ã¹ãé¨ç½²ãä¸é·ãè¨è¼ãã¾ãã
ã«ã©ã å |
ãã£ã¼ã«ãã¿ã¤ã |
ç¨é (å ¥åå¤ã®æ¦è¦) |
lastName |
Text |
該å½ã¦ã¼ã¶ã®å§ |
firstName |
Text |
該å½ã¦ã¼ã¶ã®å |
|
Text |
該å½ã¦ã¼ã¶ã®ã¡ã¼ã«ã¢ãã¬ã¹ (Primary email) |
department |
Text |
該å½ã¦ã¼ã¶ã®é¨ç½² |
manager |
Text |
該å½ã¦ã¼ã¶ã®ä¸é· (ããã¼ã¸ã£) |
ãã®å®è£ ä¾ã§ã¯ãå¿ è¦æä½éã®å±æ§ããæ±ã£ã¦ã¾ããããå®éã®éç¨ã§å¿ è¦ã¨ãªãä»ã®å±æ§ã追å å¯è½ã§ããä¾ãã°ã¦ã¼ã¶ã®ä½ææ¥ãªã©ãåå¾ãã¦çµéæ¥æ°ãè¨æ¸¬ãããªã©ã
-
ã¡ã¤ã³ããã¼ã®ä½æ
Provisionedç¶æ
ã®ã¦ã¼ã¶ãæ½åºãããã®çµæããã«ãã¼ããã¼ã«æ¸¡ãã¾ãã
åStatusã®è©³ç´°ã¯ãã¡ããåç
§ãã ããã
Step 1ï¼ã¹ã±ã¸ã¥ã¼ã«ã«ããããã¼ã®å®æå®è¡
éå»ã®Okta Workflowsã·ãªã¼ãºã§ããã使ç¨ãã¦ãããããã¼ãæå®ããå¨æã§èªåèµ·åãããã¨ãã§ãã¾ãã
å©ç¨ã«ã¼ãï¼ Oktaã®Scheduled Flow
Step 2ï¼æçµåºåå ã®ãã¼ãã«ã®å 容ãã¯ãªã¢ (ååå®è¡å 容ã®åé¤)
å©ç¨ã«ã¼ãï¼ Tableã®Clear Table
Step 3: StatusãProvisionedã§ããã¦ã¼ã¶ãæ½åº
ãªãã·ã§ã³è¨å®ã«ã¦ãæ¡ä»¶ã«ãããããã¦ã¼ã¶ã®å
ãã©ã®ç¨åº¦ã®æ°ãçµæã¨ãã¦åºåããããé¸æã§ãã¾ãã1ã¤ã®ããã¼å
ã§å¦çãéããªããªãããã«ãFirst Matching RecordãFirst 200 Matching Recordsãªã©ãç¨æããã¦ãã¾ãã
ä»åã¯ãããããå
¨ä»¶(200件以ä¸)ããªã¹ãåããããã¼ã¨ãããããStream Matching Recordsãé¸æãã¾ãããã¡ãã®å ´åã¯ãå¾ãããçµæããã«ãã¼ããã¼ã¸æ¸¡ããããFlowé
ç®ã§æ¢åãã«ãã¼ããã¼ãé¸æãã¾ãããä»åã¯ã¾ã åå¨ãã¦ããªãã®ã§æ°è¦ä½æãã¾ãã詳細ã¯(3)ã¸ç¶ãã
å©ç¨ã«ã¼ãï¼ Oktaã®List Users with Search
-
ãã«ãã¼ããã¼ã®ä½æ
ã¡ã¤ã³ããã¼ãã渡ãããæ å ±(Record)ãããå¿ è¦ãªæ å ±ã ããæãåºãã¦ãã¼ãã«ã«æ¸ãè¾¼ã¿ã¾ãã
Step 1ï¼ã¡ã¤ã³ããã¼ããã®å¼ã³åºãç¨ã«ã¼ã
ã¡ã¤ã³ããã¼ããåãåãå¤æ°ãå®ç¾©ãã¾ãããä»åã¯é常ã¨ç°ãªãStreamingã使ç¨ãã¦ããã®ã§ããã¡ãã«è¨è¼ã®éãRecordã¨Stateãå®ç¾©ãã¾ãã
å©ç¨ã«ã¼ãï¼ Oktaã®Helper Flow (Add Eventã«ã¦é¸æ)
Step 2ï¼åå¾ããæ å ±ããå¿ è¦ãªãããã¯ãæ½åº1
åã¦ã¼ã¶ã®æ§ã ãªæ å ±ãå¾ããã¾ãããæçµçã«å¿ è¦ã¨ãã¦ããã¦ã¼ã¶å±æ§ä»¥å¤ã¯ä¸è¦ãªãã該å½ã®ç®æã®ã¿æ½åºãã¾ãã
ãã¼ã¿æ§é ãããã¾ãã¯Raw Outputé¨åãæ½åºãã¾ãã
å©ç¨ã«ã¼ãï¼ Objectã®Get
Step 3ï¼åå¾ããæ å ±ããå¿ è¦ãªãããã¯ãæ½åº2
æ´ã«ã¦ã¼ã¶ã®ãããã¡ã¤ã«æ å ±ã§ããprofileé¨åãæ½åºãã¾ãã
å©ç¨ã«ã¼ãï¼ Objectã®Get
Step 4ï¼å¿ è¦ãªå±æ§å¤ã®ã¿æ½åº
ã¦ã¼ã¶ãããã¡ã¤ã«ã®å ããã¼ãã«ã«æ¸ãåºãå¿ è¦ã®ããæ å ±ã ããé¸æãã¾ãããã¡ãã®ã«ã¼ãã¯æ¬¡ã®Tableã®ã«ã¼ãã¨ã»ããã§ç·¨éãããã¨ã«ãªãã¾ãã
å©ç¨ã«ã¼ãï¼ Objectã®Get Multiple
Step 5ï¼å±æ§å¤ã®æ¸ãåºã
å ã«ä½æãããã¼ãã«ãé¸æããã¨ãäºãè¨å®ãã¦ãããã«ã©ã ã®æ å ±ãèªã¿è¾¼ãã¾ãããã®ï¼ã¤ã®ã«ã©ã ã«ç¸å½ããæ å ±ããStep 4ã§ä½æããGet Multipleã«ã¼ãããåå¾ãã¾ãã
å©ç¨ã«ã¼ãï¼ Tablesã®Create Row
-
ãã¼ãã«ã®ç¢ºèªã¨ã¨ã¯ã¹ãã¼ã
æ¡ä»¶ã«ãããããã¦ã¼ã¶ã®å±æ§æ å ±ãè¨è¼ããã¦ãã¾ãã
æ¸ãåºãããæ å ±ã確èªããåé¡ãªããã°ãã®ã¾ã¾Exportãã¿ã³ãæ¼ãã¨CSVãã¡ã¤ã«ã¨ãã¦åå¾ã§ãã¾ãã
ãµã³ãã«ã»ããã¼ã®ãã¦ã³ãã¼ã
ä»å解説ããããã¼ã¯ããã¡ãããFlow Packãã¡ã¤ã«ã¨ãã¦ãã¦ã³ãã¼ãããWorkflowsã«ã¤ã³ãã¼ããããã¨ã§è©¦ããã¨ãã§ãã¾ãããã ããããã¾ã§ãµã³ãã«ã§ãã®ã§ãåä½ã®ä¿è¨¼ããããã®ã§ã¯ãªããããã¼å ¨ä½ã¨ãã¦ã®åä½ããã¸ãã¯ã¯ãµãã¼ã対象ã«ã¯ãªãã¾ããã®ã§ãäºæ¿ãã ããã
æå¾ã«
Workflowsã使ããã¨ã§ãç¹å®ã®æ¡ä»¶ã«ãããããæ å ±ã ãããªã¹ãåãã¦ç°¡åã«åºåã§ãããã¨ãå®æé ããã§ãããããä»åã®å®è£ ä¾ã§ã¯ãã¦ã¼ã¶ã¼æ å ±ã®ç®¡çã«Workflowsã®ãã¼ãã«ãå©ç¨ãã¾ããããGoogle SheetsãExcel Onlineã使ããã¨ãã§ãã¾ããã¾ããStatus以å¤ã®ãã©ã¡ã¼ã¿ãæéãæ¡ä»¶ã«ãã¦ãæ´ã«ã«ã¹ã¿ãã¤ãºãããããã¼ã«ããã¦ã¼ã¶ãªã¹ãä½æãå¯è½ã§ãã