Skip to Content
Admin GuidesLedgerAdministration

Administration

The Admin menu lets a Ledger administrator control the general behavior of the system. It is shown only to users with the Administrator permission and has five entries:

  • Users
  • Teams
  • Servers
  • Advisories
  • Settings

Admin menu in the Ledger navigation

Users

Users list with name, username, type, and last login

The Users page lists every account, with its name, username, email address, type, enabled status, and last login time. From here you can edit a user with the Edit button or delete one with the trash can button. The primary administrator cannot be deleted.

Each account has a type that records how it signs in:

LDAP, SAML, and OpenID Connect users do not need to be added in advance. Ledger creates their accounts automatically the first time they sign in, and their team membership is driven by the group mapping on each team (see Teams).

Adding a User

Click Add User to create a local account. Enter the Name, Username, Email, and Password (twice), and choose whether the account is Enabled. Turn on Require Password Change at Next Login to make the user choose a new password the first time they sign in. The password must meet the local password policy, and the form checks it as you type.

Editing a User

Edit User page

Clicking Edit next to a user opens three tabs:

  • Details: the name, username, email address, and enabled status. For local accounts you can also set a new password and require a password change at the next login. Setting a password signs the user out of their other sessions.
  • Permissions: the permissions granted directly to this user (see Permissions).
  • Teams: the teams the user belongs to.

Administrators can change passwords for local accounts only. It is not possible to change an account's type. Users can change their own name, email address, and password on their Profile page, which is in the user menu at the top right of every page.

Permissions

Permissions can be granted to a user directly or through a team. A user has every permission granted to them or to any team they belong to.

PermissionAllows
AdministratorEverything, including the Admin menu and all settings.
View FactsThe Facts section.
View ChangesThe Changes section.
View HostsThe Hosts section.
View PackagesPackages > Current.
View Package LogsPackages > Log.
View ServicesServices > Current.
View Service LogsServices > Log.
View ReportsReports shared with the user.
Create ReportsCreating new reports.
View ErrataThe Errata section.
Create AlertsCreating and managing alerts.
Manage Alert ProvidersCreating and managing alert providers.
View Alert LogsAlerts > Logs.
Create BaselinesThe Make Baseline button on a host's packages and services.

Teams

Teams list

Teams group users and set default permissions for them. Permissions applied to a team are inherited by its members. From the Teams page, you can view, edit, delete, and create teams.

Edit Teams

When you click Edit beside a team name, you are presented with three tabs: Details, Users, and Permissions.

Details, Users, and Permissions tabs for a team

Details Tab

Team Details tab

The Details tab sets:

  • Name
  • Enabled
  • LDAP Group DN: members of this LDAP group are added to the team each time they sign in with LDAP. See LDAP group to team mapping.
  • SAML Group Name: users whose SAML assertion contains this group are added to the team each time they sign in with SAML. See Mapping groups to teams.
  • OIDC Group Name: shown when OpenID Connect is enabled. Users whose groups claim contains this value are added to the team each time they sign in with OpenID Connect. See OpenID Connect group to team mapping.

For each mapping, Ledger also removes the user from the team when they sign in without the group. Teams with no group configured for a sign-in method are left untouched, so you can manage them by hand.

Users Tab

Team Users tab

The Users tab adds users to or removes them from the team. Users are listed separately as Local Users, LDAP Users, SAML Users, and OIDC Users.

Permissions Tab

Team Permissions tab

The Permissions tab sets the permissions for the team. These are the same permissions you set when editing a user.

Servers

Servers list

When an Ascender or other AWX-based server begins sending log messages to Ledger, an entry is automatically created on the Servers page. You can view the following details:

  • The name of the server. This is the Ascender server's unique ID (UUID).
  • The IP address of the Ascender server.
  • The URL of the Ascender server.
  • The number of changes logged by the server.
  • The last time the server sent data to Ledger.

The Edit button lets an administrator change the Server URL (used for job template link). If the Ascender URL is not reachable from your users' browsers, the links from changes to Ascender jobs are broken, so make sure this is a URL your users can reach.

To connect a server to Ledger, see Connecting Ascender.

Advisories

The Advisories page shows the vendors Ledger collects security advisories from, the collection job queue, and the controls for moving advisory data into an air-gapped installation. See Advisory collection.

Settings

Settings page

Settings has six pages: General, Visual, Mail, Authentication, License, and Maintenance. Changes take effect without restarting Ledger.

General

General settings

In the General settings, you can:

  • Turn Remove Invocation from Changes on or off. This removes the module invocation data, which could expose sensitive information, from the changes Ascender sends to Ledger.
  • Turn Hide Bugfixes and Enhancements from Errata Views on or off, so that the errata views show only security advisories.
  • Set the Ledger Base URL.
  • Set the Allowed Fact Modules. By default, this includes both set_cmdb and gather_facts.
  • Set the Session Timeout, the period of inactivity after which users are signed out. See Session timeout.
  • Choose the Primary Administrator, the local account that can never be disabled or deleted. See Primary administrator.
  • Turn on Require Token Authorization and manage the Authorization Token that Ascender servers use to send logs to Ledger. See Connecting Ascender.

Visual

The Visual settings control:

  • Row Limit for API Queries: the maximum number of rows a REST API request returns.
  • Export Limit for CSV and PDF Output: the maximum number of rows in an export.
  • Callback Limit Select Menus: the maximum number of entries loaded into a search-as-you-type selection list.
  • Custom Login Information: text shown on the login page.
  • Default System Language and Allow Browser Language to Override Default.

Mail

The Mail settings configure the SMTP relay that Ledger uses for scheduled reports, email alerts, and security notifications. See Email.

Authentication

The Authentication settings have four tabs: Local, LDAP, SAML, and OpenID Connect. See Authentication and SAML authentication.

License

License settings

The License page shows your current license and lets you upload a new one. It lists:

  • Customer Name
  • License Type
  • Product Name
  • Effective Date
  • Expiration Date
  • Status

To install a new license, choose the license file (.json) under Upload License and click Save.

Maintenance

The Maintenance settings control how long Ledger keeps data. Hosts Retention, Facts Retention, Changes Retention, and Packages Retention can each be set from 30 to 360 days. Collection Jobs Retention sets how long finished advisory collection jobs are kept (7 days by default). See Advisory collection.