root: migrate to hosted sentry with rate-limited DSN

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-12-23 11:18:26 +01:00
parent e49bc83266
commit 42c278b4f8
No known key found for this signature in database
7 changed files with 8 additions and 12 deletions

View File

@ -170,11 +170,9 @@ jobs:
if: ${{ github.event_name == 'release' }} if: ${{ github.event_name == 'release' }}
env: env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: beryjuorg SENTRY_ORG: authentik-security-inc
SENTRY_PROJECT: authentik SENTRY_PROJECT: authentik
SENTRY_URL: https://sentry.beryju.org
with: with:
version: authentik@${{ steps.ev.outputs.version }} version: authentik@${{ steps.ev.outputs.version }}
environment: beryjuorg-prod
sourcemaps: './web/dist' sourcemaps: './web/dist'
url_prefix: '~/static/dist' url_prefix: '~/static/dist'

View File

@ -11,7 +11,7 @@
[![Code Coverage](https://img.shields.io/codecov/c/gh/goauthentik/authentik?style=for-the-badge)](https://codecov.io/gh/goauthentik/authentik) [![Code Coverage](https://img.shields.io/codecov/c/gh/goauthentik/authentik?style=for-the-badge)](https://codecov.io/gh/goauthentik/authentik)
![Docker pulls](https://img.shields.io/docker/pulls/beryju/authentik.svg?style=for-the-badge) ![Docker pulls](https://img.shields.io/docker/pulls/beryju/authentik.svg?style=for-the-badge)
![Latest version](https://img.shields.io/docker/v/beryju/authentik?sort=semver&style=for-the-badge) ![Latest version](https://img.shields.io/docker/v/beryju/authentik?sort=semver&style=for-the-badge)
[![](https://img.shields.io/badge/Help%20translate-transifex-blue?style=for-the-badge)](https://www.transifex.com/beryjuorg/authentik/) [![](https://img.shields.io/badge/Help%20translate-transifex-blue?style=for-the-badge)](https://www.transifex.com/authentik/authentik/)
## What is authentik? ## What is authentik?

View File

@ -29,10 +29,9 @@ debug: false
log_level: info log_level: info
# Error reporting, sends stacktrace to sentry.beryju.org
error_reporting: error_reporting:
enabled: false enabled: false
sentry_dsn: https://a579bb09306d4f8b8d8847c052d3a1d3@sentry.beryju.org/8 sentry_dsn: https://151ba72610234c4c97c5bcff4e1cffd8@o4504163616882688.ingest.sentry.io/4504163677503489
environment: customer environment: customer
send_pii: false send_pii: false
sample_rate: 0.1 sample_rate: 0.1

View File

@ -9,7 +9,7 @@ By default, authentik creates outbound connections to the following URLs:
- https://version.goauthentik.io: Periodic update check - https://version.goauthentik.io: Periodic update check
- https://goauthentik.io: Anonymous analytics on startup - https://goauthentik.io: Anonymous analytics on startup
- https://secure.gravatar.com: Avatars for users - https://secure.gravatar.com: Avatars for users
- https://sentry.beryju.org: Error reporting - https://o4504163616882688.ingest.sentry.io: Error reporting
To disable these outbound connections, set the following in your `.env` file: To disable these outbound connections, set the following in your `.env` file:
@ -36,5 +36,4 @@ authentik:
Container images can be pulled from the following URLs: Container images can be pulled from the following URLs:
- ghcr.io/goauthentik/server (https://ghcr.io) - ghcr.io/goauthentik/server (https://ghcr.io)
- goauthentik.io/server (https://goauthentik.io)
- beryju/authentik (https://index.docker.io) - beryju/authentik (https://index.docker.io)

View File

@ -92,11 +92,11 @@ Disable the inbuilt update-checker. Defaults to `false`.
Enable error reporting. Defaults to `false`. Enable error reporting. Defaults to `false`.
Error reports are sent to https://sentry.beryju.org, and are used for debugging and general feedback. Anonymous performance data is also sent. Error reports are sent to https://sentry.io, and are used for debugging and general feedback. Anonymous performance data is also sent.
- `AUTHENTIK_ERROR_REPORTING__SENTRY_DSN` - `AUTHENTIK_ERROR_REPORTING__SENTRY_DSN`
Sets the DSN for the Sentry API endpoint. Defaults to `https://sentry.beryju.org`. Sets the DSN for the Sentry API endpoint.
When error reporting is enabled, the default Sentry DSN will allow the authentik developers to receive error reports and anonymous performance data, which is used for general feedback about authentik, and in some cases, may be used for debugging purposes. When error reporting is enabled, the default Sentry DSN will allow the authentik developers to receive error reports and anonymous performance data, which is used for general feedback about authentik, and in some cases, may be used for debugging purposes.

View File

@ -12,7 +12,7 @@ Create a values.yaml file with a minimum of these settings:
authentik: authentik:
secret_key: "PleaseGenerateA50CharKey" secret_key: "PleaseGenerateA50CharKey"
# This sends anonymous usage-data, stack traces on errors and # This sends anonymous usage-data, stack traces on errors and
# performance data to sentry.beryju.org, and is fully opt-in # performance data to sentry.io, and is fully opt-in
error_reporting: error_reporting:
enabled: true enabled: true
postgresql: postgresql:

View File

@ -91,7 +91,7 @@ orgs = orgs_response.json()
# `orgs` will be formatted like this # `orgs` will be formatted like this
# [ # [
# { # {
# "login": "beryjuorg", # "login": "goauthentik",
# [...] # [...]
# } # }
# ] # ]