TBF + Partner AG 
								
							 
						 
						
							
							
								
							
							
	
	
	785a15df74 
 
						 
						
							
							
								
								
								fix-check_2_8  
							
							 
							
							
							
						 
						
							2024-11-19 23:53:50 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									halfluke 
								
							 
						 
						
							
							
								
							
							
	b6e4380937  
						 
						
							
							
								
								
								fix537  
							
							 
							
							
							
						 
						
							2023-10-21 01:43:46 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									QuentinServais 
								
							 
						 
						
							
							
								
							
							
	
	
	ee718c40c0 
 
						 
						
							
							
								
								
								Fix check_2_7 TLS  check with json config  
							
							 
							
							
							
						 
						
							2022-12-27 23:39:17 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	558fca319f  
						 
						
							
							
								
								
								grep host* in config file before testing 2.7  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2022-05-09 12:26:01 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									aagot 
								
							 
						 
						
							
							
								
							
							
	
	
	08a7b09d4d 
 
						 
						
							
							
								
								
								Update 2_docker_daemon_configuration.sh  
							
							 
							
							
							
						 
						
							2021-06-25 14:38:02 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	6a685524eb  
						 
						
							
							
								
								
								initial commit of tests/2_docker_daemon_configuration.sh v1.3.1  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2021-05-25 20:49:45 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Razvan Stoica 
								
							 
						 
						
							
							
								
							
							
	d0443cc817  
						 
						
							
							
								
								
								Bug fixing and improving source code readability  
							
							 
							
							
							
						 
						
							2021-03-29 15:22:14 +03:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Razvan Stoica 
								
							 
						 
						
							
							
								
							
							
	c05c58674a  
						 
						
							
							
								
								
								Add remediation stuff on daemon configuration  
							
							 
							
							
							
						 
						
							2021-03-18 10:29:28 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Razvan Stoica 
								
							 
						 
						
							
							
								
							
							
	7144b947de  
						 
						
							
							
								
								
								Tests update  
							
							 
							
							
							
						 
						
							2021-03-16 10:05:49 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Razvan Stoica 
								
							 
						 
						
							
							
								
							
							
	11886d47d8  
						 
						
							
							
								
								
								Fixed invalid JSON log  
							
							 
							
							
							
						 
						
							2021-03-11 15:00:12 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Razvan Stoica 
								
							 
						 
						
							
							
								
							
							
	85117ea1a2  
						 
						
							
							
								
								
								Improve wording  
							
							 
							
							
							
						 
						
							2021-03-11 08:30:01 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Razvan Stoica 
								
							 
						 
						
							
							
								
							
							
	6c586b4e08  
						 
						
							
							
								
								
								Print remediation measures at the end of the logs  
							
							 
							
							
							
						 
						
							2021-03-10 21:47:52 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Razvan Stoica 
								
							 
						 
						
							
							
								
							
							
	94900eedb9  
						 
						
							
							
								
								
								Change global variable used only locally to local variable for simplification  
							
							 
							
							
							
						 
						
							2021-03-09 12:42:48 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Sebastiaan van Stijn 
								
							 
						 
						
							
							
								
							
							
	
	
	0f3dfe70fe 
 
						 
						
							
							
								
								
								Deprecate rule 2.16 for Docker > 19.03  
							
							 
							
							... 
							
							
							
							The upcoming 20.x docker release will always have experimental features
enabled, which will stop this test from working.
More details can be found in docker/cli##2774
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> 
							
						 
						
							2020-10-02 18:01:57 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Roman Mueller 
								
							 
						 
						
							
							
								
							
							
	b3182ca8f5  
						 
						
							
							
								
								
								Remove prefix of check ID  
							
							 
							
							
							
						 
						
							2020-06-02 15:57:33 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	98acc66436  
						 
						
							
							
								
								
								map desc_ to benchmark headings  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2020-05-08 12:38:08 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									zawazawa0316 
								
							 
						 
						
							
							
								
							
							
	b16da2c2ed  
						 
						
							
							
								
								
								Fix check condition  
							
							 
							
							... 
							
							
							
							Signed-off-by: zawazawa0316 <37421794+zawazawa0316@users.noreply.github.com> 
							
						 
						
							2020-03-03 21:51:49 +09:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	269b71eed8  
						 
						
							
							
								
								
								locate configuration file before we run the tests  #410  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2019-12-17 15:03:54 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	c8c5615061  
						 
						
							
							
								
								
								correct grep  #410  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2019-12-16 09:57:21 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	6c6d0836a4  
						 
						
							
							
								
								
								first pass on section 2  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2019-08-27 14:54:08 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	326e31f403  
						 
						
							
							
								
								
								use only year and month for version check  #309  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2019-04-13 16:33:57 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Boris Gorbylev 
								
							 
						 
						
							
							
								
							
							
	
	
	689a5a62c5 
 
						 
						
							
							
								
								
								Fixed check 2.9  
							
							 
							
							... 
							
							
							
							Signed-off-by: Boris Gorbylev <ekho@ekho.name> 
							
						 
						
							2019-02-21 19:15:38 +03:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	391e09f76a  
						 
						
							
							
								
								
								linting  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2018-11-01 10:24:36 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Mark Stemm 
								
							 
						 
						
							
							
								
							
							
	ec7d8ce690  
						 
						
							
							
								
								
								Improve docker-bench-security json output  
							
							 
							
							... 
							
							
							
							Add a test object for each test performed by the script. Each object has
an id N.M, a desc property describing the test, and the result. Some
tests include additional information about the test e.g. "No TLS
Certificate Found". That can be found in an optional details property of
the test object.
Also, some tests might also return a list of containers, images, users,
etc. This is included in an optional items property of the test object.
Instead of having all test results as top-level objects, break the test
results into sections. Each section has an id + description e.g. "1" and
"Host Configuration". The tests for that section are an array below that
object.
All of the additional json output is implemented by adding new functions
startsectionjson(), endsectionjson(), starttestjson(), and
resulttestjson() that take the id/desc/etc as arguments and print the
proper json properties. It also required adding an "end" test to each
script that calls endsectionjson().
Signed-off-by: Mark Stemm <mark.stemm@gmail.com> 
							
						 
						
							2018-10-11 13:39:55 -07:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Nigel Brown 
								
							 
						 
						
							
							
								
							
							
	167c3507a2  
						 
						
							
							
								
								
								Fixes incorrect reporting of TLS configuration in test 2.6  
							
							 
							
							... 
							
							
							
							Signed-off-by: Nigel Brown <nigel@windsock.io> 
							
						 
						
							2018-07-10 14:35:30 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	c8894d3b26  
						 
						
							
							
								
								
								deprecated --disable-legacy-registry  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2018-07-01 20:53:20 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	78700f2600  
						 
						
							
							
								
								
								consistent currentScore  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2018-07-01 20:04:20 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	bdeaeaa05a  
						 
						
							
							
								
								
								fix 2.18  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2018-02-09 11:02:04 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	8142de8334  
						 
						
							
							
								
								
								convert all checks to functions  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2018-01-16 13:46:49 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	ec4060ea2f  
						 
						
							
							
								
								
								add score and totalChecks to 2_  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-10-23 15:39:32 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	78b1f5dc86  
						 
						
							
							
								
								
								check 2.x json log  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-10-10 14:46:08 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Julien Garcia Gonzalez 
								
							 
						 
						
							
							
								
							
							
	
	
	1d07abf659 
 
						 
						
							
							
								
								
								update 2.14  
							
							 
							
							
							
						 
						
							2017-09-21 08:15:09 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	dac6a62ba1  
						 
						
							
							
								
								
								space  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-07-07 12:10:37 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	d93bc6b075  
						 
						
							
							
								
								
								update section 2, clean tests  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-07-07 10:23:40 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	5d9101cfc2  
						 
						
							
							
								
								
								.Server.Experimental pre-1.13  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-04-21 13:51:09 +02:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	a97bdfbe0d  
						 
						
							
							
								
								
								add note tag on informal checks  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-03-23 11:29:58 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	754e0ed02b  
						 
						
							
							
								
								
								tlsverify implies tls  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-03-21 16:17:08 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	91e625b8e4  
						 
						
							
							
								
								
								Modify get_docker_configuration_file_args in order to handle daemon.json better,  
							
							 
							
							... 
							
							
							
							and also address missing files issue.
