Skip to content
Login

Lucidum has been acquired by Cyderes → [Read the announcement]

Lucidum has been acquired by Cyderes → [Read the announcement]

  • Home
  • Solutions
    • Modernize Siem Operations
    • Risk Vulnerability/
    • Data Management
    • CISO Tool Kit
  • Product
  • Company
    • About
    • Patents
    • Testimonials
  • Resources
    • White Papers
    • Documentation
  • Home
  • Solutions
    • Modernize Siem Operations
    • Risk Vulnerability/
    • Data Management
    • CISO Tool Kit
  • Product
  • Company
    • About
    • Patents
    • Testimonials
  • Resources
    • White Papers
    • Documentation
  • Home
  • Solutions

    Solutions

    • Modernize Sec Ops
    • Risk & Vulnerability
    • Data Management
    • CISO Tool Kit
    • MEGAMENU
  • Product
  • Company

    COMPANY

    • About Us
    • Testimonials
    • MEGAMENU
  • Resources

    Resource Library

    • Documentation
    • White Papers
    • Blogs
    • MEGAMENU

What is Lucidum?

  • Overview of Lucidum
  • Protected: Lucidum’s Machine Learning

Getting Started with Lucidum

  • Introduction to Getting Started with Lucidum
  • First Step: User Accounts and Proxy Server
  • Second Step: Connectors
  • Introduction to Dashboards
  • Use Cases for Dashboard

Proxy Server

  • Introduction to Proxy Server
  • Configuring a Proxy Server
  • Renewing a Proxy Server

Managing Users

  • Introduction to User Management
  • Creating and Managing User Accounts
  • Creating and Managing Roles
  • Enabling SSO
  • User Preferences

Connectors

  • Introduction to Connectors
  • Using Connectors
  • Connectors FAQs
  • List of Connectors
    • List of Connectors
    • 1
      • 1E Tachyon
    • A
      • Abnormal Security
      • Absolute
      • Acquia Security
      • Adaptive Shield
      • Addigy
      • Admin By Request
      • ADP
      • Adobe
      • Adobe Workfront
      • Aha!
      • Airlock
      • Airtable
      • Alcatel-Lucent OmniVista 2500
      • Alcide
      • Alert Logic Cloud Insight
      • AlertSite
      • Appgate Software Defined Perimeter (SDP)
      • Aqua
      • Archer Integrated Risk Management
      • Arista NDR
      • Aruba Central
      • Asana
      • Asset Panda
      • Atera
      • Aternity
      • Atlas Data Center
      • Attivo BOTsink
      • Automox
      • Auvik
      • Aviatrix Enterprise Platform
      • AWS
    • B
      • BambooHR
      • Baramundi
      • Barracuda CloudGen Access
      • Barracuda CloudGen Firewall
      • BeyondTrust BeyondInsight
      • BeyondTrust Endpoint Privilege Management
      • BeyondTrust Password Safe
      • BeyondTrust Privileged Identity
      • BeyondTrust Privilege Management for Windows
      • BigID
      • BigTime Projector
      • Bionic
      • Bitbucket
      • Bitdefender GravityZone
      • bitFit
      • BitSight Security Performance Management
      • BlackBerry Unified Endpoint Management (UEM)
      • Block 64 BlockBox
      • BlueCat Enterprise DNS
      • BlueCat Micetro DNS Management
      • BMC Helix CMDB
      • BMC Helix Discovery
      • BMC TrueSight Presentation Server
      • BMC TrueSight Server Automation
      • Box
      • Broadcom Symantec ProxySG
      • Buildkite
      • Burp Suite
    • C
      • CA Service Management
      • CA Spectrum
      • Cato SASE
      • Canonical Ubuntu Landscape
      • Censys
      • Centrify Identity Services
      • CFEngine
      • ChangeGear
      • Checkmarx SAST (CxSAST)
      • Check Point CloudGuard
      • Check Point Harmony Endpoint
      • Check Point Infinity
      • Check Point Infinity External Risk Management
      • Chef
      • Cherwell Service Management
      • Chorus
      • CIS-CAT Pro
      • Cisco Identity Services Engine (ISE)
      • Cisco Meraki
      • Cisco Secure Endpoint
      • Cisco TACACS
      • Cisco Umbrella
      • Cisco Vulnerability Management
      • Citrix Endpoint Management
      • Claroty
      • CloudConnexa
      • Cloudflare
      • CoalfireOne
      • Code42 Incydr
      • Cohesity
      • ColorTokens Xshield
      • ConnectWise Automate
      • CrowdStrike Falcon Endpoint Protection Platform
      • CrowdStrike Falcon LogScale
      • CSCDomainManager
      • CyberArk Endpoint Privilege Manager (EPM)
      • CyberArk Identity Security Platform Shared Services (ISPSS)
      • CyberCNS
      • Cybereason EDR
      • CyCognito
      • Cyera
      • CylancePROTECT
      • Cymulate
      • Cyware
    • D
      • Darktrace PREVENT
      • Databricks
      • Datadog
      • DataLocker SafeConsole
      • Datto Remote Monitoring and Management (RMM)
      • Dayforce
      • DefenseStorm
      • Delinea Privilege Manager
      • Delinea Secret Server
      • Dell Avamar
      • Dell Integrated Dell Remote Access Controller (iDRAC)
      • Dell OpenManage Enterprise
      • Device42
      • DigiCert CertCentral
      • Digital Guardian
      • DivvyCloud
      • DNS Made Easy
      • Docusign
      • Domain Certificate
      • Domotz
      • Dragos
      • Druva Cloud Platform
      • DTEX InTERCEPT
      • Duo Premier
      • Dynatrace
    • E
      • Eclypsium
      • Edgescan
      • EfficientIP SOLIDserver DDI
      • Elastic
      • Endgame
      • Eracent
      • ExtraHop Reveal(x)
      • ExtremeCloud IQ
      • Extreme Networks ExtremeWireless WiNG
      • EZOfficeInventory
    • F
      • F5 BIG-IP iControl
      • F5 BIG-IQ Centralized Management
      • F5 Distributed Cloud App Infrastructure Protection (AIP)
      • FireMon Security Manager
      • Flexera One
      • FlexNet Manager Suite for Cloud
      • Forcepoint Web Security
      • ForgeRock Directory Services
      • FortiClient Enterprise Management Server (FortiClient EMS)
      • FortiEDR
      • Fortify Software Security Center
      • Fortinet FortiGate
      • Fortra Vulnerability Management
      • Forward Networks
      • FreeIPA
      • Freshdesk
      • Freshservice
    • G
      • Gigamon GigaVUE-FM
      • Gigamon ThreatINSIGHT
      • GitHub
      • GitLab
      • GoDaddy
      • Google Cloud
      • Google Security Operations SIEM
      • Google Workspace Drive
      • Google Workspace Endpoint Manager
      • Greenbone OpenVAS
      • GreyNoise
      • Guardicore Centra Security Platform
      • GYTPOL
    • H
      • Halcyon Anti-Ransomware
      • HashiCorp Consul
      • HCL BigFix
      • Heimdal
      • Hexagon HxGN EAM
      • HiBob
      • HP Device Manager
      • HPE Integrated Lights-Out (iLO)
      • HPE Intelligent Management Center (IMC)
      • HPE OneView
      • HubSpot
      • HYPR Passwordless
    • I
      • IBM Hardware Management Console (HMC)
      • IBM MaaS360
      • IBM Maximo
      • IBM Security Guardium
      • IBM Security QRadar
      • IBM SevOne Network Performance Management (NPM)
      • IBM Security Randori Recon
      • IBM Tivoli Application Dependency Discovery Manager (TADDM)
      • iboss Zero Trust SASE (Secure Access Service Edge)
      • iCIMS
      • Icinga
      • IGEL Universal Management Suite (UMS)
      • Illumio Core Platform
      • Imperva SecureSphere Database Activity Monitoring (DAM)
      • Imprivata Privileged Access Management
      • INAP
      • Infinipoint Zero Trust Workforce Access Platform
      • Infoblox BloxOne DDI
      • Infoblox NetMRI
      • Intezer Protect
      • Intel Data Center Manager (DCM)
      • IP Fabric
      • Island Enterprise Browser
      • IT Glue
      • iTop
      • Ivanti Connect Secure
      • Ivanti Endpoint Security
      • Ivanti Neurons for Modern Device Management (MDM)
      • Ivanti Neurons for RBVM
      • Ivanti Security Controls
      • Ivanti Unified Endpoint Manager
    • J
      • Jamf Security Cloud
      • Jamf Pro
      • Jamf Protect
      • JetPatch
      • JFrog Artifactory
      • Jira Cloud Platform
      • JumpCloud
      • Juniper Junos
      • Juniper Junos Space
    • K
      • Kandji
      • Kaseya VSA
      • Kaspersky Security Center
      • Keycloak
      • KnowBe4
      • Kolide K2
    • L
      • Lacework
      • Lakeside Systrack
      • Lansweeper
      • LastPass
      • LaunchDarkly
      • LibreNMS
      • LimaCharlie
      • LinkedIn Sales Navigator
      • Litmos
      • LogicMonitor
      • LogMeIn Central
      • LogRhythm SIEM
      • Lookout Mobile EDR
      • Lucidchart
    • M
      • MalwareBytes
      • ManageEngine Endpoint Center
      • ManageEngine OpManager
      • ManageEngine OpUtils
      • ManageEngine ServiceDesk Plus
      • McAfee MVision Cloud
      • Medigate
      • Mice&Men DNS Management
      • Microsoft Active Directory
      • Microsoft Azure
      • Microsoft Configuration Manager
      • Microsoft Defender for Cloud Apps
      • Microsoft Defender
      • Microsoft Intune
      • Microsoft Lync
      • Microsoft Sentinel
      • Microsoft SharePoint
      • Microsoft System Center Virtual Machine Manager (SCVMM)
      • Monday.com
      • Mosyle
    • N
      • N-able
      • Nagios Core
      • Nagios XI
      • Nasuni
      • Nectus
      • NetApp ONTAP
      • NetBox
      • NetBrain
      • Netdisco
      • Netskope
      • NetSpyGlass
      • Netwrix Privilege Secure
      • New Relic
      • Nexthink Infinity
      • ngrok
      • NinjaOne
      • Nozomi Guardian
      • Nucleus
      • Nutanix AHV
    • O
      • Observium
      • Obsidian Security
      • Okta LDAP
      • Okta SSO
      • Omnissa Horizon 8
      • OnDMARC
      • OneLogin
      • Oomnitza
      • openDCIM
      • OpenLDAP
      • OpenStack
      • OpenText GroupWise
      • OpenText NetIQ Advanced Authentication
      • OpenText NetIQ Identity Manager
      • OpenText Network Node Manager i
      • OpenText Server Automation
      • OpenText SiteScope
      • OpenText Webroot Business Endpoint Protection
      • Opsgenie
      • OpsRamp
      • Opsview
      • OPSWAT MetaDefender IT Access
      • Oracle Cloud Infrastructure
      • Orca Cloud Visibility Platform
      • Oracle Communications Unified Assurance (OCUA)
      • Outpost24 Sweepatic EASM
      • oVirt
      • OX Security
    • P
      • PacketFence
      • PagerDuty
      • Palo Alto Networks Cortex XDR
      • Palo Alto Networks Cortex Xpanse
      • Palo Alto Networks IoT Security
      • Palo Alto Networks Panorama
      • Palo Alto Networks PAN‑OS
      • Palo Alto Networks Prisma Cloud Compute Edition
      • Palo Alto Networks Prisma Cloud CSPM
      • Palo Alto Networks Prisma Cloud CWP
      • Panorays
      • PaperCut
      • Parallels
      • phpIPAM
      • PingID
      • PingOne
      • PK Protect Data Protection Platform
      • PluralSight
      • Portnox Cloud
      • Pritunl
      • PrivX
      • Promisec
      • Proofpoint Identity Threat Defense
      • Proofpoint Insider Threat Management
      • Proofpoint Targeted Attack Protection (TAP)
      • Proofpoint Zero Trust Network Access (ZTNA)
      • Proxmox Virtual Environment (VE)
      • PRTG Network Monitor
      • Pulseway Remote Monitoring and Management (RMM)
      • Pulumi
      • Puppet
      • Pure Storage Pure1
    • Q
      • Qualys Cloud Platform (VM/PC)
      • Qualys Global AssetView
      • Quest KACE Endpoint Systems Management Appliance
      • Quip
    • R
      • Rancher
      • Rapid7 InsightAppSec
      • Rapid7 InsightCloudSec
      • Rapid7 InsightIDR
      • Rapid7 InsightVM (Cloud)
      • Rapid7 InsightVM
      • Rapid7 Nexpose Warehouse
      • RapidFort
      • Red Canary
      • Red Hat Ansible Automation Platform
      • Red Hat Identity Management (IdM)
      • Red Hat OpenShift
      • RedSeal
      • ReliaQuest GreyMatter Digital Risk Protection (DRP)
      • Ring Central
      • RiskIQ Illuminate
      • Riverbed SteelCentral Controller
      • Rubrik
      • runZero Network Discovery
    • S
      • Sage People
      • SailPoint IdentityIQ
      • SailPoint IdentityNow
      • Sal Endpoint Management
      • Salesforce
      • Salesforce ExtremeCloud IQ – Site Engine (XIQ-SE)
      • Salesloft
      • Samsung Knox
      • SAP Concur
      • Saviynt Enterprise Identity Cloud (EIC)
      • Scale Computing HyperCore
      • Schneider Electric EcoStruxure IT
      • ScienceLogic
      • ScopNET
      • Sectigo Certificate Manager (SCM)
      • SecureW2 JoinNow MultiOS
      • Secureworks Taegis VDR
      • Secureworks Taegis XDR
      • SecurityScorecard
      • Sensu Go
      • SentinelOne Singularity Network Discovery
      • SentinelOne Singularity XDR
      • Sentry
      • Server Message Block
      • ServiceNow
      • SFTPGo
      • Shodan
      • Signal Sciences
      • SimpleMDM
      • Site24x7
      • Skybox Firewall Assurance
      • Slack
      • Smartsheet
      • Snipe-IT
      • Snow Software
      • Snyk
      • SolarWinds
      • Sonatype IQ Server
      • SonicWall Network Security Manager
      • SonicWall SonicOS
      • Sophos Central
      • Sophos Endpoint Protection
      • SOTI MobiControl
      • Spacewalk
      • Specops Inventory
      • Spiceworks
      • Splunk
      • StatusCake
      • Sumo Logic
      • Sunbird dcTrack
      • Symantec Cloud Workload Protection (CWP)
      • Symantec Control Compliance Suite (CCS)
      • Symantec Data Loss Prevention (DLP)
      • Symantec Endpoint Management Suite
      • Symantec Endpoint Protection
      • Syxsense Secure
    • T
      • Tableau
      • Tailscale
      • Tanium Discover
      • TCPWave DDI
      • TeamViewer Remote Management
      • Tenable Cloud Security
      • Tenable Nessus
      • Tenable OT Security
      • Tenable Security Center
      • Tenable Vulnerability Management
      • Teqtivity
      • Thinkst Canary
      • ThreatConnect
      • TOPdesk Enterprise Service Management (ESM)
      • Torii
      • Trellix Endpoint Security (HX)
      • Trellix ePolicy Orchestrator
      • Trend Micro Cloud App Security
      • Trend Micro Vision One
      • Trend Micro Worry-Free Services
      • Tufin SecureTrack+
    • U
      • UKG Pro
      • UniFi Controller
      • Universal SSH Key Manager
      • UpGuard Vendor Risk
      • Uptycs
    • V
      • Vectra AI
      • Veeam Backup & Replication
      • Venafi Trust Protection Platform
      • Veracode
      • Vercara UltraDNS
      • VMware Carbon Black Cloud Audit and Remediation
      • VMware Carbon Black Cloud Workload
      • VMware Carbon Black Endpoint
      • VMware Tanzu Application Service (TAS)
      • VMware vCloud Director (VCD)
      • VMware Virtualization Platform
      • VMware vRealize
      • VMware vRealize Automation SaltStack Config
      • VMware Workspace ONE
      • Vulcan Cyber
    • W
      • Wasp AssetCloud
      • Wazuh
      • WhatsUp Gold
      • WithSecure Elements Endpoint Protection
      • Wiz
      • Workday
    • Z
      • Zabbix
      • Zenoss Cloud
      • ZeroFox
      • Zerto
      • Zoom
      • Zscaler Client Connector
      • Zscaler Deception
      • Zscaler Internet Access
      • Zscaler Private Access

