-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Getting enroll secret from osctrl-api endpoint #459
Comments
Managed to get the info I need using the But I see it has the authorization permissions is set to read & write: https://github.com/jmpsec/osctrl/blob/main/osctrl-api.yaml#L393-L395 should that be the case if only retrieving this info? I can see that in the UI I can access this information even if the user only has |
Let me look into this and see what we can do |
hello @javuto Did you have some time to look into this? |
I am updating the documentation for the API first, until that is done, please look in the code of |
Please check the up-to-date |
Implemented in #475 |
Hello
I want to enroll some osquery nodes using osctrl but I have a bit of an question of where can I get the secret for this.
I see that the secret is refreshed or extended from the UI but I would like to be able to get this from the API endpoint directly using a Token.
I tried to look into the API endpoints but I am a bit lost and could not find a path that could return this info for me?
Is it possible to get this information via the API? can anyone with more knowledge point me in the right place to look for that?
Thank you.
The text was updated successfully, but these errors were encountered: