Closed hanwen-flow closed 1 month ago
This is due to the executing context not having permissions to the folders, files, or endpoints required to run the Drata Agent. The website link is the latest (version 3.6.1), AppImage is also available and may be downloaded directly at https://github.com/drata/agent-releases/releases/latest.
Typically, the user will need access to the following at default installs: (local storage) RW: ~/.config/drata-agent/app-data.json (local logging) RW: ~/.config/drata-agent/logs/main.log (library) RWX: /opt/Drata Agent/resources/lib/linux/bin/osqueryi (auto updates) RW: /opt/Drata Agent
Endpoints https://agent.drata.com/ or https://agent.eu.drata.com/ https://*.datadoghq.com/
You may also contact our Support Team to get assistance with installation where we assist more directly with your specific setup and private machine/network details. We do have a ticket for the next release to make this error message more friendly and explicit.
Note: There is not a --version parameter nor CLI for the drata-agent application.
(library) RWX: /opt/Drata Agent/resources/lib/linux/bin/osqueryi
hanwen@hanwen-flow:~/vc/engflow$ ls -l /opt/Drata\ Agent/resources/lib/linux/bin/osqueryi
-rwxr-xr-x 1 root root 86097376 Mär 26 17:56 '/opt/Drata Agent/resources/lib/linux/bin/osqueryi'
so should I make this file mode 0777 then?
(auto updates) RW: /opt/Drata Agent
this is owned by root as well; please advise how to change the install.
Note: There is not a --version parameter nor CLI for the drata-agent application.
I gathered as much. I was trying to suggest you might want to add it.
@hanwen-flow I would get in touch with our support team to resolve detailed installation issues. Ownership of certain files will vary based on the install used, for deb on Ubuntu you have to elevate for installation.
Please follow the permissions outlined in my previous comment or use the AppImage version linked there if preferred https://github.com/drata/drata-agent/issues/31#issuecomment-2368643139.
I have been asked by my employer to run drata-agent.
I downloaded drata-agent from your website, and was served a
.deb
file.I installed it, and am regularly greeted by an error-popup about EPIPE. (see image)
The drata-agent can't tell me which version it is,