CLI Parameters¶
Tevico Community supports two primary commands: run
and create
. These are explained in detail below.
Run Command¶
The run
command executes the project and generates a report in a report.zip
file. Some optional parameters are as follows:
--thread-workers (optional)¶
Specifies the number of threads to be added to the thread pool for execution. At any given time, one thread is assigned to one check for execution.
If this argument is not set, it defaults to 5. You can modify this configuration in the TevicoConfig
class.
--profile (optional)¶
Specifies the Profile that you would like to run on top of the Framework.
NOTE: This feature is still a Work In Progress
. Please review the profile
code you intend to execute before using this command.
--aws_config (optional)¶
The value for this parameter is a comma-separated string that holds key-value pairs separated by :
.
Here the profile
is the AWS SSO profile that the process will use during execution.
Create Command¶
The create
command helps with creating entities for the project. You can create Checks, Profiles, Providers, and Frameworks using this command.
The structure of this command is as follows:
The entity can be one of the following:
check
provider
profile
framework
An example of this command is as follows:
./main create check network_acl_allow_ingress_any_port --options=service:ec2,some:other_config --provider=aws
--options (required)¶
The --options
param is a comma separated string of key-value pairs. The key-value pairs are separeted by :
.
--provider (required)¶
The --provider
param is the name of the provider in lowercase.