You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/c7n_interface.feature
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -950,7 +950,7 @@ Examples: subnet False
950
950
951
951
Scenario Outline: Some resource types (vpc, eni, and subnet) have flow-log settings.
952
952
C7N can check a variety of attributes: destination, destination-type, enabled,
953
-
log-group, status, and traffic-type. Pragmatically, we see only enabled and desination-type
953
+
log-group, status, and traffic-type. Pragmatically, we see only enabled and destination-type
954
954
955
955
Given policy text
956
956
"""
@@ -969,12 +969,12 @@ Scenario Outline: Some resource types (vpc, eni, and subnet) have flow-log setti
969
969
And C7N.filter manager has get_model result of InstanceId
970
970
And C7N.filter has flow_logs result with <flow-logs>
971
971
When CEL filter is built and evaluated
972
+
Then CEL text is size(resource.flow_logs()) == 0 || ! (size(resource.flow_logs()) != 0 && (resource.flow_logs().exists(x, x.LogDestinationType == "s3")))
972
973
Then result is <expected>
973
-
And CEL text is size(resource.flow_logs()) == 0 || ! (size(resource.flow_logs()) != 0 && (resource.flow_logs().LogDestinationType == "s3"))
0 commit comments