Skip to content

Elastalert2 restriction on documents #1518

Closed Answered by jertel
ishukeshri2712 asked this question in Q&A
Discussion options

You must be logged in to vote

ElastAlert 2 doesn't provide any user authorization. Elasticsearch provides index authorization. So if you want to keep people out of certain indices then you can use Kibana to remove a user's access to that index.

Another option is to write a script that validates a rule file contains a timestamp setting and then query Elasticsearch to ensure that the rule's target index contains a field matching that timestamp field specified in the rule.

There are a lot of ways a user can still wreak havoc on your cluster, so this validation script would likely need to constantly be updated to enforce more checks.

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jertel
Comment options

Answer selected by jertel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@nsano-rururu
Comment options

@nsano-rururu
Comment options

@ishukeshri2712
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants