Repository navigation
Feature/417 authentication with azure entra id and authentik #421
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
Merged
MaartendeKruijf
merged 10 commits into
development
from
feature/417-authentication-with-azure-entra-id-and-authentik
Oct 14, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
5d07a1c
Added SOARCA roles for authentication
MaartendeKruijf 7434d81
Added the core authentication library
MaartendeKruijf 561deaf
Added OIDC provider for Authentik and other compatible providers
MaartendeKruijf f0425a9
Added basic API key provider
MaartendeKruijf 218e05f
Added entra provider to authenticate with Azure Entra ID
MaartendeKruijf 948f2e9
Added auth API middleware
MaartendeKruijf 09e0151
Update config to accept new auth configuration
MaartendeKruijf e6e4009
Added authentication documentation
MaartendeKruijf 1653d36
Removed redundant ascii diagram
MaartendeKruijf 643d9f3
Removed old GUI config as it will be replaced with a new OIDC
MaartendeKruijf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,42 +1,72 @@ | ||
| # SOARCA settings. Every variable SOARCA reads is listed here; see | ||
| # internal/config/config.go for the defaults and | ||
| # https://cossas.github.io/SOARCA/docs/installation-configuration/ for details. | ||
|
|
||
| ### Server | ||
| PORT: 8080 | ||
| ENABLE_TLS: false | ||
| CERT_FILE: "/certs/server.crt" | ||
| CERT_KEY_FILE: "/certs/server.key" | ||
| MAX_EXECUTIONS=1000 | ||
| SOARCA_ALLOWED_ORIGINS: "*" | ||
| GIN_MODE: "release" | ||
| # Comma-separated, or "*" for any origin. | ||
| SOARCA_ALLOWED_ORIGINS: "*" | ||
|
|
||
| ### Execution | ||
| MAX_EXECUTIONS: 10 | ||
| MAX_REPORTERS: 5 | ||
| # Empty uses the CACAO v2 schema embedded in SOARCA. | ||
| VALIDATION_SCHEMA_URL: "" | ||
| HTTP_SKIP_CERT_VALIDATION: false | ||
|
|
||
| ### Database | ||
| DATABASE: false | ||
| MONGODB_URI: "mongodb://localhost:27017" | ||
| DATABASE_NAME: "soarca" | ||
| DB_USERNAME: "root" | ||
| DB_PASSWORD: "rootpassword" | ||
| PLAYBOOK_API_LOG_LEVEL: trace | ||
| DATABASE: "false" | ||
| MAX_REPORTERS: "5" | ||
|
|
||
| ### Logging | ||
| LOG_GLOBAL_LEVEL: "info" | ||
| LOG_MODE: "development" | ||
| LOG_FILE_PATH: "" | ||
| LOG_FORMAT: "json" | ||
|
|
||
| ### Fins (MQTT) | ||
| ENABLE_FINS: false | ||
| MQTT_BROKER: "localhost" | ||
| MQTT_PORT: 1883 | ||
|
|
||
| HTTP_SKIP_CERT_VALIDATION: false | ||
| ### Integrations | ||
|
|
||
| # The Hive | ||
| THEHIVE_ACTIVATE: false | ||
| THEHIVE_API_TOKEN: your_token | ||
| THEHIVE_API_BASE_URL: http://your.thehive.instance/api/v1/ | ||
| THEHIVE_API_TOKEN: "your_token" | ||
| THEHIVE_API_BASE_URL: "http://your.thehive.instance/api/v1/" | ||
| THEHIVE_ALLOW_INSECURE: true | ||
| THEHIVE_REPORTER: false | ||
|
|
||
| ### Authentication | ||
| # With AUTH_ENABLED: true, configure at least one provider below. | ||
| AUTH_ENABLED: false | ||
|
|
||
| # Authentication | ||
| AUTH_ENABLED: false | ||
| OIDC_PROVIDER: "https://authentikuri:9443/application/o/soarca/" | ||
| # OpenID Connect provider, e.g. authentik | ||
| OIDC_ISSUER: "https://authentikuri:9443/application/o/soarca/" | ||
| OIDC_CLIENT_ID: "some client ID" | ||
| OIDC_SKIP_TLS_VERIFY: false | ||
| # Members of this group get every permission. | ||
| AUTH_GROUP: "soarca_admin" | ||
|
|
||
| # SSH Key Management | ||
| ENABLE_SSH_KMS: false | ||
| SSH_KMS_DIR: "deployments/docker/testing/ssh-kms-test/ssh-keystore/" | ||
| # Microsoft Entra ID | ||
| # AUTH_ENTRA_TENANT_IDS: "<tenant-id>,<tenant-id>" | ||
| # AUTH_ENTRA_API_CLIENT_ID: "<client ID of the SOARCA API app registration>" | ||
| # AUTH_ENTRA_API_APP_ID_URI: "api://soarca" | ||
| # AUTH_ENTRA_ALLOWED_CLIENT_IDS: "<client-id>,<client-id>" | ||
| # AUTH_ENTRA_REQUIRED_USER_SCOPE: "access_as_user" | ||
| # AUTH_ENTRA_ACCEPT_V1: false | ||
| # AUTH_ENTRA_AUTHORITY: "https://login.microsoftonline.com" | ||
|
|
||
| # Static API keys | ||
| # AUTH_API_KEYS_FILE: "/etc/soarca/api-keys.json" | ||
|
|
||
| ### SSH key management | ||
| ENABLE_SSH_KMS: false | ||
| SSH_KMS_DIR: "deployments/docker/testing/ssh-kms-test/ssh-keystore/" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
158 changes: 0 additions & 158 deletions
158
docs/content/en/docs/installation-configuration/authentication.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.