Skip to content
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

Calling audit REST webservice via service account with limited permissions #301

Open
dramliza opened this issue Dec 2, 2023 · 1 comment

Comments

@dramliza
Copy link

dramliza commented Dec 2, 2023

Hi,

I need to get audit logs for all users and send them to SIEM for security team. In my on-premise 6.0.4 deployment I have only LDAP users.

I am able to get the audit logs with /linshare/webservice/rest/admin/v4/audit REST webservice (and btw it's totally unclear which version of API I should use - in the end I am using v4 because it's used by app itself right now even if there is v5 too).

But to get the data I have to authenticate with root account or LDAP account with SIMPLE admin role with too many permissions.

Is it possible to create and use some service account with more limited permissions for this?

I found "Technical accounts" in Legacy Admin Interface and there is some delegation possible (it seems) but I am not able to authenticate with it. Of course I have basically no idea what purpose there is for "Technical accounts" as I was not able to find any info or documentation for that.

So , is there a way how to solve this?

@wboudiche
Copy link
Contributor

Hi,
Technical account is equivalent to service account. You need to create it, assign permissions and after that use the delegation APIs dedicated to interoperability /linshare/webservice/rest/delegation/v2/audit endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants