Skip to content

Interactive TUI

Redactyl includes a terminal user interface (TUI) for exploring and managing findings interactively.

Terminal window
redactyl scan # TUI is the default mode
KeyAction
j / Move down
k / Move up
gGo to top
GGo to bottom
EnterExpand/collapse finding
TabSwitch panels
KeyAction
/Search findings
fFilter by severity
FClear filters
sSort findings
KeyAction
oOpen file in editor
bBaseline finding
iIgnore finding
eExport findings
rRefresh scan
KeyAction
pToggle preview panel
cToggle context lines
dDiff view
?Show help
qQuit

Findings are color-coded by severity:

  • Critical - Red background
  • High - Red text
  • Medium - Yellow text
  • Low - Gray text

Press Enter on a finding to see:

  • Full file path with line numbers
  • Syntax-highlighted code context
  • Secret value (partially redacted)
  • Detector information
  • Suggested remediation
  1. Scan your project: redactyl scan
  2. Review findings in the TUI
  3. Press b to baseline known/acceptable secrets
  4. Baseline is saved to .redactyl-baseline.json
  5. Future scans will skip baselined findings

Press e to export findings:

  • JSON - Machine-readable format
  • SARIF - GitHub Code Scanning format
  • CSV - Spreadsheet format
  • Markdown - Documentation format

For secrets found in archives or containers:

  1. Select the finding
  2. Press x to extract
  3. File is extracted to a temp directory
  4. Opens in your default editor

Customize TUI behavior:

Terminal window
# Set default editor
export EDITOR=code
# Disable colors
export NO_COLOR=1
# Set terminal width
export COLUMNS=120