Skip to main content

Security Compliance Platform CLI - Secure your code from the terminal.

Project description

Security Scanners

The platform integrates four industry-standard security scanners:

  1. Semgrep - Multi-language static analysis

    • Supports 18+ languages: Python, JavaScript, TypeScript, Java, Go, Ruby, PHP, C/C++, C#, Rust, Kotlin, Scala, Swift
    • Uses Semgrep Registry community rules
    • OWASP Top 10 and CWE coverage
  2. Bandit - Python static security analysis

    • Detects hard-coded secrets, SQL injection, shell injection, insecure crypto
    • 68+ built-in security checks
    • Severity-based risk scoring
  3. Checkov - Infrastructure as Code security

    • Scans Terraform, Dockerfile, Kubernetes, CloudFormation
    • 1000+ built-in policies (CIS, PCI-DSS, HIPAA compliance)
    • Identifies misconfigurations before deployment
  4. pip-audit - Python dependency vulnerability scanning

    • Checks for known CVEs in dependencies
    • Uses PyPI Advisory Database
    • Provides upgrade recommendations

Scanner Workflow

  1. Repository is cloned to temporary directory
  2. All applicable scanners run in parallel
  3. Findings are aggregated and stored in database
  4. Risk score calculated based on severity (0-10 scale)
  5. Temporary files cleaned up

The platform includes a powerful CLI script to trigger scans and resolutions directly from your terminal.

1. Installation

Recommended: Quick Install (curl)

curl -sSL https://raw.githubusercontent.com/maxwellsarpong/security-compliance-platform/main/install.sh | bash

**Using uv (Isolated)**
```bash
uv tool install scp-cli

Using pip

pip install scp-cli --upgrade

2. Usage

Get your API key from the dashboard

Running the CLI tool

# Showing the help menu
scp-cli --help

# Authenticate (Set your API key)
scp-cli auth --key <YOUR_API_KEY>

# Start a remote scan
scp-cli scan https://github.com/owner/repo

# Start a local workspace scan (automatic zipping & upload)
scp-cli scan .

# Check scan status (summarized results)
scp-cli status <scan_id>

# CI/CD: Wait for scan completion and verify results
# --fail: Exit with code 1 if matches are found
# --severity: Minimum severity (LOW, MEDIUM, HIGH, CRITICAL)
scp-cli check <scan_id> --severity HIGH --fail

# List all security issues for a scan (get Finding IDs)
scp-cli findings <scan_id>

# Resolve findings (Bulk fix for a scan)
# - For remote repos: Creates a Pull Request and returns the URL.
# - For local scans: Generates and applies fixes directly to your files (with backups).
scp-cli resolve <id_or_finding_id>

# Check all successfully resolved findings
scp-cli resolved

# Get the PR URL for a specific resolved finding
scp-cli pr <finding_id>

# Check your quota
scp-cli usage

# Check current authentication status
scp-cli whoami

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scp_cli-0.1.11.tar.gz (77.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scp_cli-0.1.11-py3-none-any.whl (74.8 kB view details)

Uploaded Python 3

File details

Details for the file scp_cli-0.1.11.tar.gz.

File metadata

  • Download URL: scp_cli-0.1.11.tar.gz
  • Upload date:
  • Size: 77.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for scp_cli-0.1.11.tar.gz
Algorithm Hash digest
SHA256 d9d4eaf6be33d0ff9d5d933629e36e6266ba75ce90a3d7ee7bf0466ad24780a3
MD5 298e94a342f482265c81c7e72d4c8b57
BLAKE2b-256 83618df0052a4570f443aff4fe04fa51a9f04abe1054e55baf7517b2f663ac22

See more details on using hashes here.

File details

Details for the file scp_cli-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: scp_cli-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 74.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for scp_cli-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 0460cedf76439829c1315e4747c72463ca18be1cd8a6237f2e01703e473b7926
MD5 9ef3d8c02f6642a884cdfbaf73b0e4c6
BLAKE2b-256 8935ee864d557837decc7b12fbf9bc75627c8c10323b8f611f225e8b3a644206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page