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

188 Коммитов

Автор SHA1 Сообщение Дата
Gene Wood 3fd4271eb3
Merge pull request #23 from Mozilla-GitHub-Standards/master
Add Mozilla Code of Conduct
2022-01-10 13:01:41 -08:00
Mozilla-GitHub-Standards 63dc4704da Add Mozilla Code of Conduct file
Fixes #22.

_(Message COC002)_
2019-03-29 09:59:15 -07:00
Zack Mullaly fb71baf557 Fixed the error field in shortVulnResponse 2018-07-11 15:53:14 -04:00
Zack Mullaly 7b7ef711bd
Merge pull request #19 from mozilla/clair2x
ScribeVulnPolicy support for Clair2x
2018-07-04 12:04:38 -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 69bc11b133 remove external testing reference from Makefile 2017-07-19 16:59:11 -05:00
Aaron Meihm c5cf285168 make raw test a go test 2017-07-19 16:58:20 -05:00
Aaron Meihm 1260e7d2de make tags test a go test 2017-07-19 16:56:05 -05:00
Aaron Meihm cb35038d29 remove import-chain test from Makefile 2017-07-19 16:53:27 -05:00
Aaron Meihm 3f0538e0a7 make import-chain test a go test 2017-07-19 16:52:52 -05:00
Aaron Meihm 70ccd84e7c make concat test a go test 2017-07-19 16:49:16 -05:00
Aaron Meihm a7dc9097b7 make filename tests a go test 2017-07-19 16:44:01 -05:00
Aaron Meihm f750b762d2 make filecontent test a go test 2017-07-19 16:38:35 -05:00
Aaron Meihm b848820482 remove duplicate code and add a generic policy runner for tests 2017-07-19 16:31:30 -05:00
Aaron Meihm 750c2b69b2 remove extra print from hasline test 2017-07-19 16:13:45 -05:00
Aaron Meihm f6ebd9cdf2 make hasline test a go test 2017-07-19 16:12:39 -05:00
Aaron Meihm af00333a49 add tests for results formatting 2017-07-19 15:46:47 -05:00
Aaron Meihm f0e9226b61 remove exported GetTest and make existing getTest exported 2017-07-19 15:30:14 -05:00
Aaron Meihm 1171d5bb8a validate error condition in package policy test 2017-07-19 15:22:17 -05:00
Aaron Meihm d2cfc553e9 make package test a go test 2017-07-19 15:13:49 -05:00
Aaron Meihm 78509186e4 update Makefiles to remove evrtest 2017-07-19 14:45:17 -05:00
Aaron Meihm a9a5c54c62 use testing Logf in package tests 2017-07-19 14:43:29 -05:00
Aaron Meihm 90fe0e9a6e make evr tests actual go tests 2017-07-19 14:42:16 -05:00
Aaron Meihm b1d0f19fba fix typo in README 2017-07-19 11:48:27 -05:00
Aaron Meihm 4be4ef0527 update README 2017-07-19 11:45:55 -05:00
Aaron Meihm 7179958654 fix golint warnings in scribevulnpolicy 2017-07-19 11:29:48 -05:00
Aaron Meihm 29c5f68bb4 fix various golint warnings 2017-07-19 11:20:19 -05:00
Aaron Meihm bba2ac14e0 gofmt some missed files 2017-07-19 10:41:34 -05:00
Aaron Meihm c327638a67 in TestResult JSON(), fix issue with ignored fmt.Sprintf result 2017-07-19 10:37:49 -05:00
Aaron Meihm 0c1e3ceffe fixes a spelling error in comment 2017-07-19 10:33:39 -05:00
Aaron Meihm 2d70687c9b Merge pull request #14 from ameihm0912/vulnpolicy-clair
vulnerability policy generation and clair integration
2017-07-19 10:21: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 1a69964c15 vendor lib/pq 2017-07-18 16:57:29 -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 c15e5113cf update gitignore to ignore generated test json files 2017-07-18 15:02:41 -05:00
Aaron Meihm 4f03b9f3e6 rename existing vulnpolicy lib which will become scribevulnpolicy cmd 2017-07-18 14:59:08 -05:00
Aaron Meihm 769b49c0ed remove ubuntu-cve-tracker 2017-07-18 14:58:11 -05:00
Aaron Meihm 75eced0ec2 remove scribevulnpolicy 2017-07-18 14:57:53 -05:00
Aaron Meihm a156bd7826 remove parse-nasltokens 2017-07-18 14:56:33 -05:00
Aaron Meihm e19094f52e Merge pull request #13 from ameihm0912/cleanup
Update vendored packages, use govend
2017-07-18 10:03:41 -05:00