🐧
Linux Control Center
EN
EN
  • Introduction - User Manual
  • Requirements
    • Server Requirements
    • Client Requirements
  • Quick Start
  • Setup and Installation
  • Dashboard
  • Discover
    • Linux Control Center Discover
    • BeyondTrust Password Safe
  • Host Actions
    • Get Info
    • Package Check Update
    • Package Update
    • Package Vulnerable Update
    • Package Hold
    • Package Install
    • Package Remove
    • Account Add
    • Account Del
    • Account Expire
    • Account Lock
    • Account UnLock
    • File Add
    • File Del
    • File Download
    • Manage Host Service
    • Host Ping
    • Host Reboot
    • Host Shutdown
    • Insert Group
    • Check Vulnerability
    • Execute Custom Playbook
    • Execute Custom Scripts
    • Tenable Launch Scan
    • Tenable Sync Results
    • Delete Hosts
  • Host Groups
  • Managed Account
    • Create Managed Account
  • Managed Files
    • Create Managed File
  • 7 Library
    • Install Tenable Agent
  • 7 VulnDB-API
  • Custom Scripts
    • Linux Scripts
    • BeyondTrust Password Safe Secrets
  • Custom Playbooks
  • Hook Bridge
    • Hook Bridge
  • Workflow
    • Create Workflow
  • Assisted Workflow
  • Scheduler
  • Unmanaged Hosts
    • Microsoft Windows
  • Settings and Integrations
    • Settings
      • License
      • Worker
      • Nodes
      • Certificate
      • LCC Management
      • Diagnostic
      • Linux Credentials
      • Regions
      • Syncronized Files
      • Notifications
        • SMTP
        • Teams
        • Telegram
      • Parameters
      • Discover Timeout
      • Backup and Restore
    • Integrations
      • BeyondTrust
        • Password Safe
        • Privileged Remote Access
      • VMWare
      • Nutanix
      • Tenable
        • Security Center
        • Cloud Security
    • User Management
      • Console Users
        • Create Super User
        • Create Group Users
      • TOTP
      • Providers
        • SAML
          • Cisco Duo
          • Entra ID
      • Authentication
  • Release Notes
Powered by GitBook
On this page
  • Requirements
  • Objective
  • Overview
  • Uploading and Configuring Playbooks
  • General Information
  • Dynamic Variables in the Playbook
  • Playbook Content
  • Execution Credentials
  • OS Release
  • Running Playbooks

Custom Playbooks

PreviousBeyondTrust Password Safe SecretsNextHook Bridge

Last updated 12 days ago

Requirements

Linux Control Center = 2.10.X or higher

Objective

This manual aims to present all the features that the LCC Playbooks module offers.

Overview

In the Linux Control Center (LCC), the Playbooks module plays an important role in administration, providing users with the ability to execute custom playbooks on hosts managed by the LCC.

Executing a playbook through the LCC provides a complete view of the process, allowing you to monitor progress in real time and generate detailed reports. In addition, execution can be performed by Workflow, which allows you to make dynamic decisions based on the results of each step.

Uploading and Configuring Playbooks

  1. To get started, access the LCC and click on Playbooks in the left side menu.

  2. Click Create

  3. Enter a name to identify the playbook in the Name field.

  4. Click Upload File and choose the desired playbook from your computer.

  5. Note that the playbook name will be displayed in the Current File field.

  6. Click Save and the playbook will be saved in the LCC database.

  7. Click on the Playbook that was created and you will see the following screens:

General Information

  1. Screen that displays the date and time the playbook was created, the date and time of the last change and you can also change the information in the Name and Description fields. You can also download the file by clicking Download, delete it by clicking Delete and upload a new file by clicking Change File

Dynamic Variables in the Playbook

Similar to Customizable Scripts, playbooks also have the ability to insert variables. This allows the same playbook to be executed at different times with different values, offering adaptability as needed. The variable format is ${:::Variable name:::}, where Variable name is the identifier of that variable.

After creating the playbook with the variable in this format and uploading the file to the console, it will be possible to change its value directly through the LCC web interface whenever necessary. The updated value will be automatically saved in the playbook file saved in the database.

  1. See an example of implementation of this variable format

  • var_name: ${:::var_name:::}*

It is important to note that if variables are written with the same identifier/name, LCC will replace the value of the last variable entered by the user in all others. Therefore, it is recommended to use different names if the desired execution values ​​are different.

Playbook Content

  1. The Content screen displays all the playbook content. The image below shows the variable mentioned in the previous topic.

Execution Credentials

  1. On the Credentials screen, the LCC allows the Playbook to be executed with a different credential than the default lcc.local. It is possible to use Linux Credentials that are registered in the LCC console, Credentials from the Password Safe password vault by BeyondTrust through integration and through the LCC Hook Bridge Params functionality.

OS Release

  1. This functionality allows the Playbook to be executed only on a specific Linux Distribution. 1. Click Create

  2. Click Release, choose the Linux Distribution that the playbook will run on, and click Save.

Running Playbooks

  1. To run the playbook, simply access the Playbooks screen and click on Actions of the desired playbook.

  2. Click Run

  3. Choose which Host or Host Group the playbook will run on

  4. Click Yes and the playbook will run immediately.