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

Provide Secret Key auth to upstream service #2

Closed
JohnOmernik opened this issue Feb 16, 2017 · 2 comments
Closed

Provide Secret Key auth to upstream service #2

JohnOmernik opened this issue Feb 16, 2017 · 2 comments
Assignees
Milestone

Comments

@JohnOmernik
Copy link

Provide Secret Key auth to upstream service

Request Type

Feature Request

Work Environment

NA

Problem Description

Currently, the cortex doesn't require any sort of auth. It would be nice if authentication between an upstream service could be required. So that people can't just hit the cortex URL and anonymously run analyzers.

At a minimum, using a secret key in the hive config that is passed in all requests to the cortex would be a start, that would require some info on enabled https for the cortex (I was able to mimic the https setup for the hive, so that won't be an issue).

A more verbose way would be to provide the auth information from thehive, and pass it to the cortex which then accesses the elastic search backend (or other auth backend) to gather keys or other info, and record metrics etc.

@saadkadhi
Copy link
Contributor

This is a feature we have identified for Cortex 2. Cortex 2 will support authentication on the Web UI but also on the API, rate-limiting (for analyzers that are based on services which use quotas such as VT), report caching etc.

@saadkadhi saadkadhi added this to the 2.0.0 milestone Feb 16, 2017
@JohnOmernik
Copy link
Author

Outstanding. I also posted some issues in cortex-analyzers. One of those being able to have user passthrough of keys, i.e. if I have 10 users, and they each have their own keys, to have cortex be able to use that key instead of a single static key.

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

No branches or pull requests

4 participants