Skip to main content

Shift Left N Secure

Secure your project source code before pushing commits to github/gitlab/bitbucket. Project helps Software Development team to use shift left approach to find and mitigate issues at an early stage instead of taking action once code reaches to the production.

Installation

Using Pip

  • From PyPi

    python -m pip install -U shift_left_secure
    
  • From Github

    python -m pip install git+https://github.com/dmdhrumilmistry/Shift-Left-Secure.git
    

Using Git Clone for Development

  • Clone repo

    git clone https://github.com/dmdhrumilmistry/Shift-Left-Secure.git
    
  • change directory

    cd Shift-Left-Secure
    
  • Install project

    python -m pip install -e . 
    

Usage

  • Add your ChatGPT API key to environment variable

    export OPEN_API_KEY=KEY
    
  • Use help to view options

    $ python -m shift_left_secure -h
    usage: shift_left_secure [-h] -d DIRECTORY [-c COMMITS] [-o OUTPUT_PATH]
    
    options:
    -h, --help            show this help message and exit
    -d DIRECTORY, --directory DIRECTORY
                            directory of git project
    -c COMMITS, --commit_hash COMMITS
                            no of commits to be analyzed from current HEAD
    -o OUTPUT_PATH, --output OUTPUT_PATH
                            output path to json file
    
  • Start analyzing changes between commits using below cmd:

    python -m shift_left_secure -d 'path_to_git_project' -c 1 -o test.json
    

Metadata

Release files for shift-left-secure 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shift-left-secure 0.2.3
File Size Uploaded Provenance
shift_left_secure-0.2.3.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for shift-left-secure 0.2.3
File Interpreter ABI Platform
shift_left_secure-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 13.0 kB

Release files / shift_left_secure-0.2.3.tar.gz

Download URL shift_left_secure-0.2.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
413f3a0470bc843d086516d3cb6a05eb24f17739a6563dc869227d356c75b74b
BLAKE2b-256 checksum
How to use checksums
f21c3eeda2b0ff8c6b869d84cbb7a35df3908e417519525e45439f34d3053945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

Release files / shift_left_secure-0.2.3-py3-none-any.whl

Download URL shift_left_secure-0.2.3-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9f07ca33f41a314837876e9eaf16dcbfcf4dde55c95d7649d1987e69b9160c1
BLAKE2b-256 checksum
How to use checksums
13183caa6c0a94ac42c859d843974492f04109504a7a97b1fd3fa66a0c58c191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.1 CPython/3.11.2 Darwin/22.3.0

Security for shift-left-secure 0.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page