Usage
Root usage
% usage: unctl [-h] [--llm-provider {OpenAI,Ollama,LocalAI}] [--llm-model LLM_MODEL]
[--llm-debug] [--llm-summarizing-model LLM_SUMMARIZING_MODEL]
[--llm-summarization-enabled] [--resolve] [-v] [--config CONFIG]
{k8s,mysql,redis} ...
Welcome to unSkript CLI Interface
options:
-h, --help show this help message and exit
--llm-provider {OpenAI,Ollama,LocalAI}
Select LLM provider.
--llm-model LLM_MODEL
Select LLM model.
--llm-debug Enable local LLM debugging. Will print all the data that's being sent to LLM.
--llm-summarizing-model LLM_SUMMARIZING_MODEL
Select LLM model to be used for summarization.
--llm-summarization-enabled
Enable local LLM context summarization. Will summarize user messages in case token limit is exceeded.
--resolve Run interactive app to resolve problem.
-v, --version show program's version number and exit
--config CONFIG Specify path to the unctl config file.
unctl available providers:
{k8s,mysql,redis}
To see the different available options on a specific provider, run:
unctl {provider} -h|--help
Provider level usage
When you specify a provider with unctl
, you can access a variety of additional commands specific to that provider. For example:
% unctl k8s -h
usage: unctl k8s [-h] [-s] [-e] [-f] [-c CHECKS [CHECKS ...]] [--sort-by {object,check}] [--categories CATEGORIES [CATEGORIES ...]]
[--services SERVICES [SERVICES ...]] [-l] [--no-interactive] [--list-categories] [--list-services] [-r] [--ignore IGNORE [IGNORE ...]]
[--ignore-objects IGNORE_OBJECTS [IGNORE_OBJECTS ...]]
options:
-h, --help show this help message and exit
-s, --scan Run a provider scan
-e, --explain Explain failures using AI
-f, --failing-only Show only failing checks
-c CHECKS [CHECKS ...], --checks CHECKS [CHECKS ...]
Filter checks by IDs
--sort-by {object,check}
Sort results by 'object' (default) or 'check'
--categories CATEGORIES [CATEGORIES ...]
Filter checks by category
--services SERVICES [SERVICES ...]
Filter checks by services
-l, --list-checks List available checks
--no-interactive Interactive mode is not allowed. Prompts will be skipped
--list-categories List available categories
--list-services List available services
-r, --remediate Create remediation plan
--ignore IGNORE [IGNORE ...]
Ignoring one or more checks by ID
--ignore-objects IGNORE_OBJECTS [IGNORE_OBJECTS ...]
Ignoring one or more objects by name
-n NAMESPACES [NAMESPACES ...], --namespaces NAMESPACES [NAMESPACES ...]
Filters resources by namespace
Last updated