Verified Commit 6d05d9a7 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Enable Keycloak event logging (fixes #68)

parent 87af88cb
Pipeline #486 passed with stage
in 58 seconds
...@@ -91,6 +91,24 @@ resource "keycloak_realm" "archlinux" { ...@@ -91,6 +91,24 @@ resource "keycloak_realm" "archlinux" {
} }
} }
resource "keycloak_realm_events" "realm_events" {
realm_id = "archlinux"
events_enabled = true
events_expiration = 7889238 # 3 months
admin_events_enabled = true
admin_events_details_enabled = true
# When omitted or left empty, keycloak will enable all event types
enabled_event_types = [
]
events_listeners = [
"jboss-logging", # keycloak enables the 'jboss-logging' event listener by default.
]
}
resource "keycloak_oidc_identity_provider" "realm_identity_provider" { resource "keycloak_oidc_identity_provider" "realm_identity_provider" {
realm = "archlinux" realm = "archlinux"
alias = "github" alias = "github"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment