Have something to say?

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

In Progress

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 5 months ago