Viewing Data

  • Overview of the Lucidum Data Model
  • Quick Start: Understanding Data in Your Lucidum System
  • Viewing Data About All Assets, All Users, and All Vulnerabilities
  • Viewing Details about Individual Assets, Users, or Vulnerabilities
  • Viewing Details About Data Sources for Assets and Users

Using Queries

  • Queries and Data
  • Creating Queries
  • Saved Queries and Historical Queries
  • Using MetaBlocks with Saved Queries
  • Using Queries with Nested Lists
  • Appendix: Fields in the Lucidum Data Group
  • Appendix: Data Types, Operators, and Regular Expressions

Dashboards

  • Overview of Dashboards
  • Channels
  • Viewing a Dashboard
  • Viewing Charts
  • Creating a Dashboard
  • Creating a Chart
  • Managing a Dashboard
  • Managing Charts
  • Using MetaBlocks with Dashboards
  • Exporting and Importing a Dashboard

Value-Oriented Dashboards (VODs)

  • Overview of Value-Oriented Dashboards
  • Cloud Dashboards
  • Identity Dashboards
  • Inventory Dashboards
  • Security & IT Ops Dashboards
  • Threat Intelligence Dashboards

Streamlining Queries with SmartLabels and Tags

  • Introduction to Tags and Smart Labels
  • Overview of Tags
  • Migrating Custom Fields to Tags
  • Creating and Managing Tags
  • Overview of SmartLabels
  • Migrating Dynamic Fields to SmartLabels
  • Creating and Managing SmartLabels
  • Using Functions in SmartLabels
  • Using MetaBlocks with SmartLabels
  • Exporting and Importing SmartLabels
  • Examples for Tags and SmartLabels

Value-Oriented SmartLabels (VOSLs)

  • Overview of Value-Oriented SmartLabels
  • Using Value-Oriented SmartLabels

MetaBlocks

  • Introduction
  • Creating and Managing MetaBlocks
  • Exporting and Importing MetaBlocks
  • Example MetaBlocks

Actions

  • Overview of Actions and Actions Workflows
  • List of Actions
    • List of Actions
    • A
      • Active Directory Actions
      • Atera Actions
      • Automox Actions
      • AWS Actions
    • B
      • Barracuda Actions
      • BigPanda Actions
      • BitSight Actions
      • BMC Helix CMDB Actions
    • C
      • Checkmarx Actions
      • Check Point Infinity Actions
      • Cisco AppDynamics Actions
      • Cisco Vulnerability Management (formerly Kenna VM) Actions
      • Commvault Actions
      • Connectwise Automate Actions
      • CrowdStrike Falcon Endpoint Protection Actions
      • Crowdstrike Falcon LogScale Actions
      • CyberArk Actions
      • Cybereason Actions
      • Cyderes Actions
    • D
      • Darktrace Actions
      • Databricks Actions
      • Datadog Actions
      • Delinea Actions
      • Delinea Secret Server Actions
      • Digital Defense Fortra Vulnerability Manager (formerly Frontline VM) Actions
      • Dynatrace Actions
    • E
      • Elastic Cloud Actions
      • Email Actions
      • Exabeam Actions
    • F
      • F5 BIG-IQ Centralized Management Actions
      • F5 Distributed Cloud App Infrastructure Protection (AIP) (formerly F5 Threat Stack) Actions
      • Forescout Actions
      • Fortinet FortiGate Actions
      • Fortra HelpSystems Actions
      • Freshworks Actions
    • G
      • Google Security Operations SIEM Actions
      • Google Security Operations SOAR Actions
    • H
      • Halo Service Solutions Actions
      • HappyFox Actions
      • Heimdal Security Actions
      • Hunters Actions
    • I
      • IBM QRadar Actions
      • Imperva Actions
      • Infoblox Actions
      • Ivanti Endpoint Security Actions
      • Ivanti Security Controls Actions
      • Ivanti Unified Endpoint Manager Actions
    • J
      • Jira Cloud Actions
      • JumpCloud Actions
    • K
      • Kaspersky Security Center Actions
      • KnowBe4 Actions
    • L
      • LogicMonitor Actions
      • LogRhythm Actions
    • M
      • ManageEngine Endpoint Center Actions
      • ManageEngine ServiceDesk Plus Actions
      • Microsoft Azure Monitor Actions
      • Microsoft Defender Actions
      • Microsoft Sentinel Actions
      • Microsoft System Center Service Manager Actions
      • Microsoft Teams Actions
      • Moogsoft Actions
    • N
      • New Relic Actions
    • O
      • Okta Actions
      • One Identity Actions
      • OpenTelemetry Action
      • Opsgenie Actions
      • Optiv Actions
      • Orca Cloud Visibility Platform Actions
    • P
      • Pager Duty Actions
      • Palo Alto Networks Cortex XDR Actions
      • Palo Alto Networks Panorama Actions
      • Proofpoint SIEM Actions
    • Q
      • Qualys Cloud Platform Actions
      • Qualys Global AssetView Actions
    • R
      • Rackspace Cloud Actions
      • Rapid7 Actions
      • Recorded Future Actions
      • RiskIQ Illuminate Actions
    • S
      • SailPoint Actions
      • Salesforce Actions
      • ScienceLogic Actions
      • Secureworks Taegis XDR Actions
      • SentinelOne Singularity XDR Actions
      • ServiceNow Actions
      • Slack Actions
      • Snowflake Actions
      • SolarWinds Actions
      • Sophos Central Actions
      • Splunk Actions
      • Sumo Logic Actions
      • SysAid Actions
    • T
      • Tanium Discover Actions
      • Telos Actions
      • Tenable Vulnerability Management Actions
      • ThreatConnect Actions
      • ThreatQuotient Actions
      • TOPdesk Enterprise Service Management (ESM) Actions
      • Trellix Actions
      • Trellix ePolicy Orchestrator Actions
      • Trend Micro Cloud App Security Actions
      • Trend Micro Vision One Actions
      • Trustwave MailMarshal Actions
    • W
      • Webhook Actions
      • Webroot Business Endpoint Protection Actions
      • Wiz Actions
    • Z
      • ZeroFox Actions

