AlphaKey

Download 0
Last updated Aug 6, 2026

Install Guide

Overview

Integrating Logpresso Sonar with AlphaKey provides two capabilities.

  • SSO login: Users sign in to Sonar with their AlphaKey account over SAML 2.0. In this integration Sonar acts as the SP (Service Provider) and AlphaKey acts as the IdP (Identity Provider).
  • Audit log collection: AlphaKey SSO/IAM audit events are delivered to Sonar and stored. AlphaKey pushes the logs to Sonar.

The two capabilities are independent — you can use only SSO, or only log collection. Settings are entered on both the AlphaKey and the Sonar side, and each side needs a value produced by the other, so follow the order below.

  1. Register the app in AlphaKey and enter the Sonar address.
  2. Enter the IdP information issued by AlphaKey into the Sonar SSO configuration.
  3. Activate and test the integration in AlphaKey → Sonar order.
  4. Add a logger in Sonar, then set its receiving address as the log forwarding target in AlphaKey.

Scope

Note
Works with Logpresso Sonar 5.0.2603.0 or later over SAML 2.0. An AlphaKey administrator account is required.

Requirements

ItemRequirementNote
Sonar version5.0.2603.0 or laterVersion that provides the System > SSO menu
External service accountAlphaKey administrator accountNeeds permission to register apps and configure log forwarding
Sonar permissionSystem administrator permissionAccess to System > SSO and Collect > Loggers
Service addressSonar address reachable over HTTPSUsed for the redirect URL (ACS URL)
Network allowanceHTTPS/443 (AlphaKey → Sonar collection node, inbound)Firewall policy must be updated for audit log collection

AlphaKey app registration

Register the Logpresso app in AlphaKey and enter the integration information. The IdP information issued in this step becomes the input for the Sonar SSO configuration.

Step 1: Add the app

In the AlphaKey administrator page, go to AlphaKey > 앱 (App) > 앱 현황 (App Status) and click 앱 추가 (Add App).

Add App button on the AlphaKey app status screen

Under 앱 추가 방식 선택 (Select how to add the app), choose AlphaKey에 등록된 앱 추가 (Add an app registered in AlphaKey) and click 다음 (Next).

Selecting the option to add an app registered in AlphaKey

Search for Logpresso, select the app, and click 적용 (Apply).

Selecting the Logpresso app from the search results

Enter the contract information to create the app integration page.

The AlphaKey app integration page that has been created

Step 2: Enter the integration information

Enter the Sonar address on the app integration page that was created.

TypeItemSetting
Required인증 프로토콜 (Auth protocol)Select SAML
Required클라이언트 페이지 (Client page)Sonar address
Required리다이렉트 URL (Redirect URL)Sonar address + /sso/alphakey-saml2
Required엔티티 ID (Entity ID)Sonar address

Example values.

Client page  : https://sonar.example.com
Redirect URL : https://sonar.example.com/sso/alphakey-saml2
Entity ID    : https://sonar.example.com

AlphaKey app integration page with the Sonar address entered

Note
The redirect URL is the SP-side callback address (ACS URL) that the IdP returns the SAML response to after authentication. It must be a Logpresso domain, not an AlphaKey domain, and it must use HTTPS. Leave the remaining items such as the signature algorithm and Name ID Type at their default values.

Step 3: Check the IdP information

After entering the values, click IDP 정보 보기 (View IDP information). The values on the 기본정보 (Basic information), Meta data, and 인증서 PEM (Certificate PEM) tabs are entered into Sonar in the next step, so keep the window open.

Logpresso SSO configuration

Go to System > SSO, click Add, and enter the values shown on the AlphaKey app integration page and the IDP 정보 (IDP information) window as follows.

TypeItemSettingWhere to find it in AlphaKey
RequiredSSOSelect AlphaKey SAML 2.0
OptionalDescriptionDescription that identifies this SSO setting
RequiredACS URLCallback URL to receive the login responseSame as the 리다이렉트 URL (Redirect URL) on the app integration page
RequiredSP Entity IDUnique identifier of SPSame as the 엔티티 ID (Entity ID) on the app integration page
RequiredSSO URLURL where the IdP receives login requestsIDP 정보 > Meta data > SingleSignOnService Location
RequiredIdP Entity IDUnique identifier of IdPIDP 정보 > 기본정보 (Basic information) > 발급자 (Issuer)
RequiredX.509 CertificatePublic certificate for verifying IdP signaturesIDP 정보 > 인증서 PEM (Certificate PEM)

