Creating a new task

You can create tasks with default settings or with settings specified in a configuration file.

You can create only the following types of user tasks: ODS, Update, Rollback, ODFIM, ContainerScan, and InventoryScan.

To create a task with default settings, execute the following command:

kics-control [-T] --create-task <task name> --type <task type>

where:

A task of the specified type is created with default settings.

To create a task with the settings specified in the configuration file, execute the following command:

kics-control [-T] --create-task <task name> --type <task type> --file <file path> [--json]

where:

A task of the specified type is created with settings specified in a configuration file.

Page top