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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ctscan-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6b77715500e70420ca6148619ebb744ab1f693e7c4b01f3168aa851ed04e7800
MD5 0a799b75f12515f69e0619cd7abb0839
BLAKE2b-256 c4089775394f745b0e635d48499a95e6a773ddeb1050248fdaba3e150f73f0a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ctscan-0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17f53c50a01ce155629e73a5df8f883ac932511adf0fe9dbe1cfa3b40bc92ed2
MD5 f55e00cb34889b332d4c061295badfa7
BLAKE2b-256 74e6308cefc9fab876567ed2730c2bbe71faf531d0d7e0c2d723bd3246a80b7b

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