The ACS URL and SP Entity ID must match the redirect URL and entity ID entered in AlphaKey exactly, character for character.

Mapping between the AlphaKey redirect URL and entity ID and the Sonar ACS URL and SP Entity ID

For the SSO URL, enter the Location address of the SingleSignOnService element on the Meta data tab.

Mapping between the SingleSignOnService Location in AlphaKey Meta data and the Sonar SSO URL

For the IdP Entity ID, enter the issuer (IDP entity ID) on the 기본정보 (Basic information) tab.

Mapping between the issuer in AlphaKey basic information and the Sonar IdP Entity ID

For the X.509 certificate, copy only the Base64 body from the 인증서 PEM (Certificate PEM) tab, excluding the BEGIN CERTIFICATE and END CERTIFICATE lines.

The Base64 body area of the certificate PEM, excluding the BEGIN and END lines

Note
Pasting the BEGIN CERTIFICATE and END CERTIFICATE lines together with the body makes signature verification fail.

Activating the integration

Once the values are entered on both the AlphaKey and the Sonar side, activate the integration in the following order.

Click 적용 (Apply) in AlphaKey, then click Save in Sonar.

The Apply button in AlphaKey and the Save button on the Sonar SSO add panel

Next, turn on the Enabled switch for the registered AlphaKey SAML 2.0 entry in the Sonar SSO list. In AlphaKey, click 연결테스트 (Connection test) and confirm that the Sonar login screen is called.

The Sonar SSO enable switch and the AlphaKey connection test button

Note
Saving alone does not activate the integration in Sonar. After saving, you must turn on the enable switch for the AlphaKey login to appear on the login screen.

If the connection test succeeds, click 연동 (Integrate). The SSO integration is complete once the Logpresso app appears in the AlphaKey 앱 현황 (App Status) list.

The Integrate button enabled after a successful connection test

Logpresso collection configuration

AlphaKey pushes its audit logs directly to Sonar. Create the receiving logger in Sonar first — the callback name you set there determines the receiving address.

Step 1: Add a logger

Go to Collect > Loggers, click Add, and enter the following values.

TypeItemSetting
RequiredNameA unique name that identifies the logger (e.g. AlphaKey Audit)
RequiredStorage locationSelect a node appropriate for your Logpresso platform configuration
RequiredLogger modelSelect AlphaKey
RequiredTableEnter a table name starting with ALPHAKEY (e.g. ALPHAKEY_AUDIT)
RequiredCallback nameEnter alphakey
OptionalExecution methodKeep the default value
OptionalInterval (sec)Keep the default value

The Sonar add logger screen

Note
The callback name becomes the log receiving path. If you enter `alphakey`, the receiving path is `/log/alphakey`. If you enter a different value, use the same value for the path in the next step.

Step 2: Set the AlphaKey log forwarding target

In the AlphaKey administrator page, set the audit log forwarding target as follows.

ItemValue
HostSonar address
Port443
Path/log/alphakey
MethodPOST
Content-Typeapplication/json

Example forwarding address.

https://sonar.example.com/log/alphakey
Note
Each log must be sent as a single JSON object. The AlphaKey parser included in the app reads the common event information and the values under headers and data, and normalizes them into the AlphaKey audit log (alphakey-audit) schema. Logs that cannot be parsed are stored as raw data.

Post-installation verification

Verifying SSO login

Check that AlphaKey SAML 2.0 login has been added to the Sonar login screen, then sign in with an AlphaKey account.

The AlphaKey SAML 2.0 login button added to the Sonar login screen

  • Success: You are authenticated by AlphaKey and signed in to Sonar.
  • Failure: If a signature verification error occurs, check that the X.509 certificate does not include the BEGIN/END lines, and that the redirect URL and the ACS URL are identical.

Verifying log collection

Run the query below to confirm that collection actually works. Replace ALPHAKEY_AUDIT with the table name you entered on the logger.

table duration=10m ALPHAKEY_AUDIT
| stats count
  • Success: The number of records collected within the last 10 minutes is 1 or more.
  • Failure: If it is 0, re-check the AlphaKey log forwarding settings (host, path), whether the logger callback name matches, and network reachability to the collection node (HTTPS/443 inbound).

Run the query below to confirm that the fields are parsed correctly.

table duration=10m ALPHAKEY_AUDIT
| fields _time, event_type, event_group, user, user_name, src_ip, msg

References