Getting Started with AuditKit

Get your first compliance scan running in 5 minutes

Prerequisites

Installation

Option 1: Download Binary (Fastest)

  1. Go to Releases
  2. Download binary for your OS (Linux, macOS, Windows)
  3. Make it executable: chmod +x auditkit
  4. Run: ./auditkit scan

Option 2: Build from Source

git clone https://github.com/guardian-nexus/auditkit
cd auditkit/scanner
go build ./cmd/auditkit
./auditkit scan

Your First Scan

AWS

# 1. Configure credentials
aws configure

# 2. Run scan
./auditkit scan -provider aws -framework soc2

# 3. Generate PDF
./auditkit scan -provider aws -framework soc2 -format pdf -output report.pdf

AWS Setup Guide →

Azure

# 1. Login to Azure
az login
export AZURE_SUBSCRIPTION_ID="your-subscription-id"

# 2. Run scan
./auditkit scan -provider azure -framework soc2

# 3. Generate PDF
./auditkit scan -provider azure -framework soc2 -format pdf -output report.pdf

Azure Setup Guide →

GCP

# 1. Login to GCP
gcloud auth application-default login
export GOOGLE_CLOUD_PROJECT=your-project-id

# 2. Run scan
./auditkit scan -provider gcp -framework soc2

# 3. Generate PDF
./auditkit scan -provider gcp -framework soc2 -format pdf -output report.pdf

GCP Setup Guide →

Understanding Your Results

Terminal Output

AuditKit SOC2 Compliance Scan Results
=====================================
AWS Account: 123456789012
Scan Time: 2025-10-19 14:30:00

Compliance Score: 72.5%
Controls Passed: 46/64

Critical Issues: 3 (FIX IMMEDIATELY)
High Priority: 6
Medium Priority: 4

CRITICAL - Fix These NOW:
[FAIL] CC6.6 - User MFA Enforcement
[FAIL] CC6.2 - S3 Bucket Public Access
[FAIL] CC6.1 - IAM Key Rotation

What this means:

Report Formats

PDF Report - For auditors and management

./auditkit scan -format pdf -output report.pdf

HTML Report - Interactive, great for teams

./auditkit scan -format html -output report.html

JSON Report - For automation/CI/CD

./auditkit scan -format json -output results.json

Next Steps

1. Fix Critical Issues

AuditKit shows exact commands to fix each issue:

# Generate fix script
./auditkit fix -output fixes.sh

# Review the script
cat fixes.sh

# Run fixes (review first!)
bash fixes.sh

2. Track Your Progress

# Show improvement over time
./auditkit progress

# Compare last two scans
./auditkit compare

3. Scan Other Frameworks

# PCI-DSS
./auditkit scan -framework pci

# CMMC Level 1
./auditkit scan -framework cmmc

# NIST 800-53
./auditkit scan -framework 800-53

# All frameworks
./auditkit scan -framework all

Common Use Cases

For Startups: SOC2 Preparation

Goal: Pass SOC2 Type II audit without hiring consultants

Steps:

  1. Run initial scan: ./auditkit scan -framework soc2
  2. Fix critical issues (usually takes 1-2 days)
  3. Re-scan weekly to track progress
  4. Generate final report for auditor
  5. Collect evidence using evidence tracker

Timeline: Most startups fix 80%+ of issues in 2-4 weeks

For DoD Contractors: CMMC Compliance

Goal: Self-assess CMMC Level 1 before C3PAO assessment

Steps:

  1. Run CMMC scan: ./auditkit scan -framework cmmc
  2. Fix automated controls (AC.1.001, AC.1.002, etc.)
  3. Document manual controls (physical security, training)
  4. Generate assessment report
  5. Schedule C3PAO review with confidence
Note: Need CMMC Level 2 (110 practices)? Try Pro free for 14 days →

For Multi-Cloud: Unified Compliance

Goal: Single compliance view across AWS + Azure + GCP

# Scan all providers
./auditkit scan -provider aws -framework soc2 -output aws.json
./auditkit scan -provider azure -framework soc2 -output azure.json
./auditkit scan -provider gcp -framework soc2 -output gcp.json

Troubleshooting

"Error: AWS credentials not configured"

Solution:

aws configure
# Enter your AWS Access Key ID and Secret Access Key

AWS Setup Guide →

"Error: Azure subscription not found"

Solution:

az login
az account list  # Find your subscription ID
export AZURE_SUBSCRIPTION_ID="your-sub-id"

Azure Setup Guide →

"Error: GCP project not found"

Solution:

gcloud auth application-default login
gcloud projects list  # Find your project ID
export GOOGLE_CLOUD_PROJECT=your-project-id

GCP Setup Guide →

"Compliance score is very low (< 30%)"

Common cause: Security services not enabled

Solution: Enable these first:

Then re-scan.

What's Next?

CLI Reference

Complete command documentation with all flags and options

Read Docs →

Cloud Setup

Detailed authentication guides for AWS, Azure, and GCP

Read Docs →

FAQ

Answers to common questions and troubleshooting tips

Read FAQ →
Ready for CMMC Level 2 or advanced GCP features?
Try Pro Free for 14 Days →