Nick Huanca
75f70352ba
Additional Pod Controller Scans ( #166 )
...
**Changes**
- Refactored the way controllers work to be an interface
- Added configurable controllers to include in scans
- Added daemonsets, jobs and cronjobs in scans
- Added `ReplicationController` type controllers to the supported list
- Adjusted logic for failed YAML parsing to bubble up errors
- Added better logic for calculating summaries on cluster wide results
- Relocated responsibilities for counting types into validators vs spreading it around more packages
- Fixed bug where cronjob parsing was using wrong KIND
- Added fixtures for mocking new controller types
- Added example yamls to test scanning files
- Added functions to NamespacedResult(s) to reduce code complexity deep set iterations
- Refactored how results get added to namespacedresults so adding more later is easier
- Minor signature changes for interface implementing structs for controllers
2019-07-31 15:56:27 -06:00
Will Ledingham
fae7a9fc17
Merge branch 'master' into wl/config-URL
2019-07-30 17:02:02 -04:00
Will Ledingham
79b0a00d5c
more edits
2019-07-30 16:59:11 -04:00
Will Ledingham
e4fe5ab085
more edits
2019-07-30 16:45:49 -04:00
Will Ledingham
2049698c8e
small edit
2019-07-30 16:37:24 -04:00
Bobby Brennan
20bd32afb6
Rename ReactiveOps to Fairwinds ( #180 )
...
* Rename ReactiveOps to Fairwinds
* Rename ReactiveOps to Fairwinds
2019-07-30 15:29:09 -04:00
Will Ledingham
c132f7ee51
more edits
2019-07-29 13:29:53 -04:00
Will Ledingham
c8c0e07a22
altered to fix tests on CircleCl.
2019-07-29 11:09:33 -04:00
Will Ledingham
b55f4717b1
typo
2019-07-29 10:44:01 -04:00
Will Ledingham
baa652197a
Fixed error handling in ParseFile, added a test for parseFile where no Http server is configured
2019-07-29 10:33:27 -04:00
Will Ledingham
e01c39230a
cleaned up unnecessary comments
2019-07-25 16:34:59 -04:00
Will Ledingham
7b8b5fee4d
expanded ParseFile function to include URL's and added a test for it.
2019-07-25 16:31:17 -04:00
Bobby Brennan
1d6248180e
add display-name flag
2019-06-10 14:39:24 +00:00
Bobby Brennan
79f3d2cb74
use packr for config.yaml
2019-05-17 14:34:53 +00:00
Rob Scott
674696c7e1
restructuring config to match up with docs
2019-04-22 12:58:25 -04:00
Rob Scott
3ea06b81ee
security validations fully working
2019-04-05 15:10:11 -04:00
Rob Scott
82164105d7
initial work on security validations
2019-04-05 15:10:00 -04:00
Rob Scott
d607d48d28
adding MessageType for use in place of Severity in relevant places
2019-03-28 12:16:15 -04:00
Rob Scott
f5cde2db38
a lot of cleanup and restructuring
2019-03-27 22:57:01 -04:00
Rob Scott
f04883539a
updating resource config syntax
2019-03-27 22:55:31 -04:00
Rob Scott
6d49d0e19c
updating logic to work with new config syntax
2019-03-27 22:55:31 -04:00
Rob Scott
3de9493b68
initial implementation of updated configuration syntax
2019-03-27 22:55:31 -04:00
jessicagreben
7195793ff5
add network test
2019-02-13 14:33:47 -08:00
jessicagreben
16409c097d
add pod host networking validations
2019-02-13 10:58:30 -08:00
jessicagreben
5f7130d1e0
add host port validation
2019-02-13 09:04:13 -08:00
jessicagreben
ef36859d5f
fix test
2019-02-08 14:38:40 -08:00
Rob Scott
9d3f78e420
including successes in dashboard output
2019-01-28 23:23:32 -05:00
jessicagreben
21e7d2b0f8
make PR comment changes
2019-01-03 07:33:20 -08:00
jessicagreben
fcf9b20ab6
fix comment
2018-12-31 11:34:04 -08:00
jessicagreben
c3bbbde631
add image and healthcheck config and checks
2018-12-31 11:21:46 -08:00
Rob Scott
d1ec730afd
improved config parsing, removing viper
2018-12-28 15:18:59 -05:00
Rob Scott
823e460965
lots of restructuring to add ContainerValidation type
2018-12-21 12:44:05 -05:00
Rob Scott
eabae4d5d2
updating golang to 1.11.4 along with a lot of dependency updates, updating config parsing to work with resource requests and limits
2018-12-19 10:58:49 -05:00
jessicagreben
bbf2f4f6e7
use config in ctr validation
2018-12-18 12:16:47 -08:00
jessicagreben
7bc1445691
add viper config
2018-12-15 11:44:13 -08:00