Skip to main content

Shell

KDT basic shell usage

Shell

KDT basic shell usage

1. Download KDT CLI
The first command in the script uses curl to download the Kondukto CLI installer script from the URL https://cli.kondukto.io and then pipes the output to the sh command, which executes the script.
2. Print CLI Help
The following command, kdt --help, prints the help information for the Kondukto CLI to the console.
3. Set environment variables
The export commands set environment variables KONDUKTO_HOST and KONDUKTO_TOKEN to the values specific to the Kondukto host and token, respectively.
4. Run Kondukto Scan
The final command, kdt scan, uses the Kondukto CLI to trigger a scan for the specified project-name and tool-name on the specified branch-name. This command initiates the scan process for the specified project, tool, and branch via the Kondukto platform.
YAML
1curl -sSL https://cli.kondukto.io | sh
2
3kdt --help
4
5export KONDUKTO_HOST=<your-kondukto-host>
6export KONDUKTO_TOKEN=<your-kondukto-token>
7
8kdt scan -p <project-name> -t <tool-name> -b <branch-name>

Need help?

Invicti Support team is ready to provide you with technical help. Go to Help Center