#3841·kubescape

Enable Separator Line for Control Scans in CLI Output

Author: Rucha0901Created Sep 15, 2026Updated Sep 15, 2026

Overview: The CLI's pretty printer outputs a separator line to make the results easier to read. The logic in core/pkg/resultshandling/printer/v2/prettyprinter.go was somewhat confusing.

Problem: The logic for isPrintSeparatorType used a block-list approach and contained an obsolete TODO comment.

Solution: Updated isPrintSeparatorType to explicitly allow ScanTypeControl and ScanTypeFramework.