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

Application.conf doesn't have Yeti config nor allows for API Auth #54

Closed
darksheer opened this issue Dec 17, 2017 · 2 comments
Closed

Comments

@darksheer
Copy link

Request Type

Bug

Work Environment

Question Answer
OS version (server) Ubuntu
OS version (client) OS X
Cortex version / git hash latest
Package Type Binary (Debian Package)
Browser type & version N/A

Problem Description

The Yeti analyzer doesn't have the default config in the application.conf

The Yeti analyzer doesn't allow for configuration of an API key. By default, Yeti is configured with NO auth. By deleting the default Yeti user, access to the UI / API requires an API key. The analyzer should be configured to allow API level access via token auth.

Steps to Reproduce

  1. Install Yeti
  2. Create a new user in Yeti
  3. Generate a new API key for the new Yeti users
  4. Delete the default Yeti user.

Possible Solutions

Have a config sysntax in the /etc/cortex/application.conf that provides:

  1. URL to the Yeti Server
  2. API Key for the Yet API
@hackdefendr
Copy link

This seems to work for me.

Yeti {
# URL of the Yeti server: example: http://120.0.0.1:5000
url = "http://x.x.x.x"
key = 'xxxxxxxxxxxxxx'
}

@saadkadhi
Copy link
Contributor

@darksheer I will close this issue for now as @hackdefendr provided a potential solution. Feel free to reopen it if needed.

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

No branches or pull requests

3 participants