Skip to main content

Unveilr Security Intelligence Platform — CLI

Project description

Unveilr CLI

Security Intelligence from the terminal.

Unveilr CLI connects to your Unveilr platform and lets you run scans, triage findings, and generate compliance reports — all without leaving the terminal or your CI/CD pipeline.

Install

pip install unveilr-cli

Or with pipx (recommended for isolated installs):

pipx install unveilr-cli

Requires Python 3.10+.

Quick Start

# 1. Authenticate
unveilr login --url https://api.your-company.unveilr.com --username you@company.com

# 2. Connect an AWS account
unveilr connect aws --role-arn arn:aws:iam::123456789012:role/UnveilrReadOnly

# 3. Run a unified scan
unveilr scan

# 4. Run a specific scan type against a repo
unveilr scan --type iac --repo https://github.com/org/infra

# 5. Check scan status
unveilr status

# 6. List critical findings
unveilr findings --severity critical

# 7. Generate a compliance report
unveilr compliance report --framework CIS-AWS --output report.pdf

Commands

Command Description
unveilr login Authenticate with the Unveilr API
unveilr logout Clear stored credentials
unveilr whoami Show current auth state
unveilr connect aws Connect an AWS account via IAM role
unveilr scan Run a unified scan (SAST, SCA, IaC, secrets, containers)
unveilr scan --type <type> Run a specific scan (sast, sca, iac, secrets, container, dast)
unveilr status Check the status of running scans
unveilr findings List and filter security findings
unveilr compliance report Generate compliance reports (CIS-AWS, SOC2, PCI-DSS, NIST, HIPAA, GDPR)

CI/CD Integration

GitHub Actions

- name: Unveilr Security Scan
  run: |
    pip install unveilr-cli
    unveilr login --url ${{ secrets.UNVEILR_API_URL }} --username ${{ secrets.UNVEILR_USER }} --password ${{ secrets.UNVEILR_PASS }}
    unveilr scan --type sast --repo ${{ github.server_url }}/${{ github.repository }}
    unveilr findings --severity critical --exit-code 1

GitLab CI

security_scan:
  image: python:3.12-slim
  script:
    - pip install unveilr-cli
    - unveilr login --url $UNVEILR_API_URL --username $UNVEILR_USER --password $UNVEILR_PASS
    - unveilr scan --type sast --repo $CI_PROJECT_URL
    - unveilr findings --severity critical --exit-code 1

Authentication

Credentials are stored locally at ~/.config/unveilr/config.json. The CLI uses JWT tokens to authenticate with the Unveilr API. Tokens refresh automatically.

You can also set environment variables:

export UNVEILR_API_URL=https://api.your-company.unveilr.com
export UNVEILR_TOKEN=your-api-token

Links

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

unveilr_cli-0.2.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

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

unveilr_cli-0.2.0-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file unveilr_cli-0.2.0.tar.gz.

File metadata

  • Download URL: unveilr_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for unveilr_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c3f867b9b05cc0b49829d64ad9aa9c701d8beb241af6e5912a736c8aa28cd640
MD5 c305fa20a6de7aa0f6ae5d66e41bfc5f
BLAKE2b-256 f64f82b8e15bf15c54c988beab19aedda3ed878453d4f1bae0c32b6f14e885d1

See more details on using hashes here.

File details

Details for the file unveilr_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: unveilr_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for unveilr_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b834304ca046a884ecb636de27016776bce1fd8963b9ec1a0e845790a2ad7cb9
MD5 1a74a0228f366ee100fdcf121f038969
BLAKE2b-256 2b19bd72597692f5cf84b9aaad08fa93c95e34646e18ee84275cebdab7672ae6

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