Skip to content

Commit d75cac4

Browse files
authoredJan 13, 2018
[CVE-2017-8418] - updating rubocop dependency. (#258)
* [CVE-2017-8418] - updating rubocop dependency. Misc: - appeasing the cops where time allowed, created TODOs to come back later and refactor. Signed-off-by: Ben Abrams <[email protected]> * somehow using annotated tokens breaks the code. reverted the annotations, disabled the rule for those lines matching cops, and added TODO to look at a later date. Signed-off-by: Ben Abrams <[email protected]>
1 parent 4dfb90f commit d75cac4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+133
-116
lines changed
 

‎.rubocop.yml

+3
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,6 @@ Style/FormatString:
3838
Style/ClassVars:
3939
Exclude:
4040
- test/**/*.rb
41+
Metrics/BlockLength:
42+
Exclude:
43+
- test/**/*.rb

‎CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
55

66
## [Unreleased]
77

8+
### Security
9+
- updated rubocop dependency to `~> 0.51.0` per: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-8418. (@majormoses)
10+
11+
### Changed
12+
- appease the new cops where it required light refactoring, called out TODO's for later refactoring (@majormoses)
13+
814
## [10.1.1.] - 2018-01-13
915
### Fixed
1016
- check-instance-health.rb: fixed incorrect test operator from `&&` to `||` in `gather_events`, should reject if either case is true. (@randeffects)
@@ -13,6 +19,7 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins
1319
- check-cloudwatch-composite-metric.rb: add flags `zero_denominator_data_ok`, `no_denominator_data_ok`, and `numerator_default` to add ability to allow numerator in composite to be 0. While leaving the functionality of `no_data_ok` the same, this change allows us to check to alert if the numerator has no data since 0/X is a valid alert case. (@zbintliff)
1420
- lib/cloudwatch-common.rb: added tests for majority of functions (@zbintliff)
1521

22+
1623
## [10.0.3] - 2017-12-03
1724
### Fixed
1825
- metrics-asg.rb: fix dimension name, handle the --scheme flag, make the --statistic flag work, support autoscaling groups containing spaces in their name (@multani)

0 commit comments

Comments
 (0)
Please sign in to comment.