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: |