[v1.78.0]
- Added "Skipped Validations" counter to scan summary output to distinguish between validations that failed (HTTP errors, connection failures) and validations that were skipped due to missing preconditions (e.g., missing dependent rules). This provides better visibility into validation coverage for large scans.
- Improved error messages for
kingfisher validatecommand when rules require dependent variables fromdepends_onsections. Now clearly explains which variables are needed and from which dependent rules they are normally captured. - Fixed
validate_commandandrevoke_commandgeneration in scan output to include all required--vararguments for rules withdepends_onsections (e.g., PubNub, Azure Storage). Commands now include dependent variables like--var SUBSCRIPTIONTOKEN=<value>or--var AZURENAME=<value>. - Updated Azure Storage validation to use
AZURENAMEvariable (matching thedepends_on_ruleconfiguration) withSTORAGE_ACCOUNTmaintained as a backward-compatible alias. - Added internal
dependent_capturesfield to match records to preserve variables from dependent rules through the validation pipeline for accurate command generation. - Added
--tls-mode <strict|lax|off>global flag to control TLS certificate validation behavior during credential validation:strict(default): Full WebPKI certificate validation with trusted CA chains, hostname verification, and expiration checkslax: Accept self-signed or unknown CA certificates, useful for database connections (PostgreSQL, MySQL, MongoDB) and services using private CAs (e.g., Amazon RDS)off: Disable all TLS validation (equivalent to legacy--ignore-certs)
- Added rule-level
tls_modefield allowing individual rules to opt into relaxed TLS validation when appropriate. Rules for PostgreSQL, MySQL, MongoDB, JDBC, and JWT now includetls_mode: laxby default. - The
--ignore-certsflag remains supported as a deprecated alias for--tls-mode=offfor backward compatibility. - Updated documentation to explain TLS validation modes and their security implications.
- Added comprehensive test coverage for TLS mode functionality including unit tests, integration tests, and rule configuration verification.
- Fixed deprecated
commitstage name in.pre-commit-hooks.yamlto usepre-commitstage name, eliminating pre-commit framework warnings.