Commit graph

152 commits

Author SHA1 Message Date
Yoav Rotem
c4dd978c87
Add more automation
took some of the manual tests and made them automated, for example 1.3.2 was manual, and now it get tested
2020-12-28 18:58:36 +02:00
Yoav Rotem
fcdd2a9cfc
Merge pull request #71 from aquasecurity/yaml-lint
Add YAML linting
2020-12-23 12:29:21 +02:00
Liz Rice
9fc95ff756 Merge whitespace changes 2020-12-22 12:18:25 +00:00
Yoav Rotem
ca36ec8929
Merge pull request #69 from aquasecurity/test-order
Make unit tests work under GitHub Actions
2020-12-22 11:31:08 +02:00
Liz Rice
b494df8909
Warn on YAML newlines
To stop it compaining about a new line in goreleaser
2020-12-21 17:59:44 +00:00
Liz Rice
7439ea9dab
Correct YAML lint errors 2020-12-21 17:53:44 +00:00
Liz Rice
599b4a1100
Broken newline
Attempting to fix YAML lint report of a broken new line
2020-12-21 16:59:35 +00:00
Liz Rice
d781bf425b
YAML lint corrections 2020-12-21 16:56:35 +00:00
Liz Rice
e83483c6c4 disable prolific warnings 2020-12-21 16:37:17 +00:00
Liz Rice
ceae2a5c47 fix broken YAML config again 2020-12-21 16:36:13 +00:00
Liz Rice
33a8659ea1 fix yamllint file 2020-12-21 16:34:34 +00:00
Liz Rice
c06cbfce78 Remove some prolific warnings 2020-12-21 16:33:14 +00:00
Liz Rice
97d1f6a42f YAML lint on goreleaser file 2020-12-21 16:29:29 +00:00
Liz Rice
65ff70ae4e Fake test file that GitHub Actions should accept 2020-12-21 16:25:29 +00:00
Liz Rice
2ce0227c7e
Use relaxed rules 2020-12-21 16:21:06 +00:00
Liz Rice
061511e5fe
YAML corrections to .goreleaser.yml 2020-12-21 16:03:10 +00:00
Liz Rice
9cd35d685c
Remove extraneous spaces 2020-12-21 15:59:17 +00:00
Liz Rice
c811725432
Configure linting rules 2020-12-21 15:57:43 +00:00
Liz Rice
71e0d41f06
Simplify actions file 2020-12-21 15:52:31 +00:00
Liz Rice
54f8602341
Add YAML linting 2020-12-21 15:48:53 +00:00
Liz Rice
0c3a7001d7 Correct broken YAML 2020-12-21 15:39:54 +00:00
Liz Rice
80aaa6b6e8 Don't rely on test ordering
Tests can be run in parallel so we can't rely on the state of a global
variable that is modified in one test being ready when we run another
2020-12-21 15:19:40 +00:00
Liz Rice
59d2148c4c
Merge pull request #67 from aquasecurity/github-actions
GitHub actions
2020-12-21 12:21:59 +00:00
Liz Rice
35a83bb7ce docs: add image links 2020-12-17 17:29:55 +00:00
Liz Rice
ddfb6fd27b chore: move to GitHub Actions 2020-12-17 17:26:38 +00:00
Yoav Rotem
4847b323b6
Change master to be main 2020-12-17 15:56:50 +02:00
Yoav Rotem
c2506e32d8
Merge pull request #62 from mrueg/update-cmds
Improve syslog detection
2020-12-08 10:34:21 +02:00
Manuel Rüger
921595f75d Improve syslog detection
This already limits it to /var/log/syslog
2020-12-02 12:50:30 +01:00
Liz Rice
5048909587
Merge pull request #65 from aquasecurity/Support-audit-shell-script
Add scripts to audit
2020-12-01 14:23:42 +00:00
Yoav Rotem
8a2fdcc701
Merge branch 'master' into Support-audit-shell-script 2020-11-30 10:33:09 +02:00
yoavrotems
3b76409b45 update go.mod
Update bench-common version
2020-11-30 10:22:08 +02:00
Yoav Rotem
400fb434ae
Merge pull request #58 from mrueg/add-arm
.goreleaser.yml: Provide arm/arm64 builds too
2020-11-22 15:44:54 +02:00
Yoav Rotem
f78a67775a
Merge pull request #64 from mrueg/go-mod
Update dependencies
2020-11-22 15:40:30 +02:00
yoavrotems
27e347f3bb Add support for scripts in definitions
Now we can run scripts in audit field, so all of the old files are no longer needed.
2020-11-22 14:01:20 +02:00
Yoav Rotem
e79d7411c5
Delete 6.2.7.sh
Now running it in definitions
2020-11-22 13:50:50 +02:00
Yoav Rotem
addb88dc4f
Delete 6.2.8.sh
Now running it in definitions
2020-11-22 13:50:37 +02:00
Yoav Rotem
b801a976e7
Delete 6.2.9.sh
Now running it in definitions
2020-11-22 13:50:27 +02:00
Yoav Rotem
174b607c2b
Add scripts to audit
Bench-common is now supports scripts in audit 
https://github.com/aquasecurity/bench-common/pull/108
2020-11-22 13:49:18 +02:00
Manuel Rüger
52257ec46d Update dependencies 2020-11-06 13:57:45 +01:00
yoavrotems
cc3954ef3f
Merge pull request #61 from aquasecurity/tidy-2.2.2-output
tidy 2.2.2 test
2020-09-03 19:16:06 +03:00
yoavrotems
ad10ef18a5
Tidy test 2.2.2
Output was too long,
with apt-cache policy there is less output and we only take the line of contains Installed info and the one before (package name)
2020-09-03 14:36:43 +03:00
yoavrotems
9df881ae6f
tidy 2.2.2 output
make 2.2.2 output more tidy with the use of grep
2020-09-02 16:12:18 +03:00
Manuel Rüger
6e1b124a49 .goreleaser.yml: Provide arm/arm64 builds too 2020-09-02 13:05:55 +02:00
Liz Rice
21d824ec54
Merge pull request #57 from aquasecurity/fix-test-1.1.5
FIx 1.1.5
2020-09-02 10:32:01 +01:00
yoavrotems
22acf7862c
Update definitions.yaml
FIx test 1.1.5
2020-07-27 01:29:26 +03:00
yoavrotems
4ab4732f65
Merge pull request #55 from aquasecurity/add-bitmask-use
Update definitions.yaml
2020-06-11 12:54:50 +03:00
yoavrotems
cef0a67ee1
Merge pull request #54 from aquasecurity/Update-go-mod
Update go mod
2020-06-09 09:53:32 +03:00
yoavrotems
dba28836c2
Update definitions.yaml
Update to use bitmask flag
https://github.com/aquasecurity/linux-bench/issues/52
2020-06-08 13:09:20 +03:00
yoavrotems
3fb7de13d9
Update go.sum 2020-06-08 13:04:03 +03:00
yoavrotems
29148aa38f
Update go.mod 2020-06-08 13:03:39 +03:00