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: pkg/api/transform_filter.go
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -32,13 +32,13 @@ type TransformFilterEnum string
32
32
33
33
const (
34
34
// For doc generation, enum definitions must match format `Constant Type = "value" // doc`
35
-
RemoveFieldTransformFilterEnum="remove_field"// removes the field from the entry
36
-
RemoveEntryIfExistsTransformFilterEnum="remove_entry_if_exists"// removes the entry if the field exists
37
-
RemoveEntryIfDoesntExistTransformFilterEnum="remove_entry_if_doesnt_exist"// removes the entry if the field does not exist
38
-
RemoveEntryIfEqualTransformFilterEnum="remove_entry_if_equal"// removes the entry if the field value equals specified value
39
-
RemoveEntryIfNotEqualTransformFilterEnum="remove_entry_if_not_equal"// removes the entry if the field value does not equal specified value
40
-
RemoveEntryAllSatisfiedTransformFilterEnum="remove_entry_all_satisfied"// removes the entry if all of the defined rules are satisfied
41
-
KeepEntryQueryTransformFilterEnum="keep_entry_query"// keeps the entry if it matches the query
35
+
RemoveFieldTransformFilterEnum="remove_field"// removes the field from the flow log
36
+
RemoveEntryIfExistsTransformFilterEnum="remove_entry_if_exists"// removes the entry (ie. the flow log) if the field exists
37
+
RemoveEntryIfDoesntExistTransformFilterEnum="remove_entry_if_doesnt_exist"// removes the entry (ie. the flow log) if the field does not exist
38
+
RemoveEntryIfEqualTransformFilterEnum="remove_entry_if_equal"// removes the entry (ie. the flow log) if the field value equals the specified value
39
+
RemoveEntryIfNotEqualTransformFilterEnum="remove_entry_if_not_equal"// removes the entry (ie. the flow log) if the field value does not equal the specified value
40
+
RemoveEntryAllSatisfiedTransformFilterEnum="remove_entry_all_satisfied"// removes the entry (ie. the flow log) if all of the defined rules are satisfied
41
+
KeepEntryQueryTransformFilterEnum="keep_entry_query"// keeps the entry (ie. the flow log) if it matches the query
42
42
AddFieldTransformFilterEnum="add_field"// adds (input) field to the entry; overrides previous value if present (key=input, value=value)
43
43
AddFieldIfDoesntExistTransformFilterEnum="add_field_if_doesnt_exist"// adds a field to the entry if the field does not exist
44
44
AddFieldIfTransformFilterEnum="add_field_if"// add output field set to assignee if input field satisfies criteria from parameters field
@@ -51,10 +51,10 @@ const (
51
51
typeTransformFilterRemoveEntryEnumstring
52
52
53
53
const (
54
-
RemoveEntryIfExistsDTransformFilterRemoveEntryEnum="remove_entry_if_exists"// removes the entry if the field exists
55
-
RemoveEntryIfDoesntExistDTransformFilterRemoveEntryEnum="remove_entry_if_doesnt_exist"// removes the entry if the field does not exist
56
-
RemoveEntryIfEqualDTransformFilterRemoveEntryEnum="remove_entry_if_equal"// removes the entry if the field value equals specified value
57
-
RemoveEntryIfNotEqualDTransformFilterRemoveEntryEnum="remove_entry_if_not_equal"// removes the entry if the field value does not equal specified value
54
+
RemoveEntryIfExistsDTransformFilterRemoveEntryEnum="remove_entry_if_exists"// removes the entry (ie. the flow log) if the field exists
55
+
RemoveEntryIfDoesntExistDTransformFilterRemoveEntryEnum="remove_entry_if_doesnt_exist"// removes the entry (ie. the flow log) if the field does not exist
56
+
RemoveEntryIfEqualDTransformFilterRemoveEntryEnum="remove_entry_if_equal"// removes the entry (ie. the flow log) if the field value equals the specified value
57
+
RemoveEntryIfNotEqualDTransformFilterRemoveEntryEnum="remove_entry_if_not_equal"// removes the entry (ie. the flow log) if the field value does not equal the specified value
0 commit comments