Risk

  • Introduction to Risk
  • Risk Measurements

Use Cases

  • Overview of Use Cases
  • Full Inventory of Assets and Users
  • Full Inventory of Assets for Providers
  • Assets with End-of-Life Operating Systems
  • AWS Security Groups
  • Azure Lift and Shift
  • Binding Operational Directives
  • Certificates About to Expire or Already Expired
  • Cloud Resources and Cost
  • How Secure Are Your Assets?
  • Identity and Access Management
  • Lucidum and Cyber Insurance Requirements
  • Lucidum Normalization
  • Microsoft Defender Missing
  • Microsoft Sentinel Missing
  • Sending Lucidum Data to Microsoft Sentinel
  • Unencrypted Storage
  • Zero-Day Vulnerabilities
  • Zero-Day Vulnerabilities and CVEs
  • Zombie Users and Improper Offboardings
  • Cybersecurity Regulations for the Kingdom of Saudi Arabia
    • Overview of Cybersecurity Controls
    • Asset Management
    • Business Continuity and Disaster Recovery
    • Cloud Security
    • Compliance
    • Configuration Management
    • Continuous Monitoring
    • Data Classification and Handling
    • Endpoint Security
    • Identification and Authentication
    • Incident Response
    • Threat Management

Running Headless with Webhooks

  • Overview of Webhooks
  • Creating a Webhook Configuration
  • Creating Queries
  • Creating a Webhook Action
  • Use Case: Sumo Logic

Lucidum API v1

  • Introduction
  • Tokens, Response Codes, Pagination, Methods, Caveats
  • Authentication
  • Endpoints
  • Examples

Lucidum API v2

  • Overview of Lucidum API v2
  • Authentication in API v2
  • Endpoints for Assets and Users
  • Endpoints for Assets and Users with LDG Data Only
  • Endpoints for Change Management
  • Endpoints for System Metrics
  • Endpoints for Connectors and Connector Profiles
  • Endpoints for Data Ingestion
  • Endpoints for SmartLabels
  • Pagination
  • Response Codes
  • Operators and Data Types
  • Examples for Lucidum API v2

Managing Your Lucidum System

  • Introduction to Managing Your Lucidum System
  • API Token Management
  • Data Scheduler
  • License Settings
  • Notifications
  • System Preferences
  • System Settings
  • Theme Management

Lucidum MoM (Manager of Managers)

  • Introduction to Lucidum MoM
  • Adding Lucidum Systems (Deployments) to MoM
  • Adding Users to MoM

Sending Alerts to Slack

  • Introduction
  • Installing and Configuring the Lucidum App
  • Using the Lucidum App

Using the Luci Chatbot

  • Using the Luci Chatbot

Videos

  • AWS Connector Videos
  • Slack Actions Video
View Categories
  • Home
  • Docs
  • Streamlining Queries with SmartLabels and Tags
  • Using Functions in SmartLabels

Using Functions in SmartLabels

Estimated Reading Time: 54 min read

Overview of Functions in SmartLabels #

To provide additional flexibility in SmartLabels, Lucidum provides functions that allow you to manipulate ingested data before including that data in a SmartLabel.

For example, you can concatenate ingested data, apply a regular expression to ingested data, and perform mathematical actions like addition, division, subtraction, and multiplication on ingested data.

Lucidum includes the following functions for SmartLabels:

Function Description Field Type(s) (Inputs) Label Type (Output)
Add Add a value to a fieldFor example, increase monthly server cost by $50:Add [Monthly Cost] 50

The add function finds the sum of the value of the Monthly Cost field plus 50.

FloatInteger FloatInteger
Average Calculates the average from a list of valuesFor example, find the average CVSS value for a device:Average [CVSS Score List]

The Average function calculates the average CVSS score from the list of CVSS scores for an asset.

List Float
Concatenate Creates a new string by joining field values and textField values can be strings, integers, or listsFor example:

