LDAP/SAML Hybrid Authentication
This is an advanced option wherein LDAP Mapping is used to trigger the creation of user records in Sysdig, but authentication of those users is actually performed via SAML (with LDAP-based authentication disabled). In this configuration, if you successfully authenticate via SAML, and the platform finds your record with a matching email address in the Sysdig platform, you will be able to log in.
The process involves:
Enable SAML login and disable automatic user creation via SAML.
Enable LDAP user creation using LDAP mapping, but employ the
_hybrid
, rather than the_simple
json configuration file.(Optional) Disable simple password login, to ensure SAML SSO is always used.
Ensure SAML has been enabled in the UI as the chosen authentication method.
Enable SAML Log In
Follow the instructions for SAML (On-Prem)configuration for your IdP. Use the UI in Sysdig Platform version 3.5.0, or the script-based option for earlier versions.
To ensure that user records are created solely via LDAP mapping, disable user-creation-on-demand and (optionally) password authentication.
UI-based option: Use the toggles in the UI to disable “create user on login” and “user name and password login.”
Script-based option: Use the
-n
option of thesaml_config.sh
script, as described in the Optional: Auto-creation of user records section.
User experience:
With this configuration, if you successfully log in via SAML but do not have an existing username/email record in the Sysdig database, you will receive an error message.
Enable LDAP User Creation using LDAP Mapping
Configure the
settings_mapping_hybrid.json
file.The only difference between the
_simple
and the_hybrid
files is theuserAttributeName
value. In_hybrid
, this is set toemail
, because SAML-derived usernames in the Sysdig platform area always based on email address.Apply the settings using the mapping_config.sh script:
mapping_config.sh -s settings_mapping_hybrid.json
Optional: Disable User-Creation via API
If you want to ensure your user records are derived only from LDAP
hybrid mapping, then use the -d
option with the api_user_creation.sh
script, as described in the Readme.
Optional: Disable Password Login
You may have pre-existing records in your Sysdig platform database for users who have previously authenticated via simple email/password. If you want to prevent such logins and ensure 100% authentication via SAML, you can disable password login.
In this configuration, only the “super” Admin can still login via email/password.
See Disable Password Authentication.
Ensure SAML is Enabled in the UI
When all configurations are complete, log in to the Settings in the Sysdig user interface and Select SAML for SSO, if it is not already selected.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.