Last Updated: 2024-11-22
Purpose
This article describes how to use the agent info command to retrieve metadata.
Introduction
The o24-agent info command is a diagnostic tool in Outpost24 that lets you gather metadata about a deployed agent. When executed on the agent host—whether on Linux via SSH or on Windows via the command prompt—the command returns details like unique agent and tenant IDs, enrollment status, timestamps for when configuration or scan schedules were last fetched, and the status of call-home operations. Having visibility into this information helps administrators confirm that agents are properly enrolled, synchronized with the server, and operating on the current schedules, which is essential for reliable vulnerability management and tracing down issues with scan coverage or agent behavior.
Running the Command
Requirements
-
Linux - ssh console
-
Windows - command prompt
The o24-agent Command
For windows based agents, use agent.exe in a Windows command prompt.
Available commands in o24-agent:
|
Command |
Description |
|---|---|
|
config |
Print config |
|
fetch-enrollment-config |
Fetch and install enrollment configuration file |
|
help |
Help about any command |
|
info |
Print agent info |
Flags:
|
Flag |
Description |
|---|---|
|
--disable-offset |
Disables the randomized call home offset |
|
-h, --help |
Help for o24-agent |
|
--journald-log |
Log to journal (default true) |
|
--log-level string |
Lowest log level to capture (default "INFO") |
|
--log-sd |
add structured data to log (default true) |
|
--priority string |
priority to run as:
(default "low") |
|
--settings string |
path to settings file (default " |
|
--stderr-log |
log to stderr |
|
--version |
print version and quit |
Use "o24-agent [command] --help" for more information about a command.
Using the info command
The info command can be executed from a terminal:
$ o24-agent info | jq
The info command will retrieve the following information.
{
"agentUuid": "3af112bb-44d9-4ceb-8fa4-c3f1928bff3f",
"tenantUuid": "ba3d2be5-56ae-454f-bee8-a4b1b023a33e",
"enrollmentStatus": true,
"callHome": {
"postAgent": "2022-03-11T08:09:18.350347112Z",
"getSettings": "2022-03-11T08:09:18.272644589Z",
"getSchedules": "2022-03-11T08:09:18.400405208Z"
},
"schedules": [
{
"uuid": "75551ca2-b9b8-4039-98e2-5dd90fbc1050",
"lastUpdated": "2022-03-10T12:58:54.900929Z",
"lastRun": "2022-03-10T10:09:01.21942452Z",
"modules": {
"commands": {
"lastDownloaded": "2022-03-10T10:08:51.971982082Z",
"lastUploaded": "2022-03-10T10:09:01.22285461Z"
},
"psh-commands": {
"lastDownloaded": "2022-03-10T10:08:51.971982082Z"
},
"registry": {
"lastDownloaded": "2022-03-10T10:08:51.971982082Z"
}
}
},
{
"uuid": "ca8c72c1-a5d9-4eea-b504-56cb659f75ee",
"lastUpdated": "2022-03-10T12:58:54.900929Z",
"lastRun": "2022-03-10T13:08:59.458141308Z",
"modules": {
"commands": {
"lastDownloaded": "2022-03-10T13:08:55.859837754Z",
"lastUploaded": "2022-03-10T13:08:59.461690527Z"
},
"psh-commands": {
"lastDownloaded": "2022-03-10T13:08:55.859837754Z"
},
"registry": {
"lastDownloaded": "2022-03-10T13:08:55.859837754Z"
}
}
}
],
"logs": {
"lastUploaded": "2022-03-11T08:09:19.237524123Z"
}
}
last uploaded is relevant for all modules but is only visible for the ones that can run on the operating system.
For more information about the o24-agent command type:
$ o24-agent --help
Related Articles
- Reports
- Windows 10/Windows 2019 Server
- Log In Using LDAP
- Report Library
- HIAB Updates
- Vulnerability Database
- General Information about SMB/WinRM Scanning
- Change Risk Levels
- Removing an Agent from Windows
- CyberArk Integration
- ServiceNow - Legacy
- Windows 8.1
- Delta
- Scan Blueprint
- Netsec Filters
- Discovering the Agent in OUTSCAN
- Technical Specification
- Account Settings
- How to Test SMB Authentication
- Schedules
- Windows 2016 Server
- Webhook Integration with OAuth v2
- Identity Provider Settings
- HIAB Server Settings
- Installing a Linux Agent
- Okta Identity Provider Configuration
- Scanning-Less Scanning
- Webhook Integration with JIRA
- Workflows
- Container Inspection - Azure
- Troubleshooting checklists
- User Management
- Check Connectivity to Agent Server
- Scan Scheduling Errors
- Overview
- Event Notification Module
- HIAB Maintenance Settings
- HIAB Deployment Guide
- Database Connector (HIAB only)
- Azure AD Identity Provider Configuration
- Add Comments
- Target Groups
- Managing Tags
- Network Host Assessment
- Checking if Agent is Running
- Core Installation
- Windows 2008 R2 Server
- Agent Installation Introduction
- Automatic Asset Joining With Netsec
- Manage Users
- Common Settings Panel
- Firewall Setup for Agents
- Scanning Range
- SNMP (HIAB only)
- ADFS Identity Provider Configuration
- Role Management
- Delinea Integration
- Portal Icon List
- Splunk
- Agent Call Home
- Advanced Report Filters
- Accept Risks
- SSH Credentials
- Asset Discovery
- SMB Authentication from OUTSCAN/HIAB
- Virtual HIAB Appliance
- XML API Interface Technical Document
- Using the Agent Info Command
- Agent Assessment
- Scheduled Reports
- Amazon
- User Roles
- Removing an Agent from Linux
- Retrieving the Agent UUID
- Atlassian Jira
- Solutions
- Identity and Access Management (IAM)
- Understanding Scanner and Scheduler
- Finding the Agent Version
- Create and Edit Event Notifications
- Licensing Consumption
- Installing a macOS Agent
- Agent Introduction
- Syslog (HIAB only)
- Setting Up an Agent Using System Proxy
- ServiceNow - App
- Thycotic
- DNS Lookup in UI and in Console
- Supported Browsers
- Integration Management
- HIAB Console
- Certificates
- Marking as False Positives
- Managing Agents
- Event Notification - Integration
- Auditing Guide
- Portal Integration with ServiceNow Incidents
- Adding Agent Attributes
- HIAB Distribution Settings
- Run Verification Scans
- Agent Latest Version
- Finding New Agents In OUTSCAN
- Setting up a HIAB as an Appsec Scale Scanner
- Column Configuration
- Checking Schedules from OUTSCAN in Agent
- Hardening the HIAB
- VMware vSphere Credentials
- Performing a PCI DSS Scan
- PGP on User Accounts
- Event Notification - Use Cases
- Two Factor Authentication
- Logging in to the Portal
- Change Instance Type on HIAB on Amazon Web Services
- Attributes
- Firewall Rules
- HIAB Enrollment
- Supported Platforms for Authenticated SSH Scanning
- Authenticated Scanning Using WinRM
- Account
- Notification Settings
- OneLogin Identity Provider Configuration
- Windows 7
- HIAB Remote Support
- Compliance Scanning
- Manage Targets
- Assign Tasks
- Authenticated Scanning Using SSH
- Products Database
- Log In Using Single Sign-On (SSO)
- Scan Assessment Configuration
- Tickets Quick Start Guide
- Retrieving Results From the Agent in OUTSCAN
- Network Discovery
- Appliance Logs
- Converting Normal with Webapp Scans (Netsec) to Portal Workflows
- Updating the Agent
- Troubleshooting SMB Authentication
- Agent Licensing
- View Templates
- Ports
- Mark as False Positives
- Installing a Windows Agent
- Generate Reports
- Using Farsight in Netsec
- Testing Target System for Open TCP Ports
- Authenticated Network Scan
- Basic Credentials
- HIAB Restore
- Scan Stages
- Object Identifiers
- Integrations
- SMB Credentials
- Subscriptions Overview
- Request Clarifications
- Services
- SNMP Integration
- Webhook Integration with Microsoft Teams
- HIAB Setup Guide
- Updating Agent Attributes
- REST API Interface Technical Document
- Getting Started with the Portal
- Scan Configuration Settings
- CyberArk
- LDAP/AD
- Checking if the Agent has Produced Results
- Scans View
- Retrieving a REST API Token From XMLAPI
- ArcSight (HIAB only)
- HIAB E-mail Whitelisting
- Scan Credentials
- Adjust Identity Provider SAML Metadata File
- Scanning Critical Industrial Devices/Machines
- Webhook Integration
- Reporting Tools
- Scan Scheduling
- Scanning Performance and Impact Tuning
- API Examples
- Tags
- PCI Compliance Scanning
- Accepting a Risk
- Importing Tags for AWS Discovery
- Configuring and Accessing the HIAB console using SSH
- Discovery Scan Configuration
- Products
- Vulnerabilities
- Scan Policies
- User Groups
- Resource Group Management
- Create Users
- Syslog Integration
- HIAB Remote SSH Guide
- Download Agents
- Create Targets
- Discussions and Commenting
- Filters
- Notifications
- Windows 2012 R2 Server
- HIAB Backup
- Report Scheduling
- Access Tokens
- O24AUTH
- Complementary Authenticated Scan on Default Credentials
- 2FA on User Accounts
- Read Agent Scan Result
- Authenticated Scanning Using SMB
- Assets
- Dynamic Target Group