[Lucidum Asset Name] has [CPU https://lucidum.io/docs/using-functions-in-smart-labels/#concat_functionCores] CPU Cores

The resulting string is [Lucidum Asset Name] has [number] of CPU cores.

IntegerListString String
Convert to Date Time Converts raw, ingested date and time values (stored as strings) to standard (epoch-based) Date Time ValuesFor example, you could convert the raw First Logon Time string that Lucidum ingested from Oracle to a Date Time format:Convert to Date Time [First Logon Time Oracle] String Date Time
Count Provides a count of values for a Lucidum fieldFor example, you could count the MAC addresses on each Lucidum asset:Count [MAC Address] Integer Integer
Divide Divide a field by an integer or floatFor example:divide [memory ] by 1024

to convert from Mb to Gb

FloatInteger FloatInteger
Extract Value Retrieves values from a field that contains an array of  key:value pairs. In Lucidum these are called Nested Lists (Strings).For example, we could search the Extra Values field for each asset and extract the CIDR subnet value.[Extract Value field =Extra Field Key=subnet_cidrblock ]Value

This looks at the field “Extra Field”, searches for entries where the Key is “subnet_cidrblock” and returns the value in the Value column.

Nested List (String)See Using Queries with Nested Lists for details on nested lists. String
Extract Value from List with Regular Expression Examines a List field and extracts entries that match a specified regular expression.

For example, suppose we want to find all assets with an IP address that starts with “192”.

[Extract Value from List with Regular Expression field =IP Address regex =^192*

List String
Extract Value with Regular Expression Uses a regular expression to retrieves values from a field that contains an array of  key:value pairs. In Lucidum these are called Nested Lists (Strings).For example, we could search the Data Source Details field for each asset, search for assets where the Data Sources sub-field matches the regular expression “Crowdstrike Host”, and then extract the value from the OS and version sub-field.[Extract Value field =Data Source Details Key=Data Sources regex = Crowdstrike Host ]OS and Version

This looks at the field “Data Source”, searches for entries where Data Sources match “Crowdstrike Host”, and returns the value in the OS and Version column.

Nested List (String)See Using Queries with Nested Lists for details on nested lists. String
Max Finds the maximum value from a list of valuesFor example, find the maximum CVSS value for a device:Max [CVSS Score List]

The Max function finds the highest CVSS score from the list of CVSS scores for an asset.

List Float
Min Finds the minimum value from a list of valuesFor example, find the minimum CVSS value for a device:Max [CVSS Score List]

The Min function finds the lowest CVSS score from the list of CVSS scores for an asset.

List Float
Multiply Multiplies field by a integer or float or vice versaFor example:multiply [memory ] by 1024

to convert from Gb to Mb

FloatInteger FloatInteger
Regular Expression Use pcre2 regular expressions to find a match within a fieldFor details on pcre2 regular expression syntax, see https://www.pcre.org/current/doc/html/pcre2syntax.htmlFor example, retrieve the host name for an asset so you can build an FQDN:

Regular Expression [Latest Asset Name] (\w+)

String String
Split Split the value of a field immediately after the delimiter. If the delimiter occurs multiple times, the split occurs multiple times alsoFor example:Split [Security Group ID] sg-

This example will create list items that include only the numeric part of a security group ID.

String List
Substring Extracts a value from a field. You must know the the number of characters you want to extract.For example, if you know that all asset names include the prefix “AWS_S3|”, you could  strip that out from the asset name with the substring function:substring [Lucidum Asset Name] 8 0

This example extracts the character 8 through the end of the field value.

So “AWS_S3|Lucidum-Test-Files” would be split and the result would be “Lucidum Test Files”

String String
Subtract Subtract a value from a fieldFor example, decrease monthly server cost by $50:Subtract [Monthly Cost] 50

The subtract function finds the sum of the value of the Monthly Cost field minut 50.

FloatInteger FloatInteger
Sum Calculates the sum of a values in a sub-field in a nested list fieldFor example, sum of all CVSS scores for an asset:Sum [Vulnerabilities::CVSS]

This function applies to SmartLabels of type Nested List where the sub-field (CVSS in the example above) is a Float or Integer.

NOTE: For details on nested list fields and how to use them in queries, see the section on Queries with Nested Lists.

ListNested ListSee Using Queries with Nested Lists for details on nested lists. FloatInteger

Add #

The Add function add a field value or a number to another field value or number.

This function applies to SmartLabels and fields of type Float and type Integer.

NOTE: For details about the fields in Lucidum and the data type for each field, see see the chapter on Fields and Regular Expressions.

For example, suppose we want to calculate the sum of an upcoming increase in monthly cost of each virtual machine. We could use the Add function to do this.

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    add_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Increased server cost“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Integer.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Calculate the total increase in monthly cost for windows server“
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    add_function2.png

  6. In this query, we searched for all assets that are running one of the Windows Servers operating system.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Find all Windows Servers and calculate monthly cost + $50“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    add_function3_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Add.

    • Input fields. We clicked the plus-sign icon (+) and selected Field and then selected the field Monthly Cost (US Dollar). Note that only fields of type Integer or type Float appear as enabled.

    • Input Fields. We clicked the plus-sign icon (+) and selected the Number and then entered 50.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets running a Windows Server operating system), find the Monthly Cost value for the asset and add $50.

  12. We could create a chart showing the increased cost for each virtual machine and the sum of the increased costs for virtual machines.

Average #

The Average function calculates the average from a list of values.

This function applies to SmartLabels and fields of type List. The output value is of type Float.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to calculate the average CVSS score for each asset. We could use the Average function to do this. But first, we need to create a list of CVSS scores (instead of the nested list that the scores appear in).

Create a List of CVSS Scores #

First we would create a SmartLabel called CVSS Score List, where we extract the CVSS scores from the field Vulnerabilities::CVSS Score.

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears.

    average_function_example1_23.0.png

  3. First we would create a SmartLabel called CVSS Score List, where we extract the CVSS scores from the field Vulnerabilities::CVSS Score. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “CVSS Score List“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose List.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Extract a list of CVSS Scores for an asset“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    cvss_score_list_2.png

  6. In this query, we searched for all assets where the field Vulnerabilities::CVSS Score exists.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We accepted the default.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Assets where Vulnerabilities::CVSS Score exists.”.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    cvss_score_list_3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Extract Value with Regular Expression. This function retrieves values from a field that contains an array (a set of name:value pairs). When a column value matches the specified regular expression, Lucidum retrieves the value of another related column in that record. The field Vulnerabilities::CVSS is part of an array.

    • Field. We selected Vulnerabilities.

    • Column to Filter On. We select CVE. This tells Lucidum to search for CVE data inside the Vulnerabilities array, instead of EPSS data, KEV data, or Lucidum Verified Risk data.
    • Regular Expression. We entered “.*”. This regular expression says “find all CVE names in the CVE column.

    • Column to Return. We specified CVSS Score. This tells Lucidum to return the CVSS scores for each CVE that matches the regular expression.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets running that have the field Vulnerabilities::CVSS Score), find all the CVE records and then extract the CVSS score from each record. The SmartLabel CVSS Score List will store a list of CVSS scores for assets that match the query.

Calculate Average CVSS Score #

To calculate the Average CVSS Score, using the Average function:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears.

    average_function_example2_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “CVSS Score Average“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Float.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Calculate Average CVSS Score for an asset“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    cvss_average_2.png

  6. In this query, we searched for all assets where the field CVSS Score List exists. CVSS Score List is the SmartLabel we created in the previous section. This SmartLabel creates a list of CVSS Scores for an asset.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We accepted the default.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Assets where CVSS Score List.”.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    cvss_average_3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Average.

    • Field. We selected CVSS Score List. This is the SmartLabel we created in the previous section. This SmartLabel creates a list of CVSS Scores for an asset.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets running that have the field CVSS Score List), calculate the average CVSS Score.

Concatenate #

The Concatenate function creates a new string by joining field values and text.

