Netflix-Skunkworks / stethoscope

Personalized, user-focused recommendations for employee information security.
Apache License 2.0
2k stars 114 forks source link

400 bad request #119

Open stevenswager opened 6 years ago

stevenswager commented 6 years ago

The browser (or proxy) sent a request that this server could not understand.

Getting the error message after configuring the JAMF plugin


# The following is the secret key used by Flask to sign session cookies. It needs to be changed to a
# random value which is kept secret and is unique to your deployment. You should generate a key
# using a cryptographically-secure pseudo-random number generator such as the `os.urandom` Python
# function on modern systems. In short: `os.urandom(24)`.
SECRET_KEY = 'redacted'

# The following is the secret key used by Stethoscope to secure its API tokens. It needs to be
# changed to a random value which is kept secret and is unique to your deployment. You should
# generate a key using a cryptographically-secure pseudo-random number generator such as the
# `os.urandom` Python function on modern systems. In short: `os.urandom(32)`.
JWT_SECRET_KEY = 'redacted'

# For this example configuration, we're using a no-op authentication provider which treats everyone
# as having successfully authenticated as a privileged user.
LOGIN_MANAGER = 'null'

PLUGINS = {
  'jamf': {
    'JAMF_API_USERNAME': "redacted,
    'JAMF_API_PASSWORD': "redacted",
    'JAMF_API_HOSTADDR': "https://company.jamfcloud.com/JSSResource",
  },
}
andrewmwhite commented 6 years ago

You're getting a 400 from Stethoscope or from JAMF? Please post the logs from Stethoscope so I can tell what's going on.