Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Simar <[email protected]>
  • Loading branch information
simar7 committed Feb 26, 2023
1 parent 015c563 commit fadb428
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/scanners/cloud/aws/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ deny[res] {
},
Azure: azure.Azure{
Authorization: authorization.Authorization{
[]authorization.RoleDefinition{{
RoleDefinitions: []authorization.RoleDefinition{{
Metadata: defsecTypes.NewTestMetadata(),
Permissions: []authorization.Permission{
{
Expand Down
2 changes: 1 addition & 1 deletion pkg/scanners/terraform/scanner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ __rego_metadata__ := {
__rego_input__ := {
"combine": false,
"selector": [{"type": "defsec", "subtypes": [{"service": "ecs"}]}],
"selector": [{"type": "defsec", "subtypes": [{"service": "ecs", "provider": "aws"}]}],
}
deny[res] {
Expand Down

0 comments on commit fadb428

Please sign in to comment.