blueprints: lowercase system blueprints' models
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
54c16129ea
commit
a520a60c82
|
@ -6,7 +6,7 @@ metadata:
|
||||||
entries:
|
entries:
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/oauth2/scope-openid
|
managed: goauthentik.io/providers/oauth2/scope-openid
|
||||||
model: authentik_providers_oauth2.ScopeMapping
|
model: authentik_providers_oauth2.scopemapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default OAuth Mapping: OpenID 'openid'"
|
name: "authentik default OAuth Mapping: OpenID 'openid'"
|
||||||
scope_name: openid
|
scope_name: openid
|
||||||
|
@ -16,7 +16,7 @@ entries:
|
||||||
return {}
|
return {}
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/oauth2/scope-email
|
managed: goauthentik.io/providers/oauth2/scope-email
|
||||||
model: authentik_providers_oauth2.ScopeMapping
|
model: authentik_providers_oauth2.scopemapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default OAuth Mapping: OpenID 'email'"
|
name: "authentik default OAuth Mapping: OpenID 'email'"
|
||||||
scope_name: email
|
scope_name: email
|
||||||
|
@ -28,7 +28,7 @@ entries:
|
||||||
}
|
}
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/oauth2/scope-profile
|
managed: goauthentik.io/providers/oauth2/scope-profile
|
||||||
model: authentik_providers_oauth2.ScopeMapping
|
model: authentik_providers_oauth2.scopemapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default OAuth Mapping: OpenID 'profile'"
|
name: "authentik default OAuth Mapping: OpenID 'profile'"
|
||||||
scope_name: profile
|
scope_name: profile
|
||||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
entries:
|
entries:
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/proxy/scope-proxy
|
managed: goauthentik.io/providers/proxy/scope-proxy
|
||||||
model: authentik_providers_oauth2.ScopeMapping
|
model: authentik_providers_oauth2.scopemapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default OAuth Mapping: Proxy outpost"
|
name: "authentik default OAuth Mapping: Proxy outpost"
|
||||||
scope_name: ak_proxy
|
scope_name: ak_proxy
|
||||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
entries:
|
entries:
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/saml/upn
|
managed: goauthentik.io/providers/saml/upn
|
||||||
model: authentik_providers_saml.SAMLPropertyMapping
|
model: authentik_providers_saml.samlpropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default SAML Mapping: UPN"
|
name: "authentik default SAML Mapping: UPN"
|
||||||
saml_name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn"
|
saml_name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn"
|
||||||
|
@ -14,7 +14,7 @@ entries:
|
||||||
return request.user.attributes.get('upn', request.user.email)
|
return request.user.attributes.get('upn', request.user.email)
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/saml/name
|
managed: goauthentik.io/providers/saml/name
|
||||||
model: authentik_providers_saml.SAMLPropertyMapping
|
model: authentik_providers_saml.samlpropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default SAML Mapping: Name"
|
name: "authentik default SAML Mapping: Name"
|
||||||
saml_name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"
|
saml_name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name"
|
||||||
|
@ -22,7 +22,7 @@ entries:
|
||||||
return request.user.name
|
return request.user.name
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/saml/email
|
managed: goauthentik.io/providers/saml/email
|
||||||
model: authentik_providers_saml.SAMLPropertyMapping
|
model: authentik_providers_saml.samlpropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default SAML Mapping: Email"
|
name: "authentik default SAML Mapping: Email"
|
||||||
saml_name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
|
saml_name: "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"
|
||||||
|
@ -30,7 +30,7 @@ entries:
|
||||||
return request.user.email
|
return request.user.email
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/saml/username
|
managed: goauthentik.io/providers/saml/username
|
||||||
model: authentik_providers_saml.SAMLPropertyMapping
|
model: authentik_providers_saml.samlpropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default SAML Mapping: Username"
|
name: "authentik default SAML Mapping: Username"
|
||||||
saml_name: "http://schemas.goauthentik.io/2021/02/saml/username"
|
saml_name: "http://schemas.goauthentik.io/2021/02/saml/username"
|
||||||
|
@ -38,7 +38,7 @@ entries:
|
||||||
return request.user.username
|
return request.user.username
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/saml/uid
|
managed: goauthentik.io/providers/saml/uid
|
||||||
model: authentik_providers_saml.SAMLPropertyMapping
|
model: authentik_providers_saml.samlpropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default SAML Mapping: User ID"
|
name: "authentik default SAML Mapping: User ID"
|
||||||
saml_name: "http://schemas.goauthentik.io/2021/02/saml/uid"
|
saml_name: "http://schemas.goauthentik.io/2021/02/saml/uid"
|
||||||
|
@ -46,7 +46,7 @@ entries:
|
||||||
return request.user.pk
|
return request.user.pk
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/saml/groups
|
managed: goauthentik.io/providers/saml/groups
|
||||||
model: authentik_providers_saml.SAMLPropertyMapping
|
model: authentik_providers_saml.samlpropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default SAML Mapping: Groups"
|
name: "authentik default SAML Mapping: Groups"
|
||||||
saml_name: "http://schemas.xmlsoap.org/claims/Group"
|
saml_name: "http://schemas.xmlsoap.org/claims/Group"
|
||||||
|
@ -55,7 +55,7 @@ entries:
|
||||||
yield group.name
|
yield group.name
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/providers/saml/ms-windowsaccountname
|
managed: goauthentik.io/providers/saml/ms-windowsaccountname
|
||||||
model: authentik_providers_saml.SAMLPropertyMapping
|
model: authentik_providers_saml.samlpropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default SAML Mapping: WindowsAccountname (Username)"
|
name: "authentik default SAML Mapping: WindowsAccountname (Username)"
|
||||||
saml_name: "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname"
|
saml_name: "http://schemas.microsoft.com/ws/2008/06/identity/claims/windowsaccountname"
|
||||||
|
|
|
@ -6,7 +6,7 @@ metadata:
|
||||||
entries:
|
entries:
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/default-name
|
managed: goauthentik.io/sources/ldap/default-name
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default LDAP Mapping: Name"
|
name: "authentik default LDAP Mapping: Name"
|
||||||
object_field: "name"
|
object_field: "name"
|
||||||
|
@ -14,7 +14,7 @@ entries:
|
||||||
return ldap.get('name')
|
return ldap.get('name')
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/default-mail
|
managed: goauthentik.io/sources/ldap/default-mail
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default LDAP Mapping: mail"
|
name: "authentik default LDAP Mapping: mail"
|
||||||
object_field: "email"
|
object_field: "email"
|
||||||
|
@ -23,7 +23,7 @@ entries:
|
||||||
# ActiveDirectory-specific mappings
|
# ActiveDirectory-specific mappings
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/ms-samaccountname
|
managed: goauthentik.io/sources/ldap/ms-samaccountname
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default Active Directory Mapping: sAMAccountName"
|
name: "authentik default Active Directory Mapping: sAMAccountName"
|
||||||
object_field: "username"
|
object_field: "username"
|
||||||
|
@ -31,7 +31,7 @@ entries:
|
||||||
return ldap.get('sAMAccountName')
|
return ldap.get('sAMAccountName')
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/ms-userprincipalname
|
managed: goauthentik.io/sources/ldap/ms-userprincipalname
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default Active Directory Mapping: userPrincipalName"
|
name: "authentik default Active Directory Mapping: userPrincipalName"
|
||||||
object_field: "attributes.upn"
|
object_field: "attributes.upn"
|
||||||
|
@ -39,7 +39,7 @@ entries:
|
||||||
return list_flatten(ldap.get('userPrincipalName'))
|
return list_flatten(ldap.get('userPrincipalName'))
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/ms-givenName
|
managed: goauthentik.io/sources/ldap/ms-givenName
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default Active Directory Mapping: givenName"
|
name: "authentik default Active Directory Mapping: givenName"
|
||||||
object_field: "attributes.givenName"
|
object_field: "attributes.givenName"
|
||||||
|
@ -47,7 +47,7 @@ entries:
|
||||||
return list_flatten(ldap.get('givenName'))
|
return list_flatten(ldap.get('givenName'))
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/ms-sn
|
managed: goauthentik.io/sources/ldap/ms-sn
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default Active Directory Mapping: sn"
|
name: "authentik default Active Directory Mapping: sn"
|
||||||
object_field: "attributes.sn"
|
object_field: "attributes.sn"
|
||||||
|
@ -56,7 +56,7 @@ entries:
|
||||||
# OpenLDAP specific mappings
|
# OpenLDAP specific mappings
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/openldap-uid
|
managed: goauthentik.io/sources/ldap/openldap-uid
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default OpenLDAP Mapping: uid"
|
name: "authentik default OpenLDAP Mapping: uid"
|
||||||
object_field: "username"
|
object_field: "username"
|
||||||
|
@ -64,7 +64,7 @@ entries:
|
||||||
return ldap.get('uid')
|
return ldap.get('uid')
|
||||||
- identifiers:
|
- identifiers:
|
||||||
managed: goauthentik.io/sources/ldap/openldap-cn
|
managed: goauthentik.io/sources/ldap/openldap-cn
|
||||||
model: authentik_sources_ldap.LDAPPropertyMapping
|
model: authentik_sources_ldap.ldappropertymapping
|
||||||
attrs:
|
attrs:
|
||||||
name: "authentik default OpenLDAP Mapping: cn"
|
name: "authentik default OpenLDAP Mapping: cn"
|
||||||
object_field: "name"
|
object_field: "name"
|
||||||
|
|
Reference in New Issue