Commit graph

3112 commits

Author SHA1 Message Date
Miah Johnson
046d4567ae rubocop
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 19:10:42 -07:00
Miah Johnson
ea0643cc14 Handle load_config better
private method to minimize external interface
default enabled to false if unable to find setting in configuration
add reader for config

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 19:04:51 -07:00
Miah Johnson
6881c210ad Gather all telemetry options and return them
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 19:03:30 -07:00
Miah Johnson
3695094218 cli -> --enable-telemetry and default to false
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-07 18:55:11 -07:00
Miah Johnson
c9ae6a9d20 Add a missing doc
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-03 16:28:01 -07:00
Miah Johnson
f1b1b3eccf Ensure the collector is aware of the config class
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-03 16:06:25 -07:00
Miah Johnson
122246bcc4 load our configuration and set telemetry status
Allow overriding config object

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-02 20:14:15 -07:00
Miah Johnson
78f7f000f5 Allow enabling or disabling telemetry from the cli
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-02 20:13:37 -07:00
Miah Johnson
b0ee14a204 Expose configuration for telemetry as method
Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-05-02 20:12:53 -07:00
Chef Expeditor
1bba904dad
Bump version to 4.3.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-01 19:00:55 +00:00
Miah Johnson
063a7d82e7
Merge pull request #4004 from inspec/mj/4003
Update resource registry_key documentation example
2019-05-01 12:00:36 -07:00
Chef Expeditor
9a15388431
Bump version to 4.3.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-05-01 18:24:53 +00:00
Miah Johnson
5c00a44d71 Update resource registry_key documentation example
ref: https://github.com/inspec/inspec/issues/4003

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-30 17:04:12 -07:00
Chef Expeditor
a6feb2f32c
Bump version to 4.3.2 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-30 00:43:30 +00:00
Chef Expeditor
d87c24514f
Bump version to 4.3.1 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-30 00:03:18 +00:00
tyler-ball
d1a3c55863 Correcting missing version for InSpec
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-29 17:55:13 -06:00
Clinton Wolfe
a282204b41 Update exe location in functional test helpers
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-29 13:27:10 -06:00
Chef Expeditor
9b13bcb953
Bump version to 4.2.0 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-26 18:00:08 +00:00
Clinton Wolfe
154824128c Make sure --input-file change made it in
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
7d2028287c Get unit and functional tests passing
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
9156a782fe Add stack introspection
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:32 -04:00
Clinton Wolfe
9faf4b1034 Add tests for marshalling
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
407dcd9028 Add unit tests for enforcing type validation
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
2536d76324 Events work at the unit level, except for stack hueristics
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
b8cde5530b Add event, some tests still commented out
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
aae54d2cb6 Checkpoint commit after Input rename; precedence is broken
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
8ef5eb46b1 Start getting unit tests passing again
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Clinton Wolfe
883572fcbb First bits on consolidating attribute creation into the registry
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2019-04-26 13:14:31 -04:00
Chef Expeditor
9e07bf8fbd
Bump version to 4.1.16 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-26 17:11:57 +00:00
Chef Expeditor
f5cbccc626
Bump version to 4.1.15 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 23:49:53 +00:00
Chef Expeditor
049c6cb3bf
Bump version to 4.1.14 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:57:00 +00:00
Chef Expeditor
78d94965b9
Bump version to 4.1.13 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:33:34 +00:00
Clinton Wolfe
db129be2b2
Provide logger to license-acceptance for help debugging in the future (#3958)
Provide logger to license-acceptance for help debugging in the future
2019-04-25 18:33:16 -04:00
Chef Expeditor
a8333172d8
Bump version to 4.1.12 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:28:40 +00:00
Chef Expeditor
4265c5ff17
Bump version to 4.1.11 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 22:27:47 +00:00
Chef Expeditor
3ae47763bb
Bump version to 4.1.10 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 18:43:58 +00:00
Clinton Wolfe
9e6adcc7b1
update 'low' impact value to align with CVSS 3.0 (#3961)
update 'low' impact value to align with CVSS 3.0
2019-04-25 14:43:43 -04:00
Chef Expeditor
406cc82b1f
Bump version to 4.1.9 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:11:14 +00:00
Chef Expeditor
2628857241
Bump version to 4.1.8 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:10:33 +00:00
Chef Expeditor
3c4e3d1279
Bump version to 4.1.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-25 15:09:55 +00:00
Clinton Wolfe
00bcf91dac
When mssql response is parsed, header might be nil. (#3971)
When mssql response is parsed, header might be nil.
2019-04-25 11:09:52 -04:00
Clinton Wolfe
843ba7afa2
Improve ss parsing code for IPv6 addresses (#3962)
Improve ss parsing code for IPv6 addresses
2019-04-25 11:09:31 -04:00
Chef Expeditor
5504820d39
Bump version to 4.1.6 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-24 00:57:35 +00:00
Miah Johnson
7506ae4121 When mssql response is parsed, header might be nil.
Only set and downcase header if its not nil.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-23 14:45:34 -07:00
Aaron Lippold
6d452540d0 updated low to align with CVSS 3.0
Signed-off-by: Aaron Lippold <lippold@gmail.com>
2019-04-23 15:02:52 -04:00
Chef Expeditor
3defc93670
Bump version to 4.1.5 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-23 01:17:19 +00:00
Chef Expeditor
f1cc0b0477
Bump version to 4.1.4 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-22 16:50:02 +00:00
Miah Johnson
27935e9e51 Improve ss parsing code for IPv6 addresses
Some versions of `ss` wrap IPv6 addresses in brackets, eg:

```
[fe80::dc11:b9b6:514b:134]%eth0:123
[::]
```

This change removes all brackets during parsing.

Signed-off-by: Miah Johnson <miah@chia-pet.org>
2019-04-18 23:55:50 -07:00
tyler-ball
8425a50872 Provide logger to license-acceptance for help debugging in the future
Signed-off-by: tyler-ball <tball@chef.io>
2019-04-18 12:29:57 -06:00
Chef Expeditor
50a8fd7370
Bump version to 4.1.3 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
2019-04-17 21:12:41 +00:00