Documentation

Everything you need to install, configure, and use Oncecheck.

Installation

Oncecheck requires Python 3.8 or later. Install it from PyPI:

macOS / Linux
pip3 install --upgrade oncecheck
Windows
pip install --upgrade oncecheck

Verify the installation:

oncecheck --version

Quick Start

1. Authenticate with your account

oncecheck login

2. Scan your project

oncecheck scan ./my-project

3. Or launch interactive mode

oncecheck

Interactive mode lets you browse findings with arrow keys, view fix suggestions, and jump to references.

Commands

oncecheck scan <path>

Scan a project directory for compliance issues.

FlagDescription
--platformForce platform (ios, android, web). Default: auto-detect.
--formatOutput format: terminal, json, sarif, text. Default: terminal.
--outputWrite results to a file instead of stdout.
--interactiveOpen findings in the interactive browser after scanning.
--fail-onSet exit code threshold: warning or failure. Default: failure.

oncecheck login / oncecheck logout / oncecheck status

Authenticate with your Oncecheck account, log out, or check your current authentication and plan status.

oncecheck init <path>

Generate a .oncecheckrc configuration file and .oncecheckignore in the target directory.

oncecheck completions <shell>

Output shell completions for bash, zsh, or fish.

Configuration

.oncecheckrc

YAML configuration file placed at the root of your project.

# .oncecheckrc
platform: ios          # ios | android | web | auto
format: terminal       # terminal | json | sarif | text
fail-on: failure       # warning | failure
suppress:
  - IOS-SEC-001
  - SUPPLY-DEP-001

.oncecheckignore

Gitignore-style file to exclude paths from scanning.

# .oncecheckignore
node_modules/
build/
*.generated.swift
Pods/

Export Formats

FormatDescriptionPlan
terminalColored terminal output (default)All
jsonMachine-readable JSONTeam
sarifSARIF 2.1 — integrates with GitHub Code Scanning and VS CodeTeam
textPlain text (no color codes)Team

Use --format json --output results.json to write results to a file.

CI/CD Integration

Oncecheck uses standard exit codes for pipeline integration:

CodeMeaning
0All checks passed
1Warnings found
2Failures found

GitHub Actions example:

name: Compliance Check
on: [push, pull_request]

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-python@v5
        with:
          python-version: "3.12"
      - run: pip install --upgrade oncecheck
      - run: oncecheck login --token ${{ secrets.ONCECHECK_TOKEN }}
      - run: oncecheck scan . --format sarif --output results.sarif
      - uses: github/codeql-action/upload-sarif@v3
        if: always()
        with:
          sarif_file: results.sarif

SARIF export requires the Team plan.

Rule Sources

Oncecheck's 73+ rules are derived from official guidelines and industry standards. Below are the primary sources:

CategoryRulesSource
iOS20Apple App Store Review Guidelines
Android18Google Play Developer Policy
Web27OWASP Top 10
Common8Cross-platform (supply chain, accessibility)

Additional standards covered:

  • COPPA — Children's Online Privacy Protection
  • HIPAA — Health Insurance Portability and Accountability
  • PCI-DSS — Payment Card Industry Data Security Standard
  • WCAG 2.1 — Web Content Accessibility Guidelines

Plans

FeatureStarter (Free)Team
Compliance rules3573+
Scans per day3Unlimited
PlatformsiOS, Android, WebiOS, Android, Web
Terminal outputYesYes
JSON / SARIF / text exportNoYes
CI/CD integrationExit codes onlyFull (SARIF upload)
Priority supportNoYes
Price$0$19/mo or $190/yr

Ready to upgrade? Upgrade to Team