inkwallctl

command
v0.6.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2026 License: Apache-2.0 Imports: 78 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command inkwallctl is the Inkwall command-line tool.

Usage:

inkwallctl test [flags] URL
inkwallctl test [flags] --request FILE
inkwallctl test [flags] --har FILE
inkwallctl test [flags] --suite FILE [--junit FILE]

The test subcommand shows the verdict and the matching rules for one or more requests, without sending them anywhere. A request is given like a curl command line (URL, -X, -H, -d), as raw HTTP in a file, or as a HAR file exported from a browser. By default the requests are inspected in-process with the OWASP Core Rule Set embedded in inkwallctl, the same code the engine runs, configured by flags. With --policy they are inspected by WAFPolicy objects, resolved the way the operator does and compiled the way the engine does; with --bundle, by a bundle the operator built; with --engine they are sent to a running engine's check API (inkwall-engine check). With --suite, a file of cases, each a request and optionally its response, is checked against the verdicts it expects, and --junit writes the results as JUnit XML.

The version subcommand (or --version) prints the version, the commit and the Go version inkwallctl was built with.

The explain subcommand says why a WAFPolicy isn't Ready (explain policy NAMESPACE/NAME) or why a request was denied (explain request REQUEST-ID), from the cluster's state, read only, with -o json for scripts and assistants (docs/troubleshooting.md).

The mcp subcommand serves those read-only tools and this version's docs to an AI assistant over the Model Context Protocol, on standard input and output (docs/mcp.md).

The migrate ingress-nginx subcommand converts ingress-nginx's ModSecurity annotations and ConfigMap settings into WAFPolicy objects, targeting the Ingresses or (--target) the HTTPRoutes or IngressRoutes replacing them.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL