Skip to content

Commit

Permalink
Update default.env
Browse files Browse the repository at this point in the history
  • Loading branch information
untitledds authored Dec 2, 2024
1 parent 47013e6 commit 36446a5
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions default.env
Original file line number Diff line number Diff line change
@@ -1,17 +1,8 @@
# Константы для аутентификации
ACCESS_TOKEN_USER_KEY=access_token_auth

# Роли
ROLE_OWNER=Owner
ROLE_ADMIN=Admin
ROLE_MEMBER=Member
ROLE_WATCHER=Watcher

# Проекты
PROJECTS=SECURITY:1,CVE:2,VENDOR:3

# Группы
GROUPS=SECURITY_ADMINS:SECURITY,SECURITY_ANALYSTS:SECURITY,WATCHERS:SECURITY,CVE_ADMINS:CVE,CVE_RESEARCHERS:CVE,CVE_WATCHERS:CVE,PROJECT_ADMINS:VENDOR,DEVELOPERS:VENDOR,VENDOR_SUPPORT:VENDOR
PROJECTS=SECURITY:1,CVE:2,VENDOR:3,PRON:7

# Поля пользователя
USER_FIELD_GUID=sub
Expand All @@ -22,3 +13,18 @@ USER_FIELD_GROUPS=groups

# Роль по умолчанию
DEFAULT_ROLE=Member

# Настройка для фильтрации групп
FILTER_GROUPS=False

# Настройка для проекта по умолчанию
DEFAULT_PROJECT_ID=default_project_id

# OIDC Settings
OIDC_USERINFO_ENDPOINT=https://your-oidc-provider.com/protocol/openid-connect/userinfo

# Включение плагина для аутентификации по токену доступа
ENABLE_ACCESS_TOKEN_AUTH=True

# Использование прокси
USE_X_FORWARDED_HOST=False

0 comments on commit 36446a5

Please sign in to comment.