Skip to main content

Quick Installation

Your First Scan

1

Navigate to your project

Open your terminal and navigate to your project directory:
2

Run the scanner

Execute a basic scan on your source code:
Or scan the entire project directory:
3

Review the results

KafkaCode will display a detailed report with:
  • Privacy grade (A+ to F)
  • Number of issues found
  • Severity breakdown
  • File locations and line numbers
  • Actionable recommendations

Example Output

Verbose Mode

For more detailed progress information during the scan:
This will show:
  • File discovery progress
  • Individual file analysis status
  • Detailed error messages if any

Exit Codes

KafkaCode uses exit codes to indicate scan results:
  • Exit code 0: No issues found
  • Exit code 1: Issues found or scan error
This makes it perfect for CI/CD integration:

Understanding Severity Levels

Critical

Immediate action required. Contains exposed secrets or credentials.

High

Should be addressed soon. Contains sensitive data that could lead to issues.

Medium

Review recommended. Contains potentially sensitive information.

Low

Optional review. Minor privacy considerations.

Next Steps

CLI Options

Explore all available command-line options

Interpreting Results

Learn how to understand and act on scan results

CI/CD Integration

Integrate KafkaCode into your build pipeline

Examples

See real-world usage examples
Pro Tip: Run KafkaCode in verbose mode during your first scan to understand what it’s checking:
KafkaCode respects your .gitignore file automatically. Files and directories listed in .gitignore will be skipped during scanning.