Agent Command Line Options

Agent Command Line Options

Table of Contents


Commands - Authentication and Identification

./cybercnsagent.exe -c <companyId> -e <tenantId> -j <userSecret> -p <proxySettings> -i -g<Tags> -f;

Command Switch

Description

Command Switch

Description

-c

Specifies the Company ID

-e

Specifies the Tenant ID

-j

Specifies the User Secret

-f

Initializes the agent

-g

Adds Tag to the installed agent (only works during initial install

-i

Installs the agent

-w

Reinitializes the agent

-p

Configures proxy settings for the agent; only considered during agent configuration

-g

Specifies tags to be added to discovered assets by the agent

Commands - Scanning and Maintenance

The below commands are used with .\cybercnsagent.exe

Command Switch

Description

Command Switch

Description

-v

Displays the agent of CyberCNSAgent running

-t

Starts the scanner

-m

Specifies the scan type

-s

Specifies the compliance scan type

-d

Runs the agent in verbose mode for detailed debugging

-o

Specifies the location to dump scanned data for offline mode

-r

Removes/uninstalls the CyberCNSAgent

-u

Updates the CyberCNSAgent version


Adding Tag During Install

image-20250818-184518.png

Updating Tag After Install

image-20250818-184527.png