vulkro config
Show the built-in patterns the scanner matches against, plus your own additions.
vulkro config show-patterns
show-patterns is the only action. It prints the auth middleware names, monorepo umbrella directories and auth-helper shapes the scanner knows, plus anything you added in vulkro.toml or with VULKRO_AUTH_MIDDLEWARE_NAMES and VULKRO_AUTH_HELPER_NAMES.
Run it before you add a custom auth middleware name: the built-in patterns may already cover it. It never scans and needs no licence.
Exit codes
0 success, 2 error.
See also: vulkro rules, Custom rules.
Command reference
Generated from vulkro config --help (vulkro 0.41.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.
Create a starter vulkro.toml, or show the built-in patterns the scanner matches.
vulkro config [OPTIONS] <COMMAND>
| Command | What it does |
|---|---|
init | Write a commented starter vulkro.toml and .vulkroignore in the project root. Every setting in it is commented out, so the scan behaves exactly as before until you uncomment one. An existing file is left alone unless you pass --force |
show-patterns | Print the hardcoded pattern lists vulkro matches against, plus any user-extended additions from vulkro.toml / env vars. Useful before defining a custom auth middleware name - many shapes are already covered by the built-in regexes. |
Options
| Flag | Description |
|---|---|
--offline | Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set. |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
vulkro config init
Write a commented starter vulkro.toml and .vulkroignore in the project root. Every setting in it is commented out, so the scan behaves exactly as before until you uncomment one. An existing file is left alone unless you pass --force.
vulkro config init [OPTIONS] [PATH]
Arguments
| Argument | Description |
|---|---|
[PATH] | Project root to write into. Defaults to the current directory. Default: .. |
Options
| Flag | Description |
|---|---|
--force | Overwrite an existing vulkro.toml / .vulkroignore |
--offline | Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set. |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
vulkro config show-patterns
Print the hardcoded pattern lists vulkro matches against, plus any user-extended additions from vulkro.toml / env vars. Useful before defining a custom auth middleware name - many shapes are already covered by the built-in regexes.
vulkro config show-patterns [OPTIONS]
Options
| Flag | Description |
|---|---|
--offline | Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set. |
-q, --quiet | Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged. |
--no-color | Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb. |
-h, --help | Print help (see a summary with '-h') |
Full vulkro config --help
Create a starter vulkro.toml, or show the built-in patterns the scanner matches.
Set up and inspect vulkro's static configuration. `init` writes a commented starter `vulkro.toml` (path excludes, score weights, suppressions, a quality gate) and a `.vulkroignore` for path globs. `show-patterns` prints the built-in pattern lists Vulkro matches against (auth middleware names, monorepo umbrella directories, auth-helper shapes) plus any user-extended additions picked up from `vulkro.toml` / env vars. Neither scans, and neither needs a licence.
Exit code: 0 on success, 2 on error. See each sub-action for details.
Usage: vulkro config [OPTIONS] <COMMAND>
Commands:
init Write a commented starter `vulkro.toml` and `.vulkroignore` in the project root. Every setting in it is commented out, so the scan behaves exactly as before until you uncomment one. An existing file is left alone unless you pass `--force`
show-patterns Print the hardcoded pattern lists vulkro matches against, plus any user-extended additions from `vulkro.toml` / env vars. Useful before defining a custom auth middleware name - many shapes are already covered by the built-in regexes
help Print this message or the help of the given subcommand(s)
Options:
--offline
Hard-disable every outbound network call for this run (sets VULKRO_OFFLINE=1). Blocks the CVE feed, the license heartbeat, the update check, webhooks, and any cloud AI endpoint; a loopback model (http://127.0.0.1, http://localhost) is still allowed. Equivalent to exporting VULKRO_OFFLINE=1, and the flag wins when both are set
-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged
--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb
-h, --help
Print help (see a summary with '-h')