Commit graph

43 commits

Author SHA1 Message Date
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
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
yoavrotems
22acf7862c
Update definitions.yaml
FIx test 1.1.5
2020-07-27 01:29:26 +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
65b4139473
Merge pull request #46 from nkraemer-sysdig/patch-2
Remove duplicate test IDs
2020-06-03 11:44:16 +03:00
yoavrotems
d24a6b0677
Update definitions.yaml
fix issue https://github.com/aquasecurity/linux-bench/issues/48
2020-05-31 12:51:06 +03:00
Noah Kraemer
02e79e29bd
Remove duplicate test IDs
There are two tests with the ID `4.1.9.a` and `4.1.9.b` in `cfg/1.1.0/definitions.yaml`. These tests are distinct, and should have unique IDs.
2020-01-30 14:03:19 -08:00
Liz Rice
9713d81b94
Merge branch 'master' into new-cis-version 2019-10-23 15:11:57 +01:00
yoavrotems
2e252863c8
Update definitions.yaml 2019-10-17 00:39:35 +03:00
yoavrotems
553b2881bf
Update definitions.yaml
delete duplicate line
2019-10-15 14:55:21 +03:00
Liz Rice
15c7885a90
Merge branch 'master' into patch-8 2019-10-10 09:43:53 +01:00
Liz Rice
e299588285
Merge branch 'master' into yoavAqua-patch-1 2019-10-10 09:39:34 +01:00
yoavrotems
15bd1d2c3a
Fixing
Fixing some mistakes from review like: https://github.com/aquasecurity/linux-bench/pull/25#discussion_r329935214
2019-10-06 19:33:07 +03:00
yoavrotems
740a260ebe
Update definitions.yaml 2019-09-26 00:27:44 +03:00
yoavrotems
415c371cc2
Delete 1.1.25.sh
Remove this because it returned to the yaml file
2019-09-26 00:21:05 +03:00
yoavrotems
2602610bf0
Update definitions.yaml
Return test 1.1.25 to be regular
2019-09-26 00:20:21 +03:00
yoavrotems
c828e22bce
Update definitions.yaml
Add The yaml after checking it
2019-09-26 00:07:20 +03:00
yoavrotems
d3da2816db
Fix tests
There was some test that brings wrong impression like false positive behavior or the opposite situation
2019-09-17 01:43:10 +03:00
Liz Rice
373487caa8
Merge branch 'master' into new-cis-version 2019-09-11 13:31:09 +03:00
yoavrotems
d9c3f5f5a4 Add new linux-benchmark version 2.0.0 2019-09-11 13:09:01 +03:00
Daniel Sagi
8f29f2f26e changed definitions yaml, 1.1.1 tests are now not indented 2019-06-05 13:19:49 +03:00
Yoav Hizkiahou
f29b768dfc
fix check 3.2.1.c
Its was I Yoav Rotem :) 
fix that won't except comments (start with#) and eq flag instead of string compare in flag: "..... = 0"
2019-06-03 14:56:48 +03:00
Liz Rice
5f13a6a225
Merge branch 'master' into patch-8 2019-06-03 10:39:17 +02:00
Liz Rice
6b0b012425
Merge branch 'master' into patch-9 2019-05-30 12:14:34 +02:00
Liz Rice
346355d273
Merge branch 'master' into patch-3 2019-05-28 09:55:00 +02:00
yoavrotems
7e664be835
Update the file
Update the file - fix tests such as 3.2.1.c ,1.1.2 and 1.5.1.a, and separate ubunut 16 from 18.
Because of the separation of ubuntu to ubuntu16 and ubuntu18, PR https://github.com/aquasecurity/linux-bench/pull/13 *must* be approved first or the system won't auto detect platform ubuntu16 or ubuntu18 as needed
2019-05-28 01:20:47 +03:00
yoavrotems
af88ccb5eb
Update 1.1.25.sh 2019-05-26 15:10:46 +03:00
yoavrotems
23dc330bc1
Add limit to specific tests output - in order to be more efficient
6.1.10 
6.1.11
6.1.12
6.1.13
6.1.14
and test 1.1.25 been changed in the script 1.1.25.sh
2019-05-26 15:07:06 +03:00
Liz Rice
dcc49db0f2
Merge branch 'master' into patch-4 2019-05-25 10:26:54 +02:00
yoavrotems
0a50f06540
Create 1.1.25.sh
Made for test 1.1.25
2019-05-21 14:42:57 +03:00
yoavrotems
d2ab36f800
Update definitions.yaml
Has a problem with the pipelines in the audit command.
Solved with script 1.1.25.sh file
2019-05-21 14:40:16 +03:00
yoavrotems
8f0f5ff0ca
Update definitions.yaml
fixed: 1.1.2, 1.5.1.a, 5.3.4
2019-05-07 13:59:57 +03:00
Yoav Hizkiahou
6cbb205f70 Sorted tests in yaml file by thier ids 2019-04-21 20:06:48 +03:00
Yoav Hizkiahou
562cce1f86
Fixed typos in test 1.8 2019-04-15 11:22:11 +03:00
yoavrotems
586ed5ed6e
Update definitions.yaml
Fixing syntax of titles, and set 6.1.1.a 6.1.1.b as one test.
2019-03-25 15:13:45 +02:00
Yoav Hizkiahou
a2c4b70f08 Improved configuration for version 1.1.0 2019-02-19 18:17:54 +02:00
Yoav Hizkiahou
5b41b45756 Uploaded improved yaml file for version 1.1.0
Added information to readme file and to help cli
2019-01-31 14:06:58 +02:00
Yoav Hizkiahou
958fbe7666 Initialized basic bench project 2019-01-30 16:54:44 +02:00