Isitfit

Latest version: v0.20.11

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

Scan your dependencies

Page 4 of 15

0.18.910

- bugfix: tqdm in register that waited 30 seconds to completion: didnt have `desc` field + was using tqdm directly instead of TqdmL2Verbose
- bugfix: `share/email` to not require AWS authentication, just the randomly generated local UID
- a user didnt have `execute-api:Invoke` permission
- another user was using the root account, which couldnt assume the isitfit-provided role
- so just alleviating the need for any authentication altogether at this stage

0.18.11

- tests: exhaustive unit tests for `datadogManager`
- bugfix: cost: datadog data was not being pulled at all when cloudwatch data was missing
- moved the try/except of "missing cloudwatch data" to inside the per-resource iterator on listeners
- on missing cloudwatch data, insert a single row of nans to preserve the entry for the hope that the nans will be overwritten by datadog
- datadog cpu data overwrites the cloudwatch cpu data if present, this means that the analysis is either all-cloudwatch or all-datadog
- add to datadog the following metrics cpu-min, ram-min, and nhours
- conversion of datadog entries to classification was completely bugged due to the `.datadog` suffix that was added to the columns

0.18.8

- bugfix: strip color from profile name for case of using the default (which is colored)

0.18.7

- bugfix: in `pingOnError` check if click context ctx.obj is still None before using it
- enh: cost optimize: show message "no optimizations from ec2" in display
- feat: cost analyze: upon email entry, if sending fails because of pending verification, just prompt the user (max 3 times) to check email then click Enter when clicked on verification
- bugfix: in `IsitfitCliError`, check if `ctx` is None as well as `ctx.obj`
- bugfix: in `pingOnError` was missing a `import ping_matomo`. Not sure how it didnt show up until now
- feat: cost analyze: save the last-used email and show it as default in the email prompter
- bugfix: click issue with `--help` triggering the code of `isitfit command` when `isitfit command subcommand --help` is issued (whereas it should be skipped)
- enh: cost: use `isitfit_option_base` for `ndays` and move it back to `isitfit cost` level rather than duplicating it in `isitfit cost {analyze,optimize}`
- bugfix: cost: when `--ndays` passed on CLI, the option `type` was not being cast in `isitfit_option_base`
- enh: general: prompt for using redis now uses click.confirm and makes the default "yes" instead of "no"
- enh: cost analyze: after sending a verification email, use click.pause instead of click.prompt
- enh: cost analyze: only save "last-used email" after the email verification is complete
- feat: cost: save last-used profile in `~/.isitfit/last_profile.txt`
- feat: add colors to profile names in prompt

0.18.6

- bugfix: withdrew 0.18.5 from pypi after finding that `isitfit version` will prompt for the `--profile`
- fixed with `cli.click_descendents.isitfit_option_profile`

0.18.5

- enh: cost analyze: use `click.IntRange` for `--ndays`
- feat: prompt user for aws profile to use
- feat: cost analyze: send profile and `filter-region` to `share-email` endpoint for display in email
- enh: refactor to move `IsitfitCliError` from `isitfit.utils` to `isitfit.cli.click_descendents`
- enh: cost analyze: add some spaces to align progress bars
- enh: cost: change default of `ndays` from 90 to 7 to inspire user repeat usage
- bugfix: cost analyze: binned start/end dates had a few small bugs: start date was not the start of the period, issues with pandas implementation of resample for 1D (end) and 1SM (semi-month), no longer filling NaT for columns with no data
- bugfix: pinging matomo before an unhandled error was causing the ping to be done 3 times, first for the command (eg isitfit cost analyze), then for the group (eg isitfit cost), and finally for the core (ie isitfit)

Page 4 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.