Граф коммитов

18 Коммитов

Автор SHA1 Сообщение Дата
Zack Mullaly fb71baf557 Fixed the error field in shortVulnResponse 2018-07-11 15:53:14 -04:00
Zack Mullaly 28f39ece40 Close the response body as soon as we try decoding it. This avoids stacking calls to Close when the function returns 2018-07-04 12:02:08 -04:00
Zack Mullaly bbdf881e7e Document types and public functions; use public vs private to improve readability a bit 2018-06-29 18:08:52 -04:00
Zack Mullaly 4b7bc40ed6 Built out client functions for interacting with the Clair API 2018-06-29 18:00:04 -04:00
Zack Mullaly e1a49b3e2c Replacing database interactions with a much simpler naming scheme and calls through the Clair API 2018-06-29 17:59:49 -04:00
Aaron Meihm 7179958654 fix golint warnings in scribevulnpolicy 2017-07-19 11:29:48 -05:00
Aaron Meihm 0994e7033d add a README for scribevulnpolicy 2017-07-19 10:15:24 -05:00
Aaron Meihm d73d66473a support setting scribe onlynewest on certain packages as required
This collapses returned version strings such that only the newest
version string for a given package is considered if multiple are
installed.

Right now this is just a static list in the code but should probably be
adjustable by a config file.
2017-07-19 09:58:35 -05:00
Aaron Meihm 43a146fa98 add tags to the tests that will aid in reporting 2017-07-19 09:35:18 -05:00
Aaron Meihm 6b6395c1a4 check err in result from generateTestId in correct place 2017-07-19 09:30:34 -05:00
Aaron Meihm 7dc08ccd6a policy generation for centos6/7 2017-07-19 00:14:08 -05:00
Aaron Meihm 10ce0275c5 scribevulnpolicy: redhat.go -> centos.go 2017-07-18 22:49:23 -05:00
Aaron Meihm d069b90a33 scribevulnpolicy: remove old os specific support 2017-07-18 22:48:09 -05:00
Aaron Meihm c39b3b96b3 update scribevulnpolicy with initial clair db query support 2017-07-18 16:56:56 -05:00
Aaron Meihm 772728f6c0 vulnpolicy.go -> main.go 2017-07-18 15:03:45 -05:00
Aaron Meihm 4f03b9f3e6 rename existing vulnpolicy lib which will become scribevulnpolicy cmd 2017-07-18 14:59:08 -05:00
Aaron Meihm 75eced0ec2 remove scribevulnpolicy 2017-07-18 14:57:53 -05:00
Julien Vehent 8d37e6b172 Use standard GOPATH 2016-03-18 13:25:25 -04:00