This function applies to SmartLabels and fields of type String or List. The output value is of type String.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to display how Lucidum enriches and normalizes data about operating systems. We could use the Concatenate function create a string that shows the original, raw OS name and version and the Lucidum normalized OS and version. To do this:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    concatenate_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Operating System: Raw vs. Normalized“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose String.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Calculate the total increase in monthly cost for windows server“
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    concat_function2.png

  6. In this query, we searched for all asset records that include the Lucidum OS Version and the raw OS and Version from a data source.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Concatenate raw OS value with Normalized OS value and provide descriptors“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    concat_function4_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Concatenate.

    • Default String for Null Value. In Lucidum, if a field does not return a value, Lucidum stores the value as “null” and does not display a value in the UI. In this field, you can enter a string value to display for null values. We entered “null”.

    • Input fields. We clicked the plus-sign icon (+) and selected String and then entered “Raw OS value from data source:”.
    • Input Fields. We clicked the plus-sign icon (+) and selected the Field and then selected OS and Version. Note that only fields of type String appear as enabled.

    • Input fields. We clicked the plus-sign icon (+) and selected String and then entered “> Lucidum normalized OS:”.
    • Input Fields. We clicked the plus-sign icon (+) and selected the Field and then selected Lucidum OS and Version. Note that only fields of type String appear as enabled.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets records with entries for Lucidum OS Version (enriched value) and OS and Version (raw value)), and create a single string “Raw OS value from data source: [OS and Version] > Lucidum normalized OS: [Lucidum OS Version]”.

Convert to Date Time #

By default, Lucidum stores the raw, ingested timestamps from data sources as strings. The Convert to Date Time function converts those strings to standard Date Time format.

NOTE: Lucidum automatically converts the standard field, Last Logon Time, to date time format. The Convert to Date Time function is for converting raw data to Date Time format.

The inputs for this function are SmartLabels and fields of type String. The output is of type Date Time.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to choose the value of Last Logon Time to use instead of using the standard Lucidum value. We could say that we want to use the value of Last Logon Time returned by Oracle Cloud. We could create a SmartLabel that uses the Extract function to retrieve the value of Last Logon Value from the unprocessed data ingested by the Oracle Cloud connector.

However, to send this value to third-party systems (like SIEMS) and to display this value in the Lucidum UI, we must convert the extracted string to a value in Date Time format.

We can use the Convert to Date Time function to do this.

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    convert_to_datetime_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Customizable Last Logon Time in Date Time Format“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Date Time.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose User.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Converts the extracted Last Logon Time from the SmartLabel “Customizable Last Logon Time in String Format“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    convert_to_date_time_function_2.png

  6. In this query, we searched for all asset records that include the SmartLabel Customizable Last Logon Time in String Format. This is a SmartLabel that extracts the raw value for Last Logon Time from a specified Connector. In our example, we extracted the value of Last Logon Time from Oracle Cloud.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “User can specify Data Source3 to use for Last Logon Time.”.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    convert_to_date_time_function_3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Convert to Date Time.

    • Field. We selected the SmartLabel Customizable Last Logon Time in String Format.

  11. This SmartLabel specifies: For each asset record that includes a value for the SmartLabel Customizable Last Logon Time in String Format, convert the value to Date Time format and store the value in the SmartLabel Customizable Last Logon Time in Date Time Format.

Count #

The Count function provides a count of values for a Lucidum field.

This function applies to SmartLabels and fields of type Integer.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want a count of MAC addresses on each asset so we can determine which assets have more than one NIC. To see the total number of MAC address per asset, we could create the following SmartLabel, using the Count function.

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    count_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “MAC Address Count“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Integer.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Count the number of MAC addresses on assets so that we can filter on those with more than one NIC“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    count_function2a.png

  6. In this query, we searched for all asset records that include a MAC Address.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Count MAC Addresses“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    count_function3_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Count.

    • Input Fields. We clicked the plus-sign icon (+) and selected the Field and then selected MAC Address. Note that only fields of type Integer appear enabled.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets records with entries for MAC Address), provide a count of the number of MAC Addresses per asset.

Divide #

The Divide function divides an integer or float field or a specified value by a specified value or by another field.

This function applies to SmartLabels and fields of type Integer or Float.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to display the daily cost for virtual machines. We could divide the field Monthly Cost (US Dollars) by 30.  To do this:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    divide_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Daily  Cost of  VMs“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Float.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Divide the Monthly Cost of VMs by 30“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    divide_function2.png

  6. In this query, we searched for all asset records that include a value for Monthly Cost.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Assets with Monthly Cost“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    divide_function3_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Count.

    • Input Fields. We clicked the plus-sign icon (+) and selected Field and then selected Monthly Cost (US Dollars). Note that only fields of type Integer or Float appear enabled.

    • Input Fields. We clicked the plus-sign icon (+) and selected Number and then entered 30.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets records with entries for Monthly Cost), divide the monthly cost by 30 to derive a daily cost.

Extract #

The Extract function retrieves values from a field that contains an array of key:value pairs.

This function applies to SmartLabels and fields of type List. The input is a List. The output is a String.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, we could search the Extra Values field for each asset and use the Extract function to extract the VPC CIDR subnet value. To do this:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    extract_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “VPC Subnet CIDR Block“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose String.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Extract all AWS VPC subnets“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    extract_function2.png

  6. In this query, we searched for all asset records that included the array field Extra Data and in that array has the Key (similar to a column name) subnet_cidrblock.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Extract VPC subnet CIDR block“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    extract_function3_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Extract Value.

    • Field. We selected Extra Data. Note that only fields of type List appear enabled.

    • Column to Filter On. We selected Key. We will search this column for the value in Match String.

    • Match String. We selected subnet_cidrblock. We will search the Key column for the value subnet_cidrblock.

    • Column to Return. We selected Value. For each row where the Key column includes the value subnet_cidrblock, we want to extract the value of the column Value. This value will be the CIDR subnet.

  11. This SmartLabel specifies: For each asset record returned by the query (find all asset records that contain the Extra Data field and the Key column contains subnet_cidrblock), extract and return the value of the Value column (the CIDR subnet address).

Extract Value from List with Regular Expression #

The Extract Value from List with Regular Expression function examines a List field and extracts entries that match a specified regular expression.

This function applies to SmartLabels and fields of type List. The input is a List. The output is a String.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to find all assets with an IP address that starts with “192”. We could create the following SmartLabel:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. In the My SmartLabels tab, click the Add icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    extract_value_from_list_with_regex_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Extract all the IPs that start with 192“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose String.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Extract Value from List with Regular Expression“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    extract_from_list_with_regex_2.png

  6. In this query, we searched for all asset records that include the field Lucidum Asset Name.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “All Lucidum Assets“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    extract_from_list_with_regex_3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Extract Value from List with Regular Expressions.

    • Field. We selected IP Address . Note that only fields of type List appear enabled.

    • Regular Expression. You can enter a text string or any regular expression supported by PCRE2. We entered ^192*. This means “find any string that starts with 192”.

  11. This SmartLabel specifies: For each asset record returned by the query (all asset records that contain the Lucidum Asset Name field), search the IP Address field for IP addresses that start with “192”.
  12. The SmartLabel Extract all the IPs that start with 192 will not appear as a field in all assets that include an IP address that starts with 192. To easily find these assets, you can use the Query Tool to search for assets where the SmartLabel Extract all the IPs that start with 192 exists.

