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
Metadata
Release files for ctscan 0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ctscan-0.4.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ctscan-0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.5 kB
Release files / ctscan-0.4.tar.gz
| Download URL | ctscan-0.4.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bf3f7ded3d5178bc858223c14c4c571e9436f50d6c14a082b2d9d30c02ad638
|
|
BLAKE2b-256 checksum How to use checksums |
8369556c3e7b586ab35a642d91853928ae98b71f2c90c75b83d41b004516b9f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / ctscan-0.4-py3-none-any.whl
| Download URL | ctscan-0.4-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4011756ac69a0c474260c7c0b88c5a15d7da794446683c2cb21ce1f49d62ac6f
|
|
BLAKE2b-256 checksum How to use checksums |
c34d708d80e8cfabb47ee7a1e1f391a05f74650b43856471029c1a51a2df6106
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|