Closes  #231 
Closes  #232 
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-03-21 14:49:42 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	260a3a76f1  
						 
						
							
							
								
								
								Merge pull request  #225  from andreasstieger/netstat  
							
							 
							
							... 
							
							
							
							2.17: correct netstat usage and filtering 
							
						 
						
							2017-02-24 13:26:48 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Andreas Stieger 
								
							 
						 
						
							
							
								
							
							
	c30a43c1fd  
						 
						
							
							
								
								
								2.17: account for :::2377 netstat output  
							
							 
							
							... 
							
							
							
							Fixes  #224  - no. 4
Signed-off-by: Andreas Stieger <astieger@suse.com> 
							
						 
						
							2017-02-24 13:24:02 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Andreas Stieger 
								
							 
						 
						
							
							
								
							
							
	421c6dd866  
						 
						
							
							
								
								
								2.17: may incorrectly match 5 digit port numbers  
							
							 
							
							... 
							
							
							
							Fixes  #224  - no. 3
Signed-off-by: Andreas Stieger <astieger@suse.com> 
							
						 
						
							2017-02-24 13:23:57 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Andreas Stieger 
								
							 
						 
						
							
							
								
							
							
	7c66b6373a  
						 
						
							
							
								
								
								2.17: grep -e recognizes IPv4 separator any character - escape  
							
							 
							
							... 
							
							
							
							Fixes  #224  - no. 2
Signed-off-by: Andreas Stieger <astieger@suse.com> 
							
						 
						
							2017-02-24 13:23:48 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Andreas Stieger 
								
							 
						 
						
							
							
								
							
							
	c15dc6c568  
						 
						
							
							
								
								
								2.17: netstat non-numeric output may not interpreted correctly  
							
							 
							
							... 
							
							
							
							The port may be aliased in /etc/services
Fixes  #224  - no. 1
Signed-off-by: Andreas Stieger <astieger@suse.com> 
							
						 
						
							2017-02-24 13:23:33 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	3d87e6d743  
						 
						
							
							
								
								
								Merge pull request  #218  from konstruktoid/issue_157  
							
							 
							
							... 
							
							
							
							Check configuration file settings 
							
						 
						
							2017-02-24 11:28:50 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	011ec950e9  
						 
						
							
							
								
								
								use docker info, as all other tests  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-02-23 17:07:33 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	7787fc0ec9  
						 
						
							
							
								
								
								correct check_2_21,  closes   #221  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-02-23 17:01:47 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	7575020fd5  
						 
						
							
							
								
								
								check config file settings  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-02-23 16:33:53 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	584847e5b4  
						 
						
							
							
								
								
								update swarm tests  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-02-22 10:11:44 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	7d992029e6  
						 
						
							
							
								
								
								remove code, if CMD instead of exit code  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-02-17 15:03:29 +01:00  
						
						
							 
							
							
							
								 
							 
							
							
								 
							 
							
						 
					 
				
					
						
							
								
								
									 
									Thomas Sjögren 
								
							 
						 
						
							
							
								
							
							
	69435a0b3e  
						 
						
							
							
								
								
								update section 2  
							
							 
							
							... 
							
							
							
							Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com> 
							
						 
						
							2017-01-24 13:41:30 +01:00