Extract Value with Regular Expression #

The Extract Value with Regular Expression function retrieves values from a field that contains an array (a set of name:value pairs). When a column value matches the specified regular expression, Lucidum retrieves the value of another column in the record.

This function applies to SmartLabels and fields of type String. The input is a Nested List (String). The output is a String.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to choose the OS and Version value to use instead of using the standard Lucidum value. We could say that we want to use the value of OS and version returned by (in priority order) :

  1. Crowdstrike
  2. VMware
  3. Active Directory

We could search the Data Source Details field for each asset, search the column Data Sources for those that match a regular expression (for example, “Crowdstrike Host”), and extract the value of the OS and Version column. To do this:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. In the My SmartLabels tab, click the Add icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    extract_value_with_regex_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Best OS“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose String.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Select and prioritize the OS values from different data sources“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    extract_value_with_regex_function_2.png

  6. In this query, we searched for all asset records that included the array field Data Source Details and in that array has the column name Data Sources. In the column Data Sources, we searched for the regular expression “Crowdstrike Host”. If an asset matches all these parameters, the function extracts the value of the OS and Version column and stores the value in the SmartLabel Best OS.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “OS from Crowdstrike (top priority)“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    extract_value_with_regex_function_3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Extract Value with Regular Expressions.

    • Field. We selected Data Source Details. Note that only fields of type Nested List (String) appear enabled.

    • Column to Filter On. We selected Data Sources. We will search this column for the value in Regular Expression.

    • Regular Expression. You can enter a text string or any regular expression supported by PCRE2. We entered Crowdstrike Host.
    • Column to Return. We selected OS and Version. For each row where the Data Sources column includes “Crowdstrike Host”, we want to extract the value of the column OS and Version. For the asset, the SmartLabel Best OS will contain the value of OS and Version.

  11. This SmartLabel specifies: For each asset record returned by the query (find all asset records that contain the Data Source Details field and the Data Sources column contains “Crowdstrike Host”, extract and return the value of the OS and Version. The asset record will include the SmartLabel Best OS. The value of Best OS will be the extracted value from OS and Version.
  12. Repeat steps 4-11, substituting VMware Host (priority 2) where you previously entered Crowdstrike Host.

  13. Repeat steps 4-11, substituting Active Directory Computer (priority 3) where you previously entered Crowdstrike Host.

  14. The SmartLabel will now populate the SmartLabel Best OS with either the OS and Version value from Crowdstrike (first priority), VMware (second priority), or Active Directory (third priority).

Max #

The Max function finds the maximum value from a list of values.

This function applies to SmartLabels and fields of type List. The output value is of type Float.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to calculate the maximum CVSS score for each asset. We could use the Max function to do this. But first, we need to create a list of CVSS scores (instead of the nested list that the scores appear in). For details, see Create a List of CVSS Scores.

To calculate the Maximum CVSS Score, using the Max function:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears.

    max_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “CVSS Score Maximum “.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Float.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Calculate Max CVSS Score for an asset“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    cvss_average_2.png

  6. In this query, we searched for all assets where the field CVSS Score List exists. CVSS Score List is the SmartLabel we created in the previous section. This SmartLabel creates a list of CVSS Scores for an asset.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We accepted the default.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Assets where CVSS Score List.”.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    cvss_max_3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Max .

    • Field. We selected CVSS Score List. This is the SmartLabel we created in the previous section. This SmartLabel creates a list of CVSS Scores for an asset.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets running that have the field CVSS Score List), finds the maximum CVSS Score.

Min #

The Min function finds the minimum value from a list of values.

This function applies to SmartLabels and fields of type List. The output value is of type Float.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to calculate the minimum CVSS score for each asset. We could use the Min function to do this. But first, we need to create a list of CVSS scores (instead of the nested list that the scores appear in). For details, see Create a List of CVSS Scores.

To calculate the Minimum CVSS Score, using the Min function:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears.

    min_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “CVSS Score Minimum “.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Float.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Calculate Min CVSS Score for an asset“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    cvss_average_2.png

  6. In this query, we searched for all assets where the field CVSS Score List exists. CVSS Score List is the SmartLabel we created in the previous section. This SmartLabel creates a list of CVSS Scores for an asset.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We accepted the default.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Assets where CVSS Score List.”.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    cvss_min_3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Min .

    • Field. We selected CVSS Score List. This is the SmartLabel we created in the previous section. This SmartLabel creates a list of CVSS Scores for an asset.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets running that have the field CVSS Score List), finds the minimum CVSS Score.

Multiply #

The Multiply field nultiplies field by another field or by  an integer value or float value.

This function applies to SmartLabels and fields of type Integer or Float.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, supposed we want to multiply the value of Data Risk by five if that data is stored on assets in the Legal department, because that data is most sensitive. To do this:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    multiply_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Data Risk Adjusted“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Integer.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Adjust the data risk value according to department“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    multiply_function2.png

  6. In this query, we searched for all asset records where the Department field has the value Legal.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Multiple legal data risk by 5“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    multiply_function3_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Multiply.

    • Input Fields. We clicked the plus-sign icon (+) and selected Field and then selected Data Risk. Note that only fields of type Integer or type Float appear enabled.

    • Input Fields. We clicked the plus-sign icon (+) and selected Number and then entered 5.

  11. This SmartLabel specifies: For each asset record returned by the query (find all asset records where the Department field has a value of Legal), multiply the value of Data Risk by 5.

Regular Expression #

The Regular Expression function uses pcre2 regular expressions to find a match within a field.

NOTE: For details on pcre2 regular expression syntax, see https://www.pcre.org/current/doc/html/pcre2syntax.html

This function applies to SmartLabels and fields of type String.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to retrieve the host name for an asset from its FQDN. To do this with the Regex function:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    regex_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Extract Host Name from FQDN“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose String.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Validate regex extraction of a subpattern from Latest Asset Name string field“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    regex_function2.png

  6. In this query, we searched for all asset records where the Latest Asset Name field matches word.word.word. A word is any combination of letters a-z and numbers 0-9. For example , if the FQDN is db1.mycompany.com., “db1”, “mycompany”, and “com” are all considered words (combination of letters a-z and numbers 0-9)

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Multiple legal data risk by 5“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    regex_function3_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Regular Expression.

    • Field. We selected the field Latest Asset Name. Note that only fields of type String appear enabled.

    • Regular Expression. We entered (\w+). This regular expression says “match any number of word characters (alphabet characters and 0-9 numbers) until you come to the first non-word character”. So this regular expression will find the hostname, the first word in a FQDN.

  11. This SmartLabel specifies: For each asset returned by the query (asset record that includes a FQDN in the field Latest Asset Name ), retrieve the first word (the hostname) from the FQDN.

Split #

The Split function splits the value of a list field immediately after the delimiter. If the delimiter occurs multiple times, the split occurs multiple times also. The Split function creates a new list.

