Commit Graph

102 Commits

Author SHA1 Message Date
Bobby Brennan
bd2da76c56 Add explanations for each error
first pass

add info links to dashboard
2019-05-08 16:13:29 +00:00
Bobby Brennan
520d6572e4 Add ability to audit a directory of files (#70)
* refactor kubernetes API usage

* add ability to audit directory

* refactor a bit

* fix return statement

* fix main.go

* add ability to audit multiple resources in a single file
2019-05-07 12:42:57 -04:00
Bobby Brennan
807955d970 fix expand toggling 2019-05-07 15:49:08 +00:00
Bobby Brennan
f6d4264b42 Factor dashboard template into parts
factor out dashboard body into separate template

more refactoring

template out header and footer

add comments

add comments

add preamble
2019-05-07 13:28:11 +00:00
Bobby Brennan
244a1dedcd DeploymentResult -> ControllerResult 2019-05-02 19:18:29 +00:00
Bobby Brennan
1282359b04 create DeploymentResult type 2019-05-02 18:07:01 +00:00
Rob Scott
40e1c1f827 adding image pull policy validation 2019-05-01 16:00:59 -04:00
Rob Scott
0db0e2947f some additional cleanup 2019-04-29 10:58:30 -04:00
Rob Scott
4fe39e7b74 improved logging, better webhook output, webhook deploy fixes 2019-04-26 17:35:14 -04:00
Rob Scott
3e1906d3f1 separating webhook and dashboard k8s deploy config, moving assets into dashboard pkg, reworking docker image to actually make use of packr 2019-04-26 14:57:55 -04:00
Bobby Brennan
55363fd7a8 Add categories to dashboard
add version, cluster stats to output

add comment

update UI

changes to summary aggregation

add category summaries to dash
2019-04-23 15:07:50 +00:00
Rob Scott
674696c7e1 restructuring config to match up with docs 2019-04-22 12:58:25 -04:00
Bobby Brennan
3ce7e12082 Add version, cluster stats to output and UI (#61)
* add version, cluster stats to output

* add comment

* fix tests

* add categories to messages

* fix tests

* update UI

* remove empty category totals field

* k8smeta -> metav1
2019-04-22 12:01:18 -04:00
Bobby Brennan
54a4f92695 Pack static assets into packr box for portability
copy config.yaml to docker image

enable external usage of dashboard package

gofmt

fix comment

use packr for assets

add gobuffalo/packr dependency

add dependencies

fix pointer issues

add output-file option
2019-04-18 18:25:16 +00:00
Rob Scott
495a74d23e adding favicon 2019-04-17 13:26:09 -04:00
Rob Scott
0a4050d6b4 more dashboard updates, including concepty of weather 2019-04-17 11:00:11 -04:00
Rob Scott
6f06a5ef27 added weighted score + letter grades + lots of related dashboard updates 2019-04-15 17:59:41 -04:00
Rob Scott
d363eed95f some dashboard cleanup 2019-04-15 11:15:55 -04:00
Bobby Brennan
8326a49b5a change message variable names 2019-04-12 15:13:46 +00:00
Bobby Brennan
bcff5f10bc pull out messages into separate file, some rephrasing
phrasing

fix tests
2019-04-12 14:56:25 +00:00
Rob Scott
7263ff7e59 adding debug info for dashboard responses 2019-04-05 16:34:45 -04:00
Rob Scott
0a33875962 cleaning up default config, fixing a small bug 2019-04-05 15:57:51 -04:00
Rob Scott
9cfd2b6417 security validation fixes and more thorough tests 2019-04-05 15:10:11 -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
5c69b99f4e Merge pull request #46 from reactiveops/bb/refactor-template-js
refactor templated JS
2019-04-05 15:09:05 -04:00
Bobby Brennan
dab34b9033 refactor templated JS 2019-04-05 18:28:06 +00:00
Bobby Brennan
293d13074c Handle errors in HTML template execution 2019-04-05 12:48:19 +00:00
Bobby Brennan
e4dd53d1c0 Add audit mode to CLI
Add option to send audit results to a remote host

add audit flag to print results to stdout

add comments

make comments more consistent

move audit test

fix fullaudit_test

add test instructions to README

update audit test

simplify stdout output

update comment

fix import

run audit by default
2019-04-03 18:58:00 +00: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
5d5f8c24b2 moving webhook logic into new webhook package, attempting to detect namespace fairwinds webhook is deployed in 2019-03-28 10:17:21 -04:00
Rob Scott
4875b72341 a bit of dashboard cleanup 2019-03-27 23:09:25 -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
Bobby Brennan
715cd1c998 add branding to dashboard 2019-03-25 21:37:18 +00:00
Rob Scott
f07cddce02 fixes for golint errors 2019-03-25 12:33:24 -04:00
Bobby Brennan
e5b5a1a24f change error handling 2019-03-15 19:44:12 +00:00
Bobby Brennan
645eea1f22 fix tabs 2019-03-15 19:40:46 +00:00
Bobby Brennan
4548d87042 use font-awesome icons 2019-03-15 14:09:31 +00:00
Bobby Brennan
deacad7724 move UI code into pkg/dashboard 2019-03-15 13:25:19 +00:00
jessicagreben
97844d552b fix network mssg wording 2019-02-13 14:51:12 -08:00
jessicagreben
7195793ff5 add network test 2019-02-13 14:33:47 -08:00
jessicagreben
6047af08aa fix dashboard test 2019-02-13 12:42:02 -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
9286d2b960 validateCtr should return a resource result, just like vPod and vDeploy 2019-02-13 08:58:26 -08:00
jessicagreben
ef36859d5f fix test 2019-02-08 14:38:40 -08:00
jessicagreben
f058d43efc changes per comments 2019-02-08 14:31:33 -08:00