Help with SecurityOnion API login #11686
-
Hello, I am trying to use the SecurityOnion API, but I ran into a problem. I am trying to post to https://<ipaddress>/auth/self-service/login/ in order to get the ory_kratos_session. I've set the cookie to be Cookie: csrf_token_<rest of name>=<value>; AUTH_REDIRECT=/, and made the body follow the I am having issues with 403 Unauthorized, as I don't know how to get the value for the <other csrf token>. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello! Security Onion does not support service account logins, for direct API access, at this time. We are considering this for a future release but there is currently no ETA. |
Beta Was this translation helpful? Give feedback.
-
Not sure if this will help you but here's a sample of some code I am using to authenticate via PowerShell and pull Alerts via web API. I cobbled this together from exporting the web requests to PowerShell with Chrome developer tools, so I'm sure lots of the headers and such are unnecessary.
|
Beta Was this translation helpful? Give feedback.
Hello! Security Onion does not support service account logins, for direct API access, at this time. We are considering this for a future release but there is currently no ETA.