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.4.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.4-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctscan-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 2bf3f7ded3d5178bc858223c14c4c571e9436f50d6c14a082b2d9d30c02ad638
MD5 fe2882304127ac382e48351e2a375d7a
BLAKE2b-256 8369556c3e7b586ab35a642d91853928ae98b71f2c90c75b83d41b004516b9f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctscan-0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4011756ac69a0c474260c7c0b88c5a15d7da794446683c2cb21ce1f49d62ac6f
MD5 0b66abdb6e2fd64d71c8cbde772a3fe4
BLAKE2b-256 c34d708d80e8cfabb47ee7a1e1f391a05f74650b43856471029c1a51a2df6106

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