Jordan Doig
63fd576d3e
Add support for arbitrary Kinds ( #505 )
...
* Add basic flow
* Add arbitrary validator
* Pipe config through to resource provider
* Set arbitraries on resource provider
* Add arbitrary validation to fullaudit
* Add conf argument
* Fix resource setting from string
* PR updates
* Fix nil map error
* Delete lingering print, add pdb check, start implementing validator test
* move ingress to arbitrary
* fix compile
* refactor a bunch
* add tls tests
* tests passing
* resource provider helper
* refactor tests
* fix exemptions
* fix check test
* fix up resource creation from API
* fix init containers
* fix cronjob test
* fix pod tests
* combine controllers and-noncontrollers in resource provider
* delint
* add ingress backward compat
* fix tests
* reenable test
* rename a fn
* remove unused fn
* remove if
Co-authored-by: Robert Brennan <contact@rbren.io >
2021-03-26 08:29:59 -04:00
Robert Brennan
1fed099b53
Pretty printer for audit ( #512 )
...
* pretty output
* add colors
* better nocolor
* fix up main title
* delint
* remove double negative
* update docs
2021-03-12 12:20:00 -05:00
Robert Brennan
768b715fdf
fix npe ( #511 )
2021-03-08 08:34:31 -05:00
Robert Brennan
2064384985
fix status bar for ingress ( #509 )
2021-03-03 10:20:36 -05:00
Robert Brennan
b436699260
add a test ( #506 )
2021-02-26 16:29:25 -05:00
Jordan Doig
4c3d0e0603
Set full object ObjectMeta on new workload from Pod ( #471 )
...
* Unmarshal OriginalObjectJSON into ObjectMeta
* Unmarshal to unst before converting too v1 Object
* Add passing annotated deployment webhook test case
* fix meta accessor
* fix tests
* remove logs
* fix tests
Co-authored-by: Robert Brennan <contact@rbren.io >
2021-02-26 15:33:40 -05:00
MAKOSCAFEE
f42af35352
fix merge conflicts
2021-02-24 21:17:58 +03:00
Robert Brennan
c16aac808f
fix checks for k8s defaults ( #496 )
...
* fix insecure caps check
* add more tests
* fix privilege escalation allowed
2021-02-11 17:11:16 -05:00
MAKOSCAFEE
0aa173789a
refactor resultSet loop
2021-02-09 19:16:42 +03:00
Robert Brennan
d9e148c0f2
fix html tag ( #489 )
2021-02-03 09:56:30 -05:00
MAKOSCAFEE
fe0060af77
added test for score
2021-01-29 22:13:01 +03:00
Robert Brennan
6cda7cd7d5
remove details links ( #473 )
2021-01-15 13:55:59 -05:00
Jordan Doig
93a80e44d3
Manually set Ingress object Kind
2021-01-14 11:38:32 -07:00
Jordan Doig
bc866a4d18
Merge branch 'master' into jd/out-of-control
2021-01-14 11:20:35 -07:00
Robert Brennan
ec557f7ce8
Update dependencies ( #470 )
...
* update to v20
* fix tests
2021-01-08 14:01:01 -05:00
Jordan Doig
4cee8b7e35
Some nil pointer dereference fixes
2021-01-07 20:40:22 -07:00
Jordan Doig
ba53a2b8ab
Add ingress nil check test
2021-01-04 20:57:51 -07:00
Jordan Doig
3a8655de81
Update validate ingress test
2021-01-04 20:44:38 -07:00
Jordan Doig
3f62126bdd
Refactor resolveCheck
2021-01-04 16:52:09 -07:00
Jordan Doig
ee8768591b
Merge branch 'master' into jd/out-of-control
2021-01-04 16:14:33 -07:00
Jordan Doig
6e93b799b1
Update UI for non-controller types
2021-01-04 16:10:52 -07:00
Robert Brennan
17d19cacff
Fix up zero-score issues ( #468 )
...
* return score of 100 when no checks specified
* fix up zero states in frontend
* rename variables
2021-01-04 13:25:05 -05:00
Jordan Doig
5ab9f0b251
Add ingress tls check
2021-01-04 09:53:09 -07:00
Jordan Doig
fc368485ef
Add ingress schema checks
2020-12-30 21:58:48 -07:00
Jordan Doig
8f510a1b67
Add ingress to resource provider
2020-12-28 13:55:49 -07:00
Jordan Doig
9d68ee2359
Merge remote-tracking branch 'origin/master' into jd/out-of-control
2020-12-28 12:40:23 -07:00
skatika
a79260a324
Update exemption documentation and unit test
2020-12-22 15:30:39 -05:00
skatika
f1957631b5
Remove unsued import
2020-12-22 14:30:09 -05:00
skatika
86b3ab5186
Revert nil slice declarations
2020-12-22 14:27:53 -05:00
skatika
564803c9f8
Fix instructions
2020-12-22 14:10:15 -05:00
skatika
a4e45a0e95
Merge branch 'master' of github.com:FairwindsOps/polaris into ssk/container-exemptions
...
# Conflicts:
# README.md
# pkg/validator/controller_test.go
# pkg/validator/fullaudit_test.go
2020-12-18 09:57:35 -05:00
skatika
dd2976794a
Implement namespace and container exemptions. Also refactoring according to gofmt
2020-12-18 09:50:04 -05:00
Robert Brennan
7c98598858
Fix test fixtures, add a test for controllers ( #455 )
...
* first pass at fixing test fixtures
* tests mostly working
* add controller test
* remove debug stuff
* delint
* revert test file
* remove extra controllers from fixtures
* delint
* fix messages
2020-12-17 17:32:01 -05:00
Robert Brennan
4e044602f4
change how controller checks are handled ( #454 )
...
* change how controller checks are handled
* add changelog
* simpler fix
2020-12-17 16:29:49 -05:00
skatika
fdd30717e5
Remove unused parameter
2020-12-17 09:54:29 -05:00
skatika
272e06bbec
Add ContainerNames to Exemption struct
2020-12-16 17:21:50 -05:00
skatika
e57668fc75
Fix typos
2020-12-16 17:17:43 -05:00
skatika
ca6e4b43e4
Rename to receivers to same name
2020-12-16 15:53:22 -05:00
skatika
3a2fb3584b
Refactor common code
2020-12-16 15:52:48 -05:00
Jordan Doig
550447234a
ControllerResult to Result
2020-12-16 13:32:08 -07:00
jordandoig
717d9b2630
PodResult to pointer
2020-12-16 12:11:19 -07:00
Jordan Doig
2d326419c2
Update email links
2020-12-10 19:44:39 -07:00
Jordan Doig
31fc0ab6d9
Update polaris logo
2020-12-10 11:24:41 -07:00
Jordan Doig
7e2bd017b3
PR Updates, round 1
2020-12-09 20:35:59 -07:00
Jordan Doig
5d6446afed
Update docs links
2020-12-09 14:33:29 -07:00
Jordan Doig
b1ead662a2
Make namespaces dropdown scrollable
2020-12-09 14:19:28 -07:00
Jordan Doig
bf9173acea
Navbar styles and functionality, update footer links
2020-12-09 14:10:54 -07:00
Jordan Doig
568a79b4f6
Add navbar.css
2020-12-08 22:23:11 -07:00
Jordan Doig
e64fb4cdbd
Insights card styles, navbar restructuring, begin navbar styles
2020-12-08 22:22:46 -07:00
Jordan Doig
2b77ac2b1e
Footer styles
2020-12-08 12:28:29 -07:00