Have something to say?

Tell us how we could make the product more useful to you.

Access user email for script environment variables (Vanta integration)

Hi team, First off, congrats on the recent progress, Swif has become much more stable and feature-rich over the past few months. I'm currently trying to install the Vanta agent through Swif and enable automatic registration with their device monitor. I'm using this script: https://github.com/VantaInc/vanta-agent-scripts/blob/main/install-macos.sh The issue is that the script requires the VANTA_OWNER_EMAIL environment variable in order to register the device/user correctly. Question: Is there a way within Swif to access the email of the user associated with the host executing the command and pass it as an environment variable? Alternatives: If that’s not possible, are there recommended patterns or workarounds to achieve automatic user registration (for example via Swif agent APIs, metadata, or post-install hooks)? Any guidance would be really appreciated. Thanks!

Fernando Godino 3 days ago

Completed

Google Identity login to Mac

Since a few macOS versions ago, Apple has allowed third-party solutions to replace the default login window. This feature requires an MDM to deploy the necessary configuration. Using a configuration profile, you can instruct macOS to no longer use the native login window but instead redirect authentication to a third-party solution, such as Microsoft Company Portal. During the first login, a local user account is automatically created based on the information retrieved from Microsoft 365. This includes details like whether the user should be a standard user or an administrator, depending on group membership in Azure AD. The cloud password is also synced as the local macOS password. This setup ensures that if the user changes their Microsoft 365 password, their local macOS password is also updated at the next login. If you’d like, I can share an example configuration profile for this setup.

Angelo Huang 12 months ago

1