Elastic API endpoints? #13843
-
Version2.4.110 Installation MethodSecurity Onion ISO image Descriptionconfiguration Installation TypeDistributed Locationcloud Hardware SpecsExceeds minimum requirements CPU6 RAM16 Storage for /300GB Storage for /nsm? Network Traffic Collectiontap Network Traffic SpeedsLess than 1Gbps StatusYes, all services on all nodes are running OK Salt StatusNo, there are no failures LogsNo, there are no additional clues DetailHi, But I'm having trouble discovering the API endpoints for Elastic/ Kibana etc. in SO v2.4 ie. to get a list of agents I am (unsuccessfully) trying- Guidelines
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Is this what you are looking for? https://www.elastic.co/guide/en/fleet/current/fleet-api-docs.html#:~:text=You%20can%20find%20details%20for,some%20commonly%20used%20Fleet%20APIs. |
Beta Was this translation helpful? Give feedback.
-
ok I have not been successful, but perhaps I can make the question easier. Can anyone confirm ANY working API endpoint for Security Onion v2.4? I've tried- and a bunch of others. If I can get one confirmed working URL I can probably work out the rest |
Beta Was this translation helpful? Give feedback.
-
ok feeling a bit dumb as the correct method was mentioned here and yes it's one of my questions... thanks Josh. And thanks @cm-ops for the suggestion to check basic auth- good point. Making progress because I can now get a response from the Server like-
So we are definitely using port 9200, figuring out the endpoint, not so much... |
Beta Was this translation helpful? Give feedback.
-
ok the answer is as follows- It's inferred from the Elastic docs but not specified that your API token user must have permissions and these are separate from the user creating the token. So test your credentialed access with-
If this works you can add some read only permissions to your API token with this-
Then verify your access with this-
I'm not convinced that was worth weeks of my life, but glad to contribute in a small way. |
Beta Was this translation helpful? Give feedback.
ok the answer is as follows-
It's inferred from the Elastic docs but not specified that your API token user must have permissions and these are separate from the user creating the token.
So test your credentialed access with-
If this works you can add some read only permissions to your API token with this-