Skip to content

Commit 0abfcf5

Browse files
authored
Merge pull request fanal#327 from aquasecurity/owenr-bump-cfsec-version
2 parents 0dbcb83 + e0dfc37 commit 0abfcf5

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

config/scanner/scanner_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func TestScanner_ScanConfig(t *testing.T) {
111111
},
112112
Failures: []types.MisconfResult{
113113
{
114-
Message: "Public access block does not block public ACLs",
114+
Message: "Resource 'S3Bucket' Public access block does not block public ACLs",
115115
PolicyMetadata: types.PolicyMetadata{
116116
ID: "AVD-AWS-0086",
117117
Type: "Cloudformation Security Check powered by cfsec",
@@ -123,7 +123,7 @@ func TestScanner_ScanConfig(t *testing.T) {
123123
},
124124
},
125125
{
126-
Message: "Public access block does not block public policies",
126+
Message: "Resource 'S3Bucket' Public access block does not block public policies",
127127
PolicyMetadata: types.PolicyMetadata{
128128
ID: "AVD-AWS-0087",
129129
Type: "Cloudformation Security Check powered by cfsec",
@@ -135,7 +135,7 @@ func TestScanner_ScanConfig(t *testing.T) {
135135
},
136136
},
137137
{
138-
Message: "Bucket does not have encryption enabled",
138+
Message: "Resource 'S3Bucket' Bucket does not have encryption enabled",
139139
PolicyMetadata: types.PolicyMetadata{
140140
ID: "AVD-AWS-0088",
141141
Type: "Cloudformation Security Check powered by cfsec",
@@ -147,7 +147,7 @@ func TestScanner_ScanConfig(t *testing.T) {
147147
},
148148
},
149149
{
150-
Message: "Bucket does not have logging enabled",
150+
Message: "Resource 'S3Bucket' Bucket does not have logging enabled",
151151
PolicyMetadata: types.PolicyMetadata{
152152
ID: "AVD-AWS-0089",
153153
Type: "Cloudformation Security Check powered by cfsec",
@@ -159,7 +159,7 @@ func TestScanner_ScanConfig(t *testing.T) {
159159
},
160160
},
161161
{
162-
Message: "Bucket does not have versioning enabled",
162+
Message: "Resource 'S3Bucket' Bucket does not have versioning enabled",
163163
PolicyMetadata: types.PolicyMetadata{
164164
ID: "AVD-AWS-0090",
165165
Type: "Cloudformation Security Check powered by cfsec",
@@ -171,7 +171,7 @@ func TestScanner_ScanConfig(t *testing.T) {
171171
},
172172
},
173173
{
174-
Message: "Public access block does not restrict public buckets",
174+
Message: "Resource 'S3Bucket' Public access block does not restrict public buckets",
175175
PolicyMetadata: types.PolicyMetadata{
176176
ID: "AVD-AWS-0093",
177177
Type: "Cloudformation Security Check powered by cfsec",

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/BurntSushi/toml v0.4.1
77
github.com/GoogleCloudPlatform/docker-credential-gcr v1.5.0
88
github.com/alicebob/miniredis/v2 v2.16.0
9-
github.com/aquasecurity/cfsec v0.0.4-0.20211102125145-e913da5f0019
9+
github.com/aquasecurity/cfsec v0.0.9
1010
github.com/aquasecurity/defsec v0.0.30
1111
github.com/aquasecurity/go-dep-parser v0.0.0-20211013074621-eb58e8565220
1212
github.com/aquasecurity/testdocker v0.0.0-20210911155206-e1e85f5a1516

go.sum

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,12 @@ github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/
190190
github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec=
191191
github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw=
192192
github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo=
193-
github.com/aquasecurity/cfsec v0.0.4-0.20211102125145-e913da5f0019 h1:vYUQxcaZlNE+xk6rrK/OjdzDT6PtUAUF6izUPFZg2lY=
194-
github.com/aquasecurity/cfsec v0.0.4-0.20211102125145-e913da5f0019/go.mod h1:26CqZRuXnPWAEqN2duORHQAPfz8Fh5FjVE+AT0wu78k=
193+
github.com/aquasecurity/cfsec v0.0.7 h1:rMCgfCvqnMJFVcJKBNEivcdkGpXpTKiNxUIpIEPdsjM=
194+
github.com/aquasecurity/cfsec v0.0.7/go.mod h1:26CqZRuXnPWAEqN2duORHQAPfz8Fh5FjVE+AT0wu78k=
195+
github.com/aquasecurity/cfsec v0.0.8 h1:igltDcGsS+Ula0wLfKB/RbqL1PokBkZJqJFqM5DKqZM=
196+
github.com/aquasecurity/cfsec v0.0.8/go.mod h1:26CqZRuXnPWAEqN2duORHQAPfz8Fh5FjVE+AT0wu78k=
197+
github.com/aquasecurity/cfsec v0.0.9 h1:VcaPS/8B4HHMGSFje9iPzJzedq5angyp6AeCL/5N6nE=
198+
github.com/aquasecurity/cfsec v0.0.9/go.mod h1:26CqZRuXnPWAEqN2duORHQAPfz8Fh5FjVE+AT0wu78k=
195199
github.com/aquasecurity/defsec v0.0.30 h1:7GSGUUH0xeWRlyLeksdYz+PLZqQu6taICzapGvdlu4c=
196200
github.com/aquasecurity/defsec v0.0.30/go.mod h1:E53TX/xJkcgpJyF5GPSat3Z+cZiLyvSNBdJAyfdl3fc=
197201
github.com/aquasecurity/go-dep-parser v0.0.0-20211013074621-eb58e8565220 h1:4ck6/2PNmzcNPUgFT3gCq6oVFB/Do/qiasRuBL9xGDI=

0 commit comments

Comments
 (0)