parseablehq / parseable

Open Source ElasticSearch Alternative. Parseable helps you search and get insights from your logs in the most simple way possible.
https://parseable.com
GNU Affero General Public License v3.0
1.88k stars 109 forks source link

New IngestOnly role? #501

Closed kepi closed 1 year ago

kepi commented 1 year ago

Hi,

is there any plan to support ingest only role? At this moment, I would like to create user for untrusted app, which would push logs to my parseable instance. With Writer role, user can also query logs on stream, which doesn't seem necessary for "agent".

My original thought was to temporarily use Parseable directly from front-end (browser) app, but even if this isn't the dcase, I see same problem with using Parseable i.e. for server logs. I would have to separate steams for every server, or do some other magic to prevent cross server logs visibility. IMHO role with only Ingest action would be simpler solution?

Thanks for considering and/or any thoughts on this.

nitisht commented 1 year ago

hey @kepi this is a good point. Eventually we'd like the user to be able to create fine grained roles (specify which APIs can be called). But right now a ingest only role would be useful, agreed. We'll prioritise this.

nitisht commented 1 year ago

Fixes in #504, will be available in the next release @kepi

kepi commented 1 year ago

Huge thanks for getting to this so quickly!