diff --git a/app.go b/app.go index 1fd3fa8..af8785e 100644 --- a/app.go +++ b/app.go @@ -16,8 +16,8 @@ import ( ) var benchmarkVersionMap = map[string]string{ - "cis-1.3.1": ">= 20.04", - "cis-1.2": ">= 18.09, < 20.04", + "cis-1.3.1": ">= 20.10", + "cis-1.2": ">= 18.09, < 20.10", "cis-1.1": ">= 17.06, < 18.09", "cis-1.0": ">= 1.13.0, < 17.06", } diff --git a/app_test.go b/app_test.go index 14cad86..99e36b7 100644 --- a/app_test.go +++ b/app_test.go @@ -109,7 +109,7 @@ func Test_getDockerCisVersion(t *testing.T) { wantErr bool }{ {name: "Test for version 20.10", stringVersion: "20.10", want: "cis-1.3.1", wantErr: false}, - {name: "Test for version 20.04", stringVersion: "20.04", want: "cis-1.3.1", wantErr: false}, + {name: "Test for version 20.04", stringVersion: "20.04", want: "cis-1.2", wantErr: false}, {name: "Test for version 18.09", stringVersion: "18.09", want: "cis-1.2", wantErr: false}, {name: "Test for version 19.3.6", stringVersion: "19.3.6", want: "cis-1.2", wantErr: false}, {name: "Test for version 18.06", stringVersion: "18.06", want: "cis-1.1", wantErr: false},