Commit Graph

43 Commits

Author SHA1 Message Date
Simarpreet Singh
5c569c3d79 redhat_test: Added ErrInvalidRHSAFormat for format failures
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-11-07 08:38:27 -08:00
knqyf263
b01356e537 test(fs): use other fs 2019-11-07 08:38:27 -08:00
Simarpreet Singh
07e6cada1f fs_test: Add testing for WriteJSON
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-11-07 08:38:27 -08:00
Simarpreet Singh
51dffd9ee8 redhat_test: Add a failing test for saveRHSAPerYear failure
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-11-07 08:38:27 -08:00
knqyf263
1a6d9b7f1e test(redhat_oval): handle an error 2019-11-07 08:38:27 -08:00
knqyf263
a98f189278 feat(rhel_oval): support RHEL OVAL 2019-11-07 08:38:27 -08:00
Itay Shakury
01c3455fc8 add contribution guidelines (#16)
* add contribution guidelines

same as Trivy's

* Update CONTRIBUTING.md

Co-Authored-By: Teppei Fukuda <knqyf263@gmail.com>
2019-10-31 22:22:18 +02:00
Harshit Singh
1441d86894 Update .gitignore (#17) 2019-10-31 22:21:42 +02:00
Teppei Fukuda
3d158c2bf9
fix(debian): remove rejected vulnerabilities (#15)
* fix(debian): remove rejected vulnerabilities

* test(debian): remove a debug line

* debian_test: strengthen asserts with assert.NoError

Signed-off-by: Simarpreet Singh <simar@linux.com>

* debian_test: Remove un-needed subtest and add TODO

Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-16 10:53:47 +03:00
Itay Shakury
78d448d53f
remove contributing section 2019-10-15 09:05:34 +03:00
Teppei Fukuda
ab8b4fd568 chore(amazon): fetch ALAS by cron (#14) 2019-10-13 20:43:39 -07:00
Teppei Fukuda
99a80f64fb Support Amazon Linux AMI Security Advisory (#9)
* Support Amazon Linux AMI Security Advisory

* Update gorequest

* amazon: Add some basic testcases for Update() method.

This commmit adds a seam for Update()
to dependency inject for testing purposes.

Signed-off-by: Simarpreet Singh <simar@linux.com>

* Add more tests

* amazon_test: Fix another lint issue

Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-12 20:02:24 -07:00
Simarpreet Singh
af3f78af2a
Merge pull request #12 from aquasecurity/github_actions-1
Introduce GitHub Actions
2019-10-12 17:44:29 -07:00
knqyf263
d39b988da1 fix some lint issues 2019-10-12 09:54:08 +03:00
knqyf263
fddfe4523e Add -v option 2019-10-11 22:11:45 +03:00
Teppei Fukuda
cba707947b Update go.yml 2019-10-11 22:11:45 +03:00
Simarpreet Singh
4db5096e1a
Merge pull request #13 from aquasecurity/remove_redmine
refactor(alpine): remove unused functions and add tests
2019-10-11 12:02:34 -07:00
knqyf263
3e42145b06 Fix alpine tests 2019-10-10 18:45:17 +03:00
Simarpreet Singh
573a7b3b5a
alpine_test: Fix an assertion in the case of invalid json
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-08 09:27:53 -07:00
Simarpreet Singh
cb9538b720
ubuntu: Fix git pkg call
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-07 17:43:09 -07:00
Simarpreet Singh
884b7a619d
alpine: Add a guard against invalid branch names.
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-07 17:30:20 -07:00
Simarpreet Singh
3905e5a59d
alpine: Add dependency injection seams for testing Update()
This also introduces a new interface for the git package for consumers to use.

Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-07 17:28:23 -07:00
Simarpreet Singh
2ff754327d
alpine: Refactor buildAdvisories() and add tests for it
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-07 14:57:48 -07:00
Simarpreet Singh
ca79b849a4
testdata: Add sample APKBUILD
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-07 14:57:16 -07:00
Simarpreet Singh
c4e17d6fb3
alpine_test: Add a happy path test for walkApkBuild()
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-07 14:26:02 -07:00
Simarpreet Singh
50cdf7e03e
alpine_test: Add some tests for shouldOverwrite()
Signed-off-by: Simarpreet Singh <simar@linux.com>
2019-10-07 13:59:50 -07:00
knqyf263
527365d2d6 refactor(alpine): remove unused functions 2019-10-07 10:08:55 +03:00
Teppei Fukuda
375cc26684
Fix alpine test (#11) 2019-10-07 09:54:14 +03:00
sadayuki-matsuno
cde9253fe9 available in other repositories (#5)
* use other repo

* use LookupEnv and check remote url

* fix check remote url

* fix after review
2019-10-02 11:05:57 +03:00
Teppei Fukuda
9eea8f0eaa
Support the case when Red Hat returns the different type (#8) 2019-09-28 02:35:47 +03:00
Teppei Fukuda
cb535a8983
Use Go 1.13 (#7) 2019-09-28 00:01:37 +03:00
Teppei Fukuda
acd3de8791
Merge pull request #6 from aquasecurity/update_xerrors
Update xerrors
2019-09-27 23:59:47 +03:00
knqyf263
004d0aefb1 Update xerrors 2019-09-27 23:58:04 +03:00
Liz Rice
c2e78f3279
Merge pull request #4 from aquasecurity/fix/mod
Fix module name
2019-08-19 09:54:15 +01:00
knqyf263
1add54a089 Fix module name 2019-08-18 22:52:48 -10:00
Liz Rice
93e4e7313f
Merge pull request #3 from aquasecurity/transfer
Transfer repositoriy
2019-08-19 09:49:45 +01:00
knqyf263
63a0ca9107 Transfer repositoriy 2019-08-18 22:47:18 -10:00
knqyf263
085755aea4 temp 2019-08-02 17:02:39 -10:00
knqyf263
d8aefa6015 Update Travis CI setting 2019-05-19 22:59:16 +09:00
knqyf263
c5b662e558 Fix travis setting 2019-05-12 11:36:15 +09:00
knqyf263
2268630fd6 Update README 2019-05-07 12:50:35 +09:00
knqyf263
c05aeaf538 initial 2019-05-07 12:50:32 +09:00
Teppei Fukuda
4e4a2e92e2
Initial commit 2019-04-30 10:15:06 +09:00