** 2021-W04 #+BEGIN: clocktable :scope subtree :maxlevel 4 :timestamp t :link t :tags t :narrow 36! :match "work" #+CAPTION: Clock summary at [2021-02-01 Mon 14:47] | Timestamp | Tags | Headline | Time | | | | |------------------------+--------------------+---------------------------------------------+---------+-------+-------+------| | | | *Total time* | *41:38* | | | | |------------------------+--------------------+---------------------------------------------+---------+-------+-------+------| | | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-W04][2021-W04]] | | 41:38 | | | | | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-25 Monday][2021-01-25 Monday]] | | | 7:28 | | | [2021-01-25 Mon 19:23] | work, meeting | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Posture Onboarding][Posture Onboarding]] | | | | 0:38 | | [2021-01-25 Mon 15:04] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*cleanup jwt extract feedback][cleanup jwt extract feedback]] | | | | 4:19 | | [2021-01-25 Mon 14:36] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*refacto JWT extraction reviews][refacto JWT extraction reviews]] | | | | 0:15 | | [2021-01-25 Mon 10:16] | work, chat | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*morning chat issues org][morning chat issues org]] | | | | 2:16 | | [2021-01-26 Tue 19:06] | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-26 Tuesday][2021-01-26 Tuesday]] | | | 9:03 | | | [2021-01-26 Tue 10:36] | work, review | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Victors UncaughtExceptionHandler][Victors UncaughtExceptionHandler]] | | | | 8:29 | | [2021-01-26 Tue 10:16] | work, review | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*PR review][PR review]] | | | | 0:06 | | [2021-01-26 Tue 09:47] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Weekly meeting Presentation][Weekly meeting Presentation]] | | | | 0:28 | | [2021-01-27 Wed 22:01] | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-27 Wednesday][2021-01-27 Wednesday]] | | | 10:59 | | | [2021-01-27 Wed 18:22] | work, meeting | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration workflow presentation][CSA Migration workflow presentation]] | | | | 2:10 | | [2021-01-27 Wed 17:26] | interruption, work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Helping Jessica Bair about client][Helping Jessica Bair about client]] | | | | 0:54 | | [2021-01-27 Wed 16:01] | work, meeting | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*weekly dev meeting][weekly dev meeting]] | | | | 1:25 | | [2021-01-27 Wed 12:07] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration notes preparation][CSA Migration notes preparation]] | | | | 3:54 | | [2021-01-27 Wed 09:31] | work, chat | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*morning chat][morning chat]] | | | | 2:36 | | [2021-01-28 Thu 18:09] | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-28 Thursday][2021-01-28 Thursday]] | | | 8:09 | | | [2021-01-28 Thu 09:52] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration API PoC preparation][CSA Migration API PoC preparation]] | | | | 8:09 | | [2021-01-29 Fri 17:46] | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-29 Friday][2021-01-29 Friday]] | | | 5:59 | | | [2021-01-29 Fri 15:47] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*create Client for Vitalii in TEST][create Client for Vitalii in TEST]] | | | | 1:59 | | [2021-01-29 Fri 15:46] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*provisionning API][provisionning API]] | | | | 4:00 | #+END: *** 2021-01-25 Monday **** MEETING Posture Onboarding :work:meeting: :LOGBOOK: CLOCK: [2021-01-25 Mon 19:24]--[2021-01-25 Mon 20:02] => 0:38 :END: [2021-01-25 Mon 19:23] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*cleanup jwt extract feedback][cleanup jwt extract feedback]] ***** Notes Martin, Trapani, Didi, Jyoti, Elias, Mirabell, Guillaume @Martin: I am a customer of SecureX Sources (inTune, AMP, Custom, JAMF, Duo, Meraki) Creating the inventory on their behalf. Active AMP, should be onboarded in SecureX. Onboard device managers, Meraki, etc... Into "my" SecureX Tenant. Extra credit if we can do this with OAuth2. Most important make a connection here. - email exchange. @Jyoti @Martin Vault service and what is authorized between services. APIs underneath @Didi webhook to push changes. Ask the vault. Return keys, etc... We need continuation. @Didi Google, trusts, etc... @Martin onboarding, revocation, What about notification? @Didi that's the idea of continuous data flow. Bidirectional webhooks. Some services will need to have webhooks. Orbital webehook is a very good example. You go into orbital, you register webhook. And webhook is triggered. @Elias to Didi use cases? @Martin - continuous flow of data? need to describe use cases. **** DONE cleanup jwt extract feedback :work: :LOGBOOK: CLOCK: [2021-01-25 Mon 15:04]--[2021-01-25 Mon 19:23] => 4:19 :END: [2021-01-25 Mon 15:04] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/inbox.org::*commander les fruits & légumes][commander les fruits & légumes]] **** DONE refacto JWT extraction reviews :work: :LOGBOOK: CLOCK: [2021-01-25 Mon 14:36]--[2021-01-25 Mon 14:51] => 0:15 :END: [2021-01-25 Mon 14:36] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*morning chat issues org][morning chat issues org]] **** CHAT morning chat issues org :work:chat: :LOGBOOK: CLOCK: [2021-01-25 Mon 10:00]--[2021-01-25 Mon 12:16] => 2:16 :END: [2021-01-25 Mon 10:16] - ref :: *** 2021-01-26 Tuesday #+BEGIN: clocktable :scope subtree :maxlevel 4 :timestamp t :link t :tags t :narrow 36! :match "work" #+CAPTION: Clock summary at [2021-01-26 Tue 19:06] | Timestamp | Tags | Headline | Time | | | | |------------------------+--------------+------------------------------------------+--------+---+------+------| | | | *Total time* | *9:03* | | | | |------------------------+--------------+------------------------------------------+--------+---+------+------| | | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-26 Tuesday][2021-01-26 Tuesday]] | | | 9:03 | | | [2021-01-26 Tue 10:36] | work, review | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Victors UncaughtExceptionHandler][Victors UncaughtExceptionHandler]] | | | | 8:29 | | [2021-01-26 Tue 10:16] | work, review | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*PR review][PR review]] | | | | 0:06 | | [2021-01-26 Tue 09:47] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Weekly meeting Presentation][Weekly meeting Presentation]] | | | | 0:28 | #+END: **** REVIEW Victors UncaughtExceptionHandler :work:review: :LOGBOOK: CLOCK: [2021-01-26 Tue 10:37]--[2021-01-26 Tue 19:06] => 8:29 :END: [2021-01-26 Tue 10:36] **** GEEK Try to write JS warn in dashboard :perso: :LOGBOOK: CLOCK: [2021-01-26 Tue 10:22]--[2021-01-26 Tue 10:32] => 0:10 :END: [2021-01-26 Tue 10:22] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Weekly meeting Presentation][Weekly meeting Presentation]] **** REVIEW PR review :work:review: :LOGBOOK: CLOCK: [2021-01-26 Tue 10:16]--[2021-01-26 Tue 10:22] => 0:06 :END: [2021-01-26 Tue 10:16] **** DONE Weekly meeting Presentation :work: :LOGBOOK: CLOCK: [2021-01-26 Tue 09:47]--[2021-01-26 Tue 10:15] => 0:28 :END: [2021-01-26 Tue 09:47] ***** Weekly Status - Extracted a JWT service - Added audiences as an array. Does not appear to break anything - Updated the SSE OIDC Clients to support CSA Migration - Contacted QA for testing CSA Migration, Houman will probably ping me today. + Testing CSA Migration ***** Tech notes worth seeing by the team ****** naming conventions After a few discussions choose a project/ns naming convention for the =iroh-service= lein template. We do not really have one. Selected this conventions because it is: - shorter than most actual used conventions - iroh specific to make it clear a ns is iroh related. Need to find files via path, not just its name. Sounds ok to me. For an example look at the jwt service: - =project.clj=: ~(defproject iroh/foo ,,,,)~ - =src/iroh/foo/service.clj= => ~(ns iroh.foo.service ,,,)~ - =src/iroh/foo/web_service.clj= => ~(ns iroh.foo.web-service ,,,)~ - =test/iroh/foo/service/test_helpers.clj= => ~(ns iroh.foo.service.test-helpers ,,,)~ I don't think we should move the existing code to the new conventions yet. But new services should probably try to follow this convention. ****** Refacto Plan: Testing web services and cycles. Example: #+begin_src clojure (deftest my-web-service-test (tk-test app svc-helper (let [{:keys [mk-jwt svc-get client-post]} (init-tst-state app "/iroh/my-service") jwt (mk-jwt {}) jwt-admin (mk-jwt {:role roles/admin})] (check-status 403 (svc-get "/sub-route" jwt {})) (check-status 200 (svc-get "/sub-route" jwt-admin {})) (check-status 200 (client-post "/sub-route" jwt {:form-parms {:foo "bar"}}))))) #+end_src See a few =init-tst-state= examples which uses =get-jetty-port=, =mk-http-callers=, =iroh-web.test-helpers.core/gen-jwt=. Takes care of: - starting the web app on a random port. - providing functions to make http call - narrowed to your service (svc-get, svc-post, etc...) - narrowed only the localhost:PORT (client-get, client-post, etc...) - providing a jwt generator. **** GEEK org-fc conf for doom-emacs :perso: :LOGBOOK: CLOCK: [2021-01-26 Tue 09:39]--[2021-01-26 Tue 09:47] => 0:08 :END: [2021-01-26 Tue 09:39] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/inbox.org::*bouteilles][bouteilles]] *** 2021-01-27 Wednesday #+BEGIN: clocktable :scope subtree :maxlevel 4 :timestamp t :link t :tags t :narrow 36! :match "work" #+CAPTION: Clock summary at [2021-01-27 Wed 22:01] | Timestamp | Tags | Headline | Time | | | | |------------------------+--------------------+---------------------------------------------+---------+---+-------+------| | | | *Total time* | *10:59* | | | | |------------------------+--------------------+---------------------------------------------+---------+---+-------+------| | | | \_ [[file:/Users/yaesposi/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-27 Wednesday][2021-01-27 Wednesday]] | | | 10:59 | | | [2021-01-27 Wed 18:22] | work, meeting | \_ [[file:/Users/yaesposi/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration workflow presentation][CSA Migration workflow presentation]] | | | | 2:10 | | [2021-01-27 Wed 17:26] | interruption, work | \_ [[file:/Users/yaesposi/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*Helping Jessica Bair about client][Helping Jessica Bair about client]] | | | | 0:54 | | [2021-01-27 Wed 16:01] | work, meeting | \_ [[file:/Users/yaesposi/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*weekly dev meeting][weekly dev meeting]] | | | | 1:25 | | [2021-01-27 Wed 12:07] | work | \_ [[file:/Users/yaesposi/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration notes preparation][CSA Migration notes preparation]] | | | | 3:54 | | [2021-01-27 Wed 09:31] | work, chat | \_ [[file:/Users/yaesposi/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*morning chat][morning chat]] | | | | 2:36 | #+END: **** MEETING CSA Migration workflow presentation :work:meeting: :LOGBOOK: CLOCK: [2021-01-27 Wed 18:22]--[2021-01-27 Wed 20:32] => 2:10 :END: [2021-01-27 Wed 18:22] AMP accounts, TG accounts, SSE devices, Orbital Prepare a reset system to reset to before migration. **** DONE Helping Jessica Bair about client :interruption:work: :LOGBOOK: CLOCK: [2021-01-27 Wed 17:27]--[2021-01-27 Wed 18:21] => 0:54 :END: [2021-01-27 Wed 17:26] **** MEETING weekly dev meeting :work:meeting: :LOGBOOK: CLOCK: [2021-01-27 Wed 16:01]--[2021-01-27 Wed 17:26] => 1:25 :END: [2021-01-27 Wed 16:01] - Talk about dahsboard **** DONE CSA Migration notes preparation :work: :LOGBOOK: CLOCK: [2021-01-27 Wed 12:07]--[2021-01-27 Wed 16:01] => 3:54 :END: [2021-01-27 Wed 12:07] - [[https://github.com/threatgrid/iroh/issues/4203][Main Epic]] - https://cisco.invisionapp.com/share/MBYJ09WXP3F#/screens/429343341 - [[file:~/dev/iroh/services/iroh-auth/doc/developer.org::#sxso-migration][SxSO Migration IROH Auth dev docs]] **** CHAT morning chat :work:chat: :LOGBOOK: CLOCK: [2021-01-27 Wed 09:31]--[2021-01-27 Wed 12:07] => 2:36 :END: [2021-01-27 Wed 09:31] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*PR review][PR review]] *** 2021-01-28 Thursday #+BEGIN: clocktable :scope subtree :maxlevel 4 :timestamp t :link t :tags t :narrow 36! :match "work" #+CAPTION: Clock summary at [2021-01-28 Thu 18:09] | Timestamp | Tags | Headline | Time | | | | |------------------------+------+-------------------------------------------+--------+---+------+------| | | | *Total time* | *8:09* | | | | |------------------------+------+-------------------------------------------+--------+---+------+------| | | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-28 Thursday][2021-01-28 Thursday]] | | | 8:09 | | | [2021-01-28 Thu 09:52] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration API PoC preparation][CSA Migration API PoC preparation]] | | | | 8:09 | #+END: **** DONE CSA Migration API PoC preparation :work: :LOGBOOK: CLOCK: [2021-01-29 Fri 15:46]--[2021-01-29 Fri 15:46] => 0:00 CLOCK: [2021-01-28 Thu 10:50]--[2021-01-28 Thu 18:09] => 7:19 CLOCK: [2021-01-28 Thu 09:52]--[2021-01-28 Thu 10:42] => 0:50 :END: [2021-01-28 Thu 09:52] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration workflow presentation][CSA Migration workflow presentation]] *** 2021-01-29 Friday #+BEGIN: clocktable :scope subtree :maxlevel 4 :timestamp t :link t :tags t :narrow 36! :match "work" #+CAPTION: Clock summary at [2021-01-29 Fri 17:46] | Timestamp | Tags | Headline | Time | | | | |------------------------+------+-------------------------------------------+--------+---+------+------| | | | *Total time* | *5:59* | | | | |------------------------+------+-------------------------------------------+--------+---+------+------| | | | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*2021-01-29 Friday][2021-01-29 Friday]] | | | 5:59 | | | [2021-01-29 Fri 15:47] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*create Client for Vitalii in TEST][create Client for Vitalii in TEST]] | | | | 1:59 | | [2021-01-29 Fri 15:46] | work | \_ [[file:/Users/esposito/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*provisionning API][provisionning API]] | | | | 4:00 | #+END: **** DONE create Client for Vitalii in TEST :work: CLOSED: [2022-03-19 Sat 14:16] :LOGBOOK: CLOCK: [2021-01-29 Fri 15:47]--[2021-01-29 Fri 17:46] => 1:59 :END: [2021-01-29 Fri 15:47] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*provisionning API][provisionning API]] **** DONE provisionning API :work: :LOGBOOK: CLOCK: [2021-01-29 Fri 14:16]--[2021-01-29 Fri 15:46] => 1:30 CLOCK: [2021-01-29 Fri 09:46]--[2021-01-29 Fri 12:16] => 2:30 :END: [2021-01-29 Fri 15:46] - ref :: [[file:~/Library/Mobile Documents/iCloud~com~appsonthemove~beorg/Documents/org/tracker.org::*CSA Migration API PoC preparation][CSA Migration API PoC preparation]]