-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New systemd workloadattestor plugin #4058
Conversation
Thank you for contributing @rkaippully! |
pkg/agent/plugin/workloadattestor/systemd/systemd_posix_test.go
Outdated
Show resolved
Hide resolved
Fixes spiffe#2031. Adds a basic workloadattestor plugin to get systemd.unit properties of the running process. It uses dbus to find the unit corresponding to the process and exposes the `Id` and `FragmentPath` properties as selectors. Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
83364f9
to
61da87c
Compare
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
…ttestor Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work @rkaippully ! Thank you for this contribution. I have just a few comments.
pkg/agent/plugin/workloadattestor/systemd/systemd_posix_test.go
Outdated
Show resolved
Hide resolved
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! thanks for the contribution, @rkaippully !
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
…ttestor Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
Signed-off-by: Raghu Kaippully <rkaippully@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
\o/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @rkaippully for this contribution!
@azdagron Thanks a lot for your review and approval. I see a test failure, but I don't think it has something to do with this change. Is that right? |
that test is flaky, I'm rerunning it |
* systemd workloadattestor plugin Fixes spiffe#2031. Adds a basic workloadattestor plugin to get systemd.unit properties of the running process. Signed-off-by: Raghu Kaippully <rkaippully@gmail.com> Signed-off-by: Dmitry Gorochovsky <d.goro@yahoo.com>
* systemd workloadattestor plugin Fixes spiffe#2031. Adds a basic workloadattestor plugin to get systemd.unit properties of the running process. Signed-off-by: Raghu Kaippully <rkaippully@gmail.com> Signed-off-by: Neniel <11655196+Neniel@users.noreply.github.com>
Pull Request check list
Affected functionality
New workloadattestor plugin for systemd.
Description of change
Adds a basic workloadattestor plugin to get systemd.unit properties of the running process. It uses dbus to find the unit corresponding to the process and exposes the
Id
andFragmentPath
properties as selectors.Which issue this PR fixes
Fixes #2031.