Isitfit

Latest version: v0.20.11

Safety actively analyzes 628499 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 15

0.12.2

- enh: use click's exception handling for IsitfitCliError
- pass `is_outdated` in click context for error verbosity about upgrade
- enh: use click's Command to display footer after invoke
- end: unit tests for the above changes
- enh: use click's UsageError for the deprecated options
- enh: use click's BadParameter for n of emails > 3
- enh: in `ApiMan.request`, add case of status code not "ok"

0.12.01

- enh: `utils.ping_matomo` to use the new package `matomo-sdk-py`

0.11.2345

- series of fixups to publish 0.11 to pypi
- bugfix: move `isitfit --version` deprecation in favor of `isitfit version` before
- enh: wrap call to cloudtrail with try/except for cleaner exit on error
- enh: fix some tests
- bugfix: uncomment debugging of prompt upgrade
- bugfix: bring `findPackages` to `setup.py`

0.11.67

- enh: refactor `IsitfitError` for `IsitfitCliError`
- bugfix: change format of payload sent to cost analyze share email
- initially the color codes were cluttering the email html
- bugfix: cost analyze share email data field 'color' should be string

0.11.1

- enh: factor out code into `ApiMan` (for listening on SQS and calling AWS API Gateway endpoint) and new class EmailMan
- this makes the code much simpler with `listen_sqs` call instead of all the internals showing up in `tagsSuggestAdvanced`
- feat: http requests to aws api gateway to be sigv4-signed with aws keys (in order to do clean authentication on http)
- this alleviates the need to do further authentication via sqs for example (where sqs is limited to the source account by iam policy)
- bugfix: redis cache to check *all* variables set
- enh: when n ec2 > 10, prompt user to use redis caching
- bugfix: http/sqs combo request was dropping messages since `dt_now` was calculated *after* request .. fixed
- bugfix: sigv4 with aws-requests-auth updated
- bugfix: add assume role with boto3 after realizing that the aws auth doesnt work for non-autofitcloud accounts
- bugfix: path /register in `isitfit tags suggest --advanced` still requires IAM auth via sigv4
- enh: stats to be skipped on first error to reach matomo
- enh: upgrading client in response to process change about registration in `isitfit-api==0.5` since it takes > 30 seconds
- enh: implement try-again in apiman
- enh: `--share-email` is now a list by click usage
- enh: move check for deprecated usage to top of cli for faster execution
- enh: add back `--version` and list it as deprecated
- enh: add `--skip-check-upgrade` option
- enh: add `SYNOPSIS.md`
- enh: improve the `prompt_upgrade` function for the case of dev machine version being more recent than pypi
- feat: `--share-email` works with `isitfit-api==0.08`
- docs: readme links to other md files
- docs: add security section to readme
- enh: validate response schema from share-email
- enh: validate response schema envelope for all requests (i.e. 2 main keys `isitfitapi_{status,body}`)
- enh: limit share-email to 3
- enh: cli move prompt upgrade till after checking share-email limit if requested
- enh: check if share-email is to 0 emails
- enh: cli footer aligned

0.11.0

- bugfix: matomo ping was being called from test, thus cluttering the stats with noise. Mocked out
- enh: `isitfit version` and `isitfit --version` both show the version (in case a user uses any of the 2)
- enh: move all cost-related code into `isitfit/cost`
- enh: move all tags-related code into `isitfit/tags`
- enh: drop support for the optionless `isitfit` and `isitfit --optimize` in favor of `isitfit cost analyze` and `isitfit cost optimize`
- this makes for a cleaner implementation of the CLI
- it might confuse some early users who read earlier documentation
- but I'd rather make this change earlier better than later
- enh: instead of showing a "option not found" error if `isitfit` or `isitfit --optimize` are used, show the user the new command syntax

Page 8 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.