Upgrading to CATS 16.0.0
CATS 16.0.0 changes how HTML reports group findings, how triage and CI compare them, which findings blackbox mode retains, and removes deprecated 15.x legacy formats and flags while modernizing CLI defaults. Update report jobs and regenerate your baselines when you upgrade from CATS 15.x.
HTML reports and summary files
- Replace
--reportFormat HTML_JS_CLUSTERSwith--reportFormat HTML_JS, or useHTML_ONLYfor a static report. Both formats include a Problems view alongside All tests. If your format list already containsHTML_JS, remove theHTML_JS_CLUSTERSentry. - Update report integrations that load
error-templates.js. HTML_JS test pages now share problem metadata throughproblems.js. Usecats-summary-report.jsonfor automation. HTML_JS renders the test table progressively. - Summaries persist
problems, theproblemIdon associated test records, andproblemKeyVersion: 1. Regenerate old reports with 16.0.0 before triage or baseline comparison. CATS uses the identities stored in the reports, so regenerate both sides when comparing builds that used older problem normalization, including development builds that grouped echoed root JSON strings differently.
See Interpreting Results.
Triage
- Triage now focuses on error problems by default. Pass
-wor--include-warnings(--includeWarnings) to include warning problems too. - Migrate consumers of
cats triage -jfromclusterstoproblems[].occurrences[], and fromnoiseReductionPercenttogroupingReductionPercent. Live verification now replays one representative request per occurrence. Keep the referencedTest*.jsonfiles with the summary. - Add
--show-reproducers(--showReproducers) if your workflow expects full curl commands in console output. JSON output and--export-reproducerscontinue to include them. - Triage returns exit code
2for an incompatible summary or missing referenced test evidence.
Baseline gates and cats compare
- Remove
--compareScopeand--failOnNewErrors. A new error occurrence always fails comparison. Use--failOnNewWarningsto gate on new warnings as well. - Replace count and scope fields in
cats compare -jconsumers withnewOccurrences,fixedOccurrences,unchangedOccurrences, andnotComparable. The output also containsbaseline,target,problemKeyVersion,regression, andmatchedByPattern. - Review the first comparison after regenerating the baseline. The gate uses
problem occurrences keyed by problem and operation, with separate occurrences
per mutated field for accepted requests. Changes in the number of tests alone
are informational. An incompatible baseline returns exit code
2.
See Quality Gates and Stop Conditions for comparison states and exit codes.
Functional flows and removal of legacy FunctionalFuzzer / SecurityFuzzer YAML
- The deprecated path-grouped
FunctionalFuzzerandSecurityFuzzerYAML formats (cats-global-vars, top-level/path:orall:keys,httpMethod,expectedResponseCode,output,verify,checkBoolean,targetFields,targetFieldTypes,stringsFile) have been removed. Migrate functional and custom security test files to the sequentialsteps:FunctionalFlowFuzzerformat (cats run <flow.yml>,--functionalFlow <flow.yml>, or--securityFuzzerFile <flow.yml>). cats runnow applies--headers(-H),--refData(-R), and--correlationsas lower-precedence request defaults before flow-level and step-levelheaders:,body:,omit:,path:,query:, andcorrelate:overrides (step and flow headers now take precedence over--headers/headers.yml), and replaces--createRefData(refData_custom.yml) and*_replaced.ymltemplates with--export-refdata <file>(--exportRefData <file>) to export variables captured bysave:.- Flow composition, step tags, typed variables, and load-time validation:
Functional and security flows now support relative
imports:, steptags:with flow-levelstepTags:/skipStepTags:and CLI--stepTags/--skipStepTags, typed top-levelvariables:(including wholebody: "${var}"andheaders: "${var}"), variable-expandedomit:, optional${var?}placeholders (omitting fields/headers/query params whennullor unset while${var}preserves JSONnull), explicit#(int(...))/#(float(...))/#(bool(...))/#(str(...))type-cast shorthands, and load-time fail-fast validation before sending any HTTP requests.
See Functional Flow Fuzzer and Security Fuzzer.
CLI options and default value changes
- Removed
--filterResponse*flags: Replace--filterResponseCodes(--fc),--filterResponseSize(--fs),--filterResponseWords(--fw),--filterResponseLines(--fl), and--filterResponseRegex(--fr) with the corresponding--ignoreResponse*(-i,--is,--iw,--il,--ir) option combined with-k(--skipReportingForIgnoredCodes). - Removed
--healthCheck: Usecats smokefor a pre-flight endpoint probe or--profile health-checkto run onlyHappyPathFuzzer. --allowDifferentCaseEnumValuesnow defaults tofalse:EnumCaseVariantFieldsFuzzerexpects4XXby default (matching OpenAPI case sensitivity and--strictTypes). Pass--allowDifferentCaseEnumValuesif your API intentionally accepts case-insensitive enum values.--useRequestBodyExamplesand--useSchemaExamplesnow default totrue: All four OpenAPI example sources (request body, response body, schema, and property examples) are enabled by default and can be disabled together with--no-useExamplesor individually with--no-useRequestBodyExamples,--no-useResponseBodyExamples,--no-useSchemaExamples, and--no-usePropertyExamples.--checkUpdatenow defaults tofalse: Pass--checkUpdateexplicitly to enable startup version checks.cats generate--selfReferenceDepth(-L) now defaults to2: Matches the fuzzing default socats generateandcatsproduce identical payloads for the same--seed.--headersvs.-H(--header):-H(--header) passes inlinename=valueheaders across all commands (includingcats templateandcats replay), while--headers=FILEloads a YAML headers file. Inline parameter flags also provide long aliases (-Q/--queryParam,-R/--refDataParam,-P/--urlParam).--skipFieldsskips across all fuzzers by default:--skipFieldsnow excludes the specified fields (and their nested subfields) across all fuzzers without requiring a leading!prefix, and supports both dot (shippingAddress.country) and#(shippingAddress#country) notation.- Unanchored
--matchResponseRegex(--mr) and--ignoreResponseRegex(--ir): Response regex matching now searches anywhere in the response body (.find()) instead of requiring a full-body match (.matches()). Use^...$when you want to anchor to the entire response body. - Unified
--mask, scoped--maskHeaders/--maskFields, and body secret masking:--maskmasks matching headers, query parameters, and request/response body fields ($$fieldNamein requests for replay,[REDACTED]in responses), while--maskHeaders(headers only) and--maskFields(body fields only) prevent header/field name clashes (such ashost,date, orcontent-type).refDataand flow fields populated from$$ENV_VARare masked automatically (with value-checked response redaction to avoid over-masking unrelated endpoints) while keeping fuzzer mutations on body fields and query parameters visible.cats replayandcats triage --verifyresolve masked body placeholders with proper JSON/form escaping, andcats replayaccepts-R(--refDataParam) to override masked body fields.
Configuration, correlations, and dynamic values
- Unified
.and#field paths and HTTP method scoping:refData.yml,headers.yml, andcorrelations.ymlall support exact paths, wildcard prefixes (/orders*), and HTTP method scoping ("POST /orders","PUT /orders*"). Both dot-notation (shippingAddress.country) and#-notation (shippingAddress#country) inrefData.ymlare normalized and respected by boundary fuzzers andRuntimeResourcePool. - Correlation evaluation order and
!=on absent fields: Required-field analysis forcorrelations.ymlnow runs after static--refDataoverrides are applied, and!=evaluates tofalsewhen the left-hand field is absent from the payload (useis nullto test absence). - Embedded
$$ENV_VARand typed#(...)expressions:$$ENV_VARnow resolves both as a standalone value ("$$API_AUTH") and embedded inside strings ("Bearer $$API_TOKEN"). Standalone#(...)andT(...)expressions automatically preserve boolean and numeric JSON types acrossrefData.yml,correlations.yml, andflows.yml.
Blackbox mode
--blackbox (-b) now retains 5XX server errors except 501 and
high-severity security findings with explicit CONFIRMED confidence. A
confirmed finding can trigger your CI gate even if the HTTP status is 2XX.
FIRM, TENTATIVE, unassessed, and keyword-only security findings are
informational in blackbox mode, including under --strict.
- For the previous status-code filter, replace
-bwith-i 2xx,4xx,501. - Explicit ignores still apply. For example,
-b -i 2xxsuppresses confirmed findings returned with a2XXresponse. - Use the ordinary reporting mode and retain successful transactions when
collecting evidence for
cats triage --export-refdata.
See Blackbox Mode.
WFC exports
Update category mappings and review changes in distinct-fault totals. These dedicated CATS categories apply when the pinned WFC catalog has no corresponding category.
| Finding | Previous category | 16.0.0 category |
|---|---|---|
| Server-side template injection | 907 | 913 CATS_SSTI |
| XML external entity injection | 907 | 914 CATS_XXE |
| Path traversal | 309 | 915 CATS_PATH_TRAVERSAL |
For OpenAPI runs, WFC endpoint IDs and coverage now use declared operations.
Eligible faults from a synthetic HTTP method can be attributed to a declared
operation on the same path. The underlying test is still available in the
report evidence. HTTP 500 fault contexts also mask echoed root-primitive JSON
string inputs as <INPUT> consistently with structured JSON payloads.