Skip to main content

Command Line Interface (CLI) for bulk processing/loading data into RegScale

Project description

RegScale Command Line Interface (CLI)

This CLI application is for supporting advanced automation and bulk data processing related to the RegScale Compliance Automation Platform. This application is intended to run as a "side car" that be scheduled via CRON job or serverless function to perform sophisticated data processing. The CLI includes multiple libraries for processing data, connecting to RegScale Application Programming Interfaces (APIs), and commercial integrations. This software may be packaged and included in other commercial software to lower the level of effort associated with building RegScale integrations to other commercial tools.

Use Cases

  • Sidecar for bulk processing compliance data such as vulnerability scans or continuous monitoring logs
  • Ingest of data such as National Institute of Standards and Technology (NIST) Open Security Control Assessment Language (OSCAL)
  • Running CRON job to bulk process data
  • Processing NIST OSCAL artifacts
  • Bulk user management with Active Directory
  • Integration with 3rd party scanning tools such as:
    • Wiz.io
    • Tenable Security
  • ITIL ticket creation and processing such as:
    • ServiceNow
    • Jira

Development Using the CLI

Build and install our new tool in the virtual environment to test locally (NOTE: If on Windows, may use the py prefix instead of python3):

python3 setup.py develop

This command build a local instance of the CLI for testing. Run the "About" example to test:

regscale about

WARNING - this site is under construction

The CLI is currently in BETA and planned for version 1.0 General Availability in late Spring or early Summer of 2022.

Packaging and Deploying the CLI

To package for distribution, run the following command (make sure to update the version in setup.py first):

python3 setup.py sdist bdist_wheel

Publish to PyPi:

twine upload --repository testpypi --skip-existing dist/*

RegScale CLI should now be available at: https://test.pypi.org/project/RegScale-CLI

Using the CLI

Read the Online Docs for More Info on Installing, Configuring, and Using the CLI

References

Containerizing Regscale-cli

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

RegScale_CLI-1.0.9-py3-none-any.whl (36.6 kB view details)

Uploaded Python 3

File details

Details for the file RegScale_CLI-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: RegScale_CLI-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 36.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for RegScale_CLI-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 732e0f529b16236d92d0205a616860e25ba728f218825b30ebaff6cf8a1954b8
MD5 1415c6f34a8ecae8e24a5632c0da62c0
BLAKE2b-256 9eede7e76b7d5df7fa38c3c1d3bad32e694971c394435733a17131a5fec26a63

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