File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ const (
27
27
28
28
var RiskFactorMapping = map [string ]RiskFactor {
29
29
"C-0256" : RiskFactorExternalFacing ,
30
+ "C-0266" : RiskFactorExternalFacing ,
30
31
"C-0046" : RiskFactorPrivileged ,
31
32
"C-0057" : RiskFactorPrivileged ,
32
33
"C-0255" : RiskFactorSecretAccess ,
Original file line number Diff line number Diff line change 1
1
package armotypes
2
2
3
3
import (
4
- "github.com/stretchr/testify/assert"
5
4
"sort"
6
5
"testing"
6
+
7
+ "github.com/stretchr/testify/assert"
7
8
)
8
9
9
10
func TestGetControlIDsByRiskFactors (t * testing.T ) {
@@ -15,7 +16,7 @@ func TestGetControlIDsByRiskFactors(t *testing.T) {
15
16
{
16
17
name : "Single Risk Factor" ,
17
18
input : "External facing" ,
18
- expected : []string {"C-0256" },
19
+ expected : []string {"C-0256" , "C-0266" },
19
20
},
20
21
{
21
22
name : "Multiple Risk Factors" ,
You can’t perform that action at this time.
0 commit comments