JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.0p0 Hot Tips | CONFIDENTIAL | CodeSecure Inc |
If your organization uses Azure Active Directory (Azure AD) for single sign-on (SSO), you can configure your hub (and Azure AD service) to allow Azure AD authentication for the hub.
Once this is configured, users will be able to sign in to the hub with their SSO credentials.
Important Note: single sign-on with
Azure AD can only be configured for HTTPS hubs.
You can enable HTTPS for your hub from the Configure HTTPS page in
the Web GUI.
In this example, we will configure an Azure AD authentication service such that:
Important Note: single sign-on with
Azure AD can only be configured for HTTPS hubs.
You can enable HTTPS for your hub from the Configure HTTPS page in the
Web GUI.
It is sufficient to authenticate as a user with the special Administrator role, which immutably has the necessary permissions. In particular, it is always sufficient to authenticate as special user Administrator.
You will also need administrative permissions for your organization's Azure AD deployment.
Configuring Azure AD authentication for your CodeSonar hub is a three-part process:
| Name | Source | Source Attribute |
|---|---|---|
| Attribute | user.mail | |
| user | Attribute | user.userprincipalname |
| Field | Value | Notes | |
|---|---|---|---|
| Standard Plug-in Configuration Fields | |||
| Priority | 10 | The Priority value controls the relative position of the sign in with Azure AD tab in the CodeSonar Sign In page. Tabs for SSO services with lower Priority values are ordered before those for services with higher priority values. The tab with the lowest Priority value is displayed by default. | |
| Usage | Global | If you are running a primary hub with satellites, authentication for the primary hub and all satellite hubs will be performed by the primary hub. If you do not have satellite hubs, this setting has no effect and the selector is not active. | |
| Create new user accounts automatically | selected | If the service successfully authenticates a user who does not already have a hub account, one will be automatically created. | |
| Template User (for new accounts) | alex |
Existing user alex will be
the template
user for any hub user
accounts that are automatically
created by the service.
|
|
| Auth User | see notes |
This must be a hub user account that has user
control over the designated Template User. The
authentication service will only be able to perform hub
operations that this account has permission to
perform. In general, we recommend setting as follows.
|
|
| IdP Metadata | |||
| either... | |||
| Metadata URL | Copy and paste the URL associated with the the Azure AD App Federation Metadata URL link. |
This is generally more convenient than manually entering
IdP metadata, but requires that your hub is able to make
requests to the Azure AD server. In particular, you will
not be able to use this option if your system is configured
so that the hub cannot make outgoing connections.
If available, you can obtain the value of this field from your Azure AD instance.
|
|
| ...or all of the following. | |||
| Entity ID |
You will need to manually extract these values from the App
Federation metadata.
|
||
| Single Sign On URL | |||
| IdP Signing Certificate | |||
| Other SSO Configuration | |||
| Requests | unselected |
The hub will sign requests sent to Azure AD. If you select this, perform the following additional configuration steps.
|
|
| Signed Responses | unselected |
The hub will require that requests sent to Azure AD are
signed.
If you select this, perform the following additional configuration steps in Azure AD.
|
|
| Encrypted Responses | unselected |
The hub will require that responses from Azure AD are
encrypted. If you select this, perform the following additional configuration steps.
|
|
| Populate Azure AD "Basic SAML " field... | ... with the information from CodeSonar "Setting up this SAML Integration in Your IdP" field |
|---|---|
| Identifier (Entity ID) | SP Entity ID |
| Reply URL (Assertion Consumer Service URL) | Assertion Consumer Service URL |
If you need to change the configuration for the service, work through the following steps.