Skip to main content

A python library to scan your code for vulnerabilities.

Project description

CTScan Code Scanner

CTScan Code Scanner is a Python-based tool designed to download and execute a CLI from AWS S3, decrypt necessary credentials, and perform code scanning operations. This tool is intended to be used as a command-line utility.

Features

  • Download CLI executable from AWS S3
  • Decrypt AWS credentials using AES encryption
  • Perform code scanning with various configurable options
  • Output results in different formats

Installation

To install the package, use the following command:

pip install ctscan

Usage

To use the ctscan Code Scanner, run the following command:

python -m ctscan --api_key YOUR_API_KEY [options]

Command-Line Arguments

  • --api_key (required): API key for authentication
  • --app_id: Application ID
  • --app_name: Application name
  • --branch_name: Branch name (default: 'default')
  • --enable_color: Enable color in report
  • --format: Output format
  • --is_console_report: Enable console report (default: True)
  • --is_debug: Enable debug logs
  • --output_file: Output file path
  • --scan_types: Types of scans to be triggered
  • --severity: Severity level
  • --skip_build_fail: Skip build fail
  • --source_dir: Source directory (default: current working directory)
  • --version: CLI version to use
  • --hostname: API endpoint hostname (default: custom-endpoint.yourdomain.io)

Example

python -m ctscan --api_key YOUR_API_KEY --app_name MyApp --branch_name main --format json --output_file results.json

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please open an issue or submit a pull request on GitHub.

Contact

For any inquiries, please contact the project maintainers. aspm@securin.io

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

ctscan-0.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

ctscan-0.2-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file ctscan-0.2.tar.gz.

File metadata

  • Download URL: ctscan-0.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ctscan-0.2.tar.gz
Algorithm Hash digest
SHA256 408d3396d59a2e56e25fea3eaff5991673e53c6de69ad86457c562c177f97722
MD5 b613829a6e130cc8fad3198397549266
BLAKE2b-256 d9001daa7678ac31c5842964e88c6943a4e387e85d3fc2ab87971c1d6f56451b

See more details on using hashes here.

File details

Details for the file ctscan-0.2-py3-none-any.whl.

File metadata

  • Download URL: ctscan-0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for ctscan-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 595be0652a9928fb33a80249119ab5b0c9c713bbeac942dc2bf300c6f6e98781
MD5 717178b3aa314f9414c2fc4fb15b95b4
BLAKE2b-256 8d5e260f081db7aab07422b0b3ccf75d6a7e6a35fa76f878f47d4cd8a6971ac9

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