Package Details: drata-agent 3.4.1-1

Git Clone URL: https://aur.archlinux.org/drata-agent.git (read-only, click to copy)
Package Base: drata-agent
Description: The Drata Agent is a light-weight tray-application that runs in the background, reporting important read-only data to Drata about your machine’s state for compliance tracking.
Upstream URL: https://github.com/drata/the-agent
Keywords: compliance hippa iso-27001 security soc2
Licenses: custom:/usr/share/licenses/drata-agent/LICENSE
Submitter: ndom91
Maintainer: ndom91
Last Packager: ndom91
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-20 19:48 (UTC)
Last Updated: 2023-05-02 15:55 (UTC)

Latest Comments

bhouser commented on 2023-02-06 16:15 (UTC)

@ndom91 I got it working thanks to your help! I feel really dumb now because I only attempted in Chrome and Chromium before, but didn't think to check Firefox. Using the link in Firefox works!

Also you're correct, it's a auth-drata-agent://.. URL, not http://. That was auto-prepended when I copied it to clipboard from the Chrome address bar.

ndom91 commented on 2023-02-05 23:09 (UTC)

@bhouser yeah so this is a general issue with Linux custom url protocol handlers. So the drata app is supposed to handle the url protocol auth-drata-agent://.. (there's no http, right?). The only browser I was able to get it to work through was Firefox.

Look up xdg custom url protocol handling for more info, unfortunately I don't know much more.

bhouser commented on 2023-02-03 22:53 (UTC)

Hi,

This may or may not be related to the PKGBUILD itself but this seems like the best place to ask. The package installs fine and I can start the drata-agent. However I can't connect it to my drata account.

Connecting it requires opening a link with a token, like this: http://auth-drata-agent//token=<the-token>

Opening that link fails to open the drata-agent application. Thoughts on how to make that work?

Alternatively, workarounds? Is it possible to pass the token into the drata-agent over the command-line, for example?

ndom91 commented on 2022-04-27 19:33 (UTC)

@vmaurin - okay gotcha. When I initially tested it, the suggested script by @otaj didn't work for some reason. Trying it again today I also got it to work, however. Therefore I've updated this PKGBUILD with the newer (non sudo using) package() function :+1:

vmaurin commented on 2022-04-25 07:34 (UTC) (edited on 2022-04-25 07:34 (UTC) by vmaurin)

@ndom91

The script is running is a "fakeroot" environment, i.e you are dealing with a filesystem that is not the real one of the computer. Then once the scripts has run, the file are collected (by looking to the changes made to the fakeroot system) and a standard package is create from it

I have installed the package with the PKGBUILD provided by @otaj and it seems to work properly

ndom91 commented on 2022-04-22 17:12 (UTC)

@otaj - thanks for the tip - this is my first AUR package. However, I've tried out your suggested PKGBUILD modifications, and it doesn't copy the installation files to the correct directories.

After extracting the data.tar.gz I need to merge the resulting /opt/.. and /usr/local/... files with the system directories, for which I'll almost definitely need root, no?

ndom91 commented on 2022-04-21 18:06 (UTC)

@vmaurin - so I began looking into installing the drata-agent and searching for it on the AUR about two weeks ago. I can say that since then there definitely hasn't been a package here.

vmaurin commented on 2022-04-21 16:04 (UTC)

I installed a previous version of this AUR, but for some reasons, the history did disappear ?

otaj commented on 2022-04-21 06:41 (UTC)

Hi, please do not use sudo in PKGBUILD file. I took your PKGBUILD as a basis and did some corrections, you can see the new PKGBUILD here https://gist.github.com/otaj/020b0ed7de53c83a404fa3b2a5518a60