setup-your-mac / Setup-Your-Mac

Setup Your Mac aims to simplify initial device configuration by leveraging swiftDialog and Jamf Pro Policy Custom Events to allow end-users to self-complete Mac setup post-enrollment.
https://snelson.us/sym
MIT License
231 stars 52 forks source link

App Validation - Wait for Authentication (ZScaler, VPN, etc) #114

Closed MateoParty3 closed 1 month ago

MateoParty3 commented 9 months ago

Note: While all requests are welcome, finding available cycles to custom-code a feature we won't use in our production environment is always challenging.

Is your feature request related to a problem? Please describe. while provisioning via ADE, we deploy ZScaler app to Authenticate user in order to satisfy Conditional Access "location" requirement right after JAMF Connect JIT acct creation.

Describe the solution you'd like I would like Remote App Validation to "wait" for Zscaler Sign in before continuing SYM

Describe alternatives you've considered script that checks for running process and launches ZScaler for Auth

Additional context We spoke at JNUC regarding this.

drtaru commented 9 months ago

Hi Mateo and Dan. I saw this on Friday and was giving it some thought today.

Would it not be possible to craft a remote validation script that performed the pause, checking, and waiting for sign in before passing "Running / Success" back to SYM?

That way there would be no code additions needed in the main script. As I understand Remote Validations they currently wait for the policy to complete and the "Success / Running / Failed" text to exist in the policy output before SYM continues to the next step.

@MateoParty3 I'm not familiar with ZScaler but there must be some way to detect a sign in, do you have an existing EA for that? If you are able to share it I may be able to modify it with a loop that waits for sign in.

dan-snelson commented 1 month ago

@MateoParty3: After counseling with other sym-devs, our recommendation is to follow @drtaru's recommendation and make this a Remote Validation.

Closing as "not planned."

MateoParty3 commented 4 weeks ago

Hi Dan hope all is well with you. Thanks for the update!

From: Dan K. Snelson @.> Date: Friday, June 7, 2024 at 5:21 AM To: setup-your-mac/Setup-Your-Mac @.> Cc: Mateo, Wagner @.>, Mention @.> Subject: Re: [setup-your-mac/Setup-Your-Mac] App Validation - Wait for Authentication (ZScaler, VPN, etc) (Issue #114) Closed #114 as not planned. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned. Message ID: setup-your-mac/Setup-Your-Mac/issue/114/issue_event/13077768767@ github. com

Closed #114https://urldefense.com/v3/__https:/github.com/setup-your-mac/Setup-Your-Mac/issues/114__;!!OiWDNh-9Pw!8x_v3vDcjVUoZpxf9-wZq9ZfcerpO0p_8anJGQX2M-dCW7SCopkwprm9Bvh-xToZ0M07_zA4ct5HUNQFAbUlerLWLTK4gQ$ as not planned.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/setup-your-mac/Setup-Your-Mac/issues/114*event-13077768767__;Iw!!OiWDNh-9Pw!8x_v3vDcjVUoZpxf9-wZq9ZfcerpO0p_8anJGQX2M-dCW7SCopkwprm9Bvh-xToZ0M07_zA4ct5HUNQFAbUlerL_YXgL7w$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BCYNB2YQD4W5SF7RG3RI6RTZGF3QPAVCNFSM6AAAAABI6JL3N2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TONZWHA3TMNY__;!!OiWDNh-9Pw!8x_v3vDcjVUoZpxf9-wZq9ZfcerpO0p_8anJGQX2M-dCW7SCopkwprm9Bvh-xToZ0M07_zA4ct5HUNQFAbUlerKbvrwLuA$. You are receiving this because you were mentioned.Message ID: @.***>


Notice: The information contained in this e-mail, and any attachment, is confidential and is intended solely for the use of the intended recipient. Access, copying, or re-use of the e-mail or any attachment, or any information contained therein, by any other person is not authorized. If you are not the intended recipient, please return the e-mail to the sender and delete it from your computer. Emails may be interfered with and may contain viruses or other defects. We provide no warranties in relation to these matters. For information on how to help protect yourself from fraud, including cyberfraud and other fraudulent activity, please visit our Information Security and Protection Page. Please refer to https://disclaimer.bnymellon.com/eu.htm for certain disclosures relating to European legal entities. Please note that we may use tracking pixels to monitor your interaction with reports and data delivered via this email. To learn how BNY Mellon uses personal information, please read our Data Privacy Notice.