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!
Log in to comment and vote
No comments yet
Be the first to share your thoughts.