Python PIP Safety
This producer component scans dependencies for Python projects. Read more about what it does on the Python PIP Safety page and GitHub repo.
How to use with Smithy
Open-Source
- Add the Helm package to the pipeline settings:
---
# file: ./my-pipeline/kustomization.yaml
components:
- pkg:helm/smithy-security-oss-components/producer-python-pip-safety
- Configure the run parameters of the component in the pipeline run file. All parameters are optional:
# file: ./my-pipeline/pipelinerun.yaml
---
...
spec:
...
params:
- name: producer-python-pip-safety-input-dependency-file
value: <Path to a requirements.txt>
SaaS
- In the Smithy UI, open the page to create a new workflow.
- Find the PIP Safety in the Producers dropdown.
Options
You can configure this component with the following options:
Option Name | Description | Default | Type |
---|---|---|---|
producer-python-pip-safety-input-dependency-file | Path to a requirements.txt. By default it will find the one in the root of your repo. | "" | String |