mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
8 lines
163 B
Jsonnet
8 lines
163 B
Jsonnet
local claims = std.extVar('claims');
|
|
{
|
|
identity: {
|
|
traits: {
|
|
email: if 'email' in claims then claims.email else claims.preferred_username
|
|
},
|
|
},
|
|
} |