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.3.0.tar.gz (15.5 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.3.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unveilr_cli-0.3.0.tar.gz
  • Upload date:
  • Size: 15.5 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.3.0.tar.gz
Algorithm Hash digest
SHA256 b68602a56f639c737c95f3a574327f77ced13bcd2d20c2019af5c90536366168
MD5 3b08bb4416e9c480f4d49b7710e5d115
BLAKE2b-256 b5b53303545f468bc5c3a5105c62d46c99a34483680f430b1dce31162508d5e1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unveilr_cli-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f35d95d10b89c3dde1221ea802b40dc7ea94c0847d9c1d78f2d46034a2664fde
MD5 210bdb2acf800d510646be473824bab7
BLAKE2b-256 a9b73cbd79f2b03583bb3e36384d82bab1e5726af6c1ee9a1dd8593fb5df1086

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