Installation:
$ pip install protego-cli
Running the cli tool :
usage: protego_fsp_layer.py [-h] -m {get,add,reset,remove} [-p PROTEGO_ACCOUNT_ID] [-t PROTEGO_ACCESS_TOKEN]
[-a AWS_PROFILE] [-s FSP_VERSION] [-q] [-v] [-r RUNTIME] [-R REGION] [-o OUTPUT]
[-f FUNCTION_ARN] [--version]
Protego FSP Layers Info Add / Get / Remove
optional arguments:
-h, --help show this help message and exit
-m {get,add,reset,remove}, --mode {get,add,reset,remove}
Action Mode
-p PROTEGO_ACCOUNT_ID, --protego-account-id PROTEGO_ACCOUNT_ID
Protego Account ID
-t PROTEGO_ACCESS_TOKEN, --protego-access-token PROTEGO_ACCESS_TOKEN
Protego Token
-a AWS_PROFILE, --aws-profile AWS_PROFILE
(Optional) AWS profile
-s FSP_VERSION, --fsp-version FSP_VERSION
(Optional) FSP Version(default: latest)
-q, --quiet (Optional) Quiet mode: output only the json output
-v, --verbose (Optional) Verbose debug logs
-r RUNTIME, --runtime RUNTIME
(Optional) Environment runtime[python2.7, python3.6, python3.7, nodejs6.10, nodejs8.10]
-R REGION, --region REGION
(Optional) The region of which FSP layer
-o OUTPUT, --output OUTPUT
(Optional) Output file name(default: protego_layers.json)
-f FUNCTION_ARN, --function-arn FUNCTION_ARN
(Optional) Function Arn to add/remove/reset Fsp.
--version Display the protegocli tool version
protego.yml file example:
Account:
ProtegoAccountId: <YourProtegoAccountId>
ProtegoAccessToken: <YourProtegoAccessToken>
Metadata
Release files for protego-cli 1.2.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| protego_cli-1.2.24-py2-none-any.whl | Python 2 | none | any | Details for protego_cli-1.2.24-py2-none-any.whl |
Release files / protego_cli-1.2.24-py2-none-any.whl
| Download URL | protego_cli-1.2.24-py2-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
f19868b9fa130de0a5c05c2180e752b9ed6252e19c0ccf395ba6cb5fa48a6e87
|
|
BLAKE2b-256 checksum How to use checksums |
543e4a2a2a29f18d9682da69afccd5f5bcfba826d18a24e9de4064e9af6c9bf7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.10
|
Security for protego-cli 1.2.24
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.