Sub-Commands
To list all available commands, run:
cats -h
All available subcommands are listed below:
cats helporcats -hwill list all available arguments and sub-commandscats list --fuzzerswill list all the existing fuzzers, grouped by categoriescats list --profileswill list the built-in fuzzer profiles and the fuzzers selected by each profilecats list --mutatorswill list the mutators available tocats randomcats list --fieldsFuzzerStrategieswill list the field-fuzzing strategiescats list --customMutatorTypeswill list the supported custom mutator typescats list --paths --contract=CONTRACTwill list all the paths available within the contractcats list --paths --contract=CONTRACT --path /my-pathwill list some details about the given/my-pathcats list --formatswill list all supported formats for fieldscats replay "test1,test2"will replay the given teststest1andtest2cats templatewill fuzz based on a given request template, rather than an OpenAPI contractcats runwill run functional and targeted security tests written in the CATS YAML formatcats lintwill run OpenAPI contract linters, also calledLinterFuzzerscats infowill print debug information that are useful when submitting bug reportscats statswill display basic statistics about a given OpenAPI contract like number of paths, operations, versioning, etc.cats validatechecks if an OpenAPI spec is valid and version usedcats randomdoes continuous fuzzing based on mutators until a certain stop condition is hitcats explainwill explain a given response code or reason messagecats generatewill generate a request based on a given OpenAPI contractcats generate-completionwill generate a bash/zsh completion script forcats. Enable it in the current shell withsource <(cats generate-completion).
The cats explain --type TYPE INFO command provides detailed information about a
fuzzer, mutator, response code, or error reason. For example:
cats explain --type response_code 953
cats explain --type error_reason "Error details leak"
Each sub-command has its own help. You can run cats sub-command -h to check all available arguments: cats template -h.