-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Remove RGv1 logic. Add KUBERNETES to ResourceGroups (#1666)
* feat: Remove RGv1 logic * fix: Fix the gosimple lint errors Signed-off-by: Lei Jin <lei.jin@lacework.net> * fix: Fix the build issue Signed-off-by: Lei Jin <lei.jin@lacework.net> * fix: Fix unit tests Signed-off-by: Lei Jin <lei.jin@lacework.net> * fix: Fix the rgv2 list bug Signed-off-by: Lei Jin <lei.jin@lacework.net> * fix: Add Kubernetes support * fix: rg api tests * fix: Remove ResourceGroupProps references * fix: json parsing for integ test * fix: Bugs. Remove v2 suffix everywhere * fix: remove commented out code * fix: linting * fix: integration test * fix: rename vars * fix: tests * fix: fix bug in integ test * fix: try again to fix integ tests --------- Signed-off-by: Lei Jin <lei.jin@lacework.net> Co-authored-by: Lei Jin <lei.jin@lacework.net>
- Loading branch information
1 parent
cbebb62
commit 2b0ffd4
Showing
35 changed files
with
1,066 additions
and
3,527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"filters": { | ||
"filter1": { | ||
"field": "AWS Account", | ||
"operation": "EQUALS", | ||
"values": [ | ||
"123456789012" | ||
] | ||
}, | ||
"filter2": { | ||
"field": "AWS Region", | ||
"operation": "EQUALS", | ||
"values": [ | ||
"us-west-2" | ||
] | ||
}, | ||
"filter3": { | ||
"field": "Cluster Name", | ||
"operation": "EQUALS", | ||
"values": [ | ||
"*" | ||
] | ||
}, | ||
"filter4": { | ||
"field": "Namespace", | ||
"operation": "EQUALS", | ||
"values": [ | ||
"prod" | ||
] | ||
} | ||
}, | ||
"expression": { | ||
"operator": "OR", | ||
"children": [ | ||
{ | ||
"filterName": "filter1" | ||
}, | ||
{ | ||
"filterName": "filter2" | ||
}, | ||
{ | ||
"filterName": "filter3" | ||
}, | ||
{ | ||
"filterName": "filter4" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.