This function applies to SmartLabels and fields of type String and its output is a List.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to split email addresses so we can find a count of users per email domain. To do this with the Split function:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    split_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Email Domain“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose List.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose User.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Split the email address into user and domain“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    split_function2a.png

  6. In this query, we searched for all user records that include a value in the Email field.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Split the email address into user and domain“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    split_function3a_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Split.

    • Field. We select the field Email. We will split the value in this field. Note that only fields of type List appear enabled.
    • Delimter. We entered “@” (ampersand). The Split function will create a list with two entries: the user name, and the domain. For example, for [email protected], we could get a list with two entries: john.doc, company.com.

  11. This SmartLabel specifies: For each user record returned by the query (user record includes a value in the Email field), split the value into two values, one to the left of the @ symbol and one to the right of the @ value.

  12. We can then query all user records where the value of the field Email Domain matches one of the following: \.com$,\.net$\.edu$,\.gov$\.io$,\.ai$. We could sort the results by Lucidum User Name. We could then create a pie chart that displays number of users per email domain:

    split_function4.png

Substring #

The Substring function extracts a value from a string field. You must know the the number of characters you want to extract.

This function applies to SmartLabels and fields of type String.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we want to shorten department names to fit in Lucidum charts and to send to an external system that limits department names to three characters. We can use the Substring function to shorten department names. To do this:

  1. Navigate to the SmartLabel Management page (Left menu> SmartLabel Management).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    substring_function_example_23.0.png

    In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Shorten Department Name“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose String.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Shorten department name to first 3 characters“.
  3. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  4. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    substring_function2.png

  5. In this query, we searched for all asset records that include a value in the Department field.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  6. In the Build a Query page, click Apply (paper-and-pencil icon).

  7. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Dept Exists“.

  8. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    substring_function3_updated.png

  9. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Substring.

    • Field. We select the field Department. We will extract a substring from the value in this field. Note that only fields of type String appear enabled.
    • Start Index. We entered “0” (zero). The Substring function labels the position of the first letter of a string as “0” (zero). For example, the positions for the first three characters would be 0, 1, 2.

    • Number of Characters. We entered 3 (three).

  10. This SmartLabel specifies: For each asset returned by the query (asset record includes a value in the Department field)), retrieve the first three characters of the department name.

Subtract #

The Subtract function subtracts a field value or a number from another field value or number.

This function applies to SmartLabels and fields of type Float and type Integer.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

For example, suppose we are considering changing providers and we want to see how much money we would save by reducing the monthly cost of each virtual machine by $20. To do this with the Subtract function:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    subtract_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Decreased server cost“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Integer.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Calculate decreased cost per VM“
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    subtract_function2.png

  6. In this query, we searched for all asset records that include a value in the Monthly Cost field.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Assets with a monthly cost“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    subtract_function3_updated.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Subtract.

    • Input fields. We clicked the plus-sign icon (+) and selected Field and then selected the field Monthly Cost (US Dollar). Note that only fields of type Integer or type Float appear enabled.
    • Input Fields. We clicked the plus-sign icon (+) and selected the Number and then entered 20.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets records where Monthly Cost includes a value), find the Monthly Cost value for the asset and subtract $20.
  12. We could query the value of Decreased server cost to create a chart showing the decreased cost for each virtual machine and the sum of the decreased costs for virtual machines.

Sum #

The Sum function sums calculates the sum of a values in a sub-field in a nested list field. For example, you could calculate the sum of all CVSS scores for an asset by applying the Sum function to Vulnerabilities::CVSS score.

This function applies to SmartLabels and fields of type Nested List where the sub-field is a Float or Integer.

NOTE: For details about the fields in Lucidum and the data type for each field, see the chapter on Fields and Regular Expressions.

NOTE: For details on nested list fields and how to use them in queries, see the section on Queries with Nested Lists.

For example, suppose we want to see the sum of CVSS for each asset. To do this with the Sum function:

  1. Navigate to the SmartLabel Management page (Left menu > SmartLabels icon).

  2. Click the Add SmartLabel icon (plus-sign) in the upper right. The Add SmartLabel page appears:

    sum_function_example_23.0.png

  3. In the Add SmartLabel page, we entered the following in the top pane:

    • Name. Name of the SmartLabel. We entered “Sum of CVSS“.

    • Label Type. Specifies the data type for the output of the SmartLabel. We chose Integer.

    • Data Type. Specifies that Lucidum object type for the SmartLabel. Choices are Asset or User. We chose Asset.

    • MetaBlock. Select one or more MetaBlocks to align with to this SmartLabel. For details on MetaBlocks, see Creating and Managing MetaBlocks.
    • Description. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Business Value. After saving the SmartLabel, Lucidum uses the Luci LLM to populate this field automatically. You cannot edit the value in this field.
    • Author Comments. Notes from the creator of the SmartLabel. We entered “Sum of CVSS for assets“.
  4. In the Configured Rules pane, we clicked the Add Rule  icon (plus sign) to add a rule. A rule can be a query or a tag or another SmartLabel.

  5. The Build a Query page appears. In this page, you can create a query, select an existing SmartLabel, or select an existing Tag.

    sum2.png

  6. In this query, we searched for all asset records.

    NOTE: For details on creating a query, see the chapter on Building Queries.

  7. In the Build a Query page, click Apply (paper-and-pencil icon).

  8. In the Configured Rules pane, we entered values in the following fields:

    • Priority. Specifies the order in which rules are applied. We specified 1.

    • Rule Description. Click in this field and enter a description for the rule. We entered “Find all assets and sum the cvss for each asset“.

  9. In the Actions column, we clicked the sigma (∑). The Configure SmartLabel Result Function page appears.

    sum3.png

  10. In the Configure SmartLabel Result Function page, we entered the following:

    • Function. We selected Sum.

    •  ScoreFields. We selected a nested list field with a numeric sub-field, Vulnerabilities::CVSS Score. Note that only fields of type Nest List appear enabled.

  11. This SmartLabel specifies: For each asset record returned by the query (find all assets), find all CVSS for the asset and sum them.

  12. We could query the value of Sum of CVSS to create a chart showing the assets with the highest total CVSS score.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

Still stuck? How can we help?

Updated on January 8, 2026
Creating and Managing SmartLabelsUsing MetaBlocks with SmartLabels
Table of Contents
  • Overview of Functions in SmartLabels
  • Add
  • Average
    • Create a List of CVSS Scores
    • Calculate Average CVSS Score
  • Concatenate
  • Convert to Date Time
  • Count
  • Divide
  • Extract
  • Extract Value from List with Regular Expression
  • Extract Value with Regular Expression
  • Max
  • Min
  • Multiply
  • Regular Expression
  • Split
  • Substring
  • Subtract
  • Sum

Quick LInks

  • splunk Splunk
  • Elastic
  • Chronicle
  • Sentinel
  • SumoLogic_Lockup_SumoBlue_RGBCreated with Sketch. Sumo Logic
  • CrowdStrike
Linkedin Youtube

@ 2025 Lucidum, Inc. Design By Sandman Studios