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.1.0.tar.gz (11.9 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.1.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unveilr_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 11.9 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.1.0.tar.gz
Algorithm Hash digest
SHA256 1ee95c121e52b1dbf4fce0f0e4931e372a8a9e397edc92d2319a90fc0f4eb0a5
MD5 269bce59da9354c00c1b4fbf2ebfc59d
BLAKE2b-256 ba54faf5373a380cbcf6935fb0d7fcae32dbdb184842bc3250fa5877b05372c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unveilr_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccdcea8949624ed84ab437e1de2fe5d4db534d91c4d86db4fb75226d6d09cd9d
MD5 f9903301eb05a6625b0468fbd16854c3
BLAKE2b-256 867c3cdff26cd1bc371d22941667333bdfa4608cf183f8180ed46d49d561c1a0

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