Additional Commands for Config Scan Agent Configuration
| Option | Argument / Value | Description |
|---|---|---|
--version |
None | Displays the Config Scan Agent version Example: |
--license |
None | Displays the license information for the Config Scan
Agent Example: |
--config |
CONFIG_FILE_PATH | Specifies the location of the config file to be used for
the scan. Use the Example:
|
--secret-key |
KEY_FILE_PATH | Specifies the path to the secret key file used for decrypting an encrypted config file |
--create-config |
None | Creates a config file in the current directory Also creates a secret key file in the same directory used for encryption/decryption of configuration file. Example: |
--update-config |
CONFIG_FILE_PATH | Interactively updates the configuration file at
specified location Use the Example: |
--view-config |
CONFIG_FILE_PATH | Displays the decrypted contents of the config file at
the specified location Use the Example: |
--rotate-key |
EXISTING_KEY_FILE_PATH | Rotates the secret key for the configuration file Use
the Example: |
--output |
OUTPUT_FOLDER_PATH | Specifies the output directory where the scan results
will be stored Example: |
--log-dir |
LOG_FOLDER_PATH | Specifies the directory path to store the log files
generated during scan agent execution Example:
|
--log-level |
DEBUG, INFO, WARNING, ERROR, CRITICAL | Sets the verbosity level of logging, letting you control
how much information the application logs and/or displays A lower verbosity level shows only critical errors, while higher levels include warnings, informational messages, and detailed debugging output. This helps users or developers adjust the amount of detail they see based on their troubleshooting or monitoring needs. Default log level: INFO Example: |
--log-retain |
NO_OF_LOGS | Specifies the count of logs to be maintained in the log
folder Default value: 20 Example: |
--update-service-acc |
CONFIG_FILE_PATH | Updates the service account credentials stored in the
configuration file Use the Example: |
--schedule-upgrade |
NONE | Schedules upgrade process for the agent This will create a scheduled service that runs at specified intervals, and checks and auto-upgrades the agent if a newer version is available. Use this parameter with the Example:
|
--user |
USER_NAME | To be used with the --schedule-upgrade
parameter onlyUser authorized to run the scheduler service (default: root (linux), system (windows)), which checks and upgrades agents, if an upgrade is available, in specified intervals. Example: |
--group |
GROUP_NAME | To be used with the --schedule-upgrade
parameter and for Linux machines onlyUser group authorized to run the systemd service (default: root), which checks and upgrades agents, if an upgrade is available, in specified intervals. Example: |
--interval |
INTERVAL_DURATION | To be used with the --schedule-upgrade
parameter onlySpecifies the interval duration to check for upgrades Examples of possible values: 6h, 2h, 24h, 36h, and so on Default value: 6h Example: |
--boot-delay |
DELAY_DURATION | To be used with the --schedule-upgrade
parameter onlySpecifies the delay after the boot Examples of possible values: 5min, 15min, and so on Default value: 5min Example:
|
