Skip to content

Commit 5b9d9b7

Browse files
rwkymajormoses
authored andcommitted
Qualys command changes
* `check-ssl-qualys.rb`: Fixed typo and removed timeout `-t` short option replacing it with `--timeout` as per previous changelog. `-t` conflicts with the short option for `--time-between` * Fixed typo in changelog
1 parent 5bf4c6f commit 5b9d9b7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ This project adheres to [Semantic Versioning](http://semver.org/).
44
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md).
55

66
## [Unreleased]
7+
- `check-ssl-qualys.rb`: Fixed typo and removed timeout `-t` short option replacing it with `--timeout` as per previous changelog. `-t` conflicts with the short option for `--time-between`
8+
- Fixed typo in changelog
79

810
## [2.0.0] - 2018-03-27
911
### Breaking Changes
10-
- `check-ssl-qualys.rb`: when you submit a request with caching enabled it will return back a response including an eta key. Rather than sleeping for some arbitrary number of time we now use this key when its greater than `--between-checks` to wait before attempting the next attempt to query. If it is lower or not present we fall back to `--between-checks` (@majormoses)
12+
- `check-ssl-qualys.rb`: when you submit a request with caching enabled it will return back a response including an eta key. Rather than sleeping for some arbitrary number of time we now use this key when its greater than `--time-between` to wait before attempting the next attempt to query. If it is lower or not present we fall back to `--time-between` (@majormoses)
1113
- `check-ssl-qualys.rb`: new `--timeout` parameter to short circuit slow apis (@majormoses)
1214

1315
### Changed

bin/check-ssl-qualys.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ class CheckSSLQualys < Sensu::Plugin::Check::CLI
9595
default: 10
9696

9797
option :timeout,
98-
short: '-t SECONDS',
99-
descriptions: 'the ammount of seconds that this is allowed to run for',
98+
long: '--timeout SECONDS',
99+
descriptions: 'the amount of seconds that this is allowed to run for',
100100
proc: proc(&:to_i),
101101
default: 300
102102

0 commit comments

Comments
 (0)