streamdal-protos 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/shared/sp_shared_pb.rb +24 -0
- data/lib/sp_bus_pb.rb +40 -0
- data/lib/sp_command_pb.rb +44 -0
- data/lib/sp_common_pb.rb +101 -0
- data/lib/sp_external_pb.rb +204 -0
- data/lib/sp_info_pb.rb +45 -0
- data/lib/sp_internal_pb.rb +84 -0
- data/lib/sp_kv_pb.rb +44 -0
- data/lib/sp_notify_pb.rb +80 -0
- data/lib/sp_pipeline_pb.rb +94 -0
- data/lib/sp_sdk_pb.rb +44 -0
- data/lib/sp_wsm_pb.rb +45 -0
- data/lib/steps/sp_steps_custom_pb.rb +18 -0
- data/lib/steps/sp_steps_decode_pb.rb +18 -0
- data/lib/steps/sp_steps_detective_pb.rb +101 -0
- data/lib/steps/sp_steps_encode_pb.rb +18 -0
- data/lib/steps/sp_steps_httprequest_pb.rb +42 -0
- data/lib/steps/sp_steps_inferschema_pb.rb +18 -0
- data/lib/steps/sp_steps_kv_pb.rb +42 -0
- data/lib/steps/sp_steps_schema_validation_pb.rb +45 -0
- data/lib/steps/sp_steps_transform_pb.rb +73 -0
- data/lib/steps/sp_steps_valid_json_pb.rb +17 -0
- metadata +92 -0
data/lib/sp_notify_pb.rb
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_notify.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("sp_notify.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.NotificationConfig" do
|
9
|
+
proto3_optional :id, :string, 1
|
10
|
+
optional :name, :string, 2
|
11
|
+
optional :type, :enum, 3, "protos.NotificationType"
|
12
|
+
oneof :config do
|
13
|
+
optional :slack, :message, 1000, "protos.NotificationSlack"
|
14
|
+
optional :email, :message, 1001, "protos.NotificationEmail"
|
15
|
+
optional :pagerduty, :message, 1002, "protos.NotificationPagerDuty"
|
16
|
+
end
|
17
|
+
end
|
18
|
+
add_message "protos.NotificationSlack" do
|
19
|
+
optional :bot_token, :string, 1
|
20
|
+
optional :channel, :string, 2
|
21
|
+
end
|
22
|
+
add_message "protos.NotificationEmail" do
|
23
|
+
optional :type, :enum, 1, "protos.NotificationEmail.Type"
|
24
|
+
repeated :recipients, :string, 2
|
25
|
+
optional :from_address, :string, 3
|
26
|
+
oneof :config do
|
27
|
+
optional :smtp, :message, 1000, "protos.NotificationEmailSMTP"
|
28
|
+
optional :ses, :message, 1001, "protos.NotificationEmailSES"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
add_enum "protos.NotificationEmail.Type" do
|
32
|
+
value :TYPE_UNSET, 0
|
33
|
+
value :TYPE_SMTP, 1
|
34
|
+
value :TYPE_SES, 2
|
35
|
+
end
|
36
|
+
add_message "protos.NotificationEmailSMTP" do
|
37
|
+
optional :host, :string, 1
|
38
|
+
optional :port, :int32, 2
|
39
|
+
optional :user, :string, 3
|
40
|
+
optional :password, :string, 4
|
41
|
+
optional :use_tls, :bool, 5
|
42
|
+
end
|
43
|
+
add_message "protos.NotificationEmailSES" do
|
44
|
+
optional :ses_region, :string, 1
|
45
|
+
optional :ses_access_key_id, :string, 2
|
46
|
+
optional :ses_secret_access_key, :string, 3
|
47
|
+
end
|
48
|
+
add_message "protos.NotificationPagerDuty" do
|
49
|
+
optional :token, :string, 1
|
50
|
+
optional :email, :string, 2
|
51
|
+
optional :service_id, :string, 3
|
52
|
+
optional :urgency, :enum, 4, "protos.NotificationPagerDuty.Urgency"
|
53
|
+
end
|
54
|
+
add_enum "protos.NotificationPagerDuty.Urgency" do
|
55
|
+
value :URGENCY_UNSET, 0
|
56
|
+
value :URGENCY_LOW, 1
|
57
|
+
value :URGENCY_HIGH, 2
|
58
|
+
end
|
59
|
+
add_enum "protos.NotificationType" do
|
60
|
+
value :NOTIFICATION_TYPE_UNSET, 0
|
61
|
+
value :NOTIFICATION_TYPE_SLACK, 1
|
62
|
+
value :NOTIFICATION_TYPE_EMAIL, 2
|
63
|
+
value :NOTIFICATION_TYPE_PAGERDUTY, 3
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
module Streamdal
|
69
|
+
module Protos
|
70
|
+
NotificationConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationConfig").msgclass
|
71
|
+
NotificationSlack = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationSlack").msgclass
|
72
|
+
NotificationEmail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmail").msgclass
|
73
|
+
NotificationEmail::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmail.Type").enummodule
|
74
|
+
NotificationEmailSMTP = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmailSMTP").msgclass
|
75
|
+
NotificationEmailSES = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationEmailSES").msgclass
|
76
|
+
NotificationPagerDuty = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationPagerDuty").msgclass
|
77
|
+
NotificationPagerDuty::Urgency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationPagerDuty.Urgency").enummodule
|
78
|
+
NotificationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.NotificationType").enummodule
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,94 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_pipeline.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_notify_pb'
|
7
|
+
require 'steps/sp_steps_custom_pb'
|
8
|
+
require 'steps/sp_steps_decode_pb'
|
9
|
+
require 'steps/sp_steps_detective_pb'
|
10
|
+
require 'steps/sp_steps_encode_pb'
|
11
|
+
require 'steps/sp_steps_httprequest_pb'
|
12
|
+
require 'steps/sp_steps_inferschema_pb'
|
13
|
+
require 'steps/sp_steps_kv_pb'
|
14
|
+
require 'steps/sp_steps_schema_validation_pb'
|
15
|
+
require 'steps/sp_steps_transform_pb'
|
16
|
+
require 'steps/sp_steps_valid_json_pb'
|
17
|
+
|
18
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
19
|
+
add_file("sp_pipeline.proto", :syntax => :proto3) do
|
20
|
+
add_message "protos.Pipeline" do
|
21
|
+
optional :id, :string, 1
|
22
|
+
optional :name, :string, 2
|
23
|
+
repeated :steps, :message, 3, "protos.PipelineStep"
|
24
|
+
repeated :_notification_configs, :message, 4, "protos.NotificationConfig"
|
25
|
+
proto3_optional :_paused, :bool, 1000
|
26
|
+
end
|
27
|
+
add_message "protos.PipelineStepConditions" do
|
28
|
+
optional :abort, :enum, 1, "protos.AbortCondition"
|
29
|
+
optional :notify, :bool, 2
|
30
|
+
map :metadata, :string, :string, 3
|
31
|
+
optional :notification, :message, 4, "protos.PipelineStepNotification"
|
32
|
+
end
|
33
|
+
add_message "protos.PipelineStepNotification" do
|
34
|
+
repeated :notification_config_ids, :string, 1
|
35
|
+
optional :payload_type, :enum, 2, "protos.PipelineStepNotification.PayloadType"
|
36
|
+
repeated :paths, :string, 3
|
37
|
+
end
|
38
|
+
add_enum "protos.PipelineStepNotification.PayloadType" do
|
39
|
+
value :PAYLOAD_TYPE_UNSET, 0
|
40
|
+
value :PAYLOAD_TYPE_EXCLUDE, 1
|
41
|
+
value :PAYLOAD_TYPE_FULL_PAYLOAD, 2
|
42
|
+
value :PAYLOAD_TYPE_SELECT_PATHS, 3
|
43
|
+
end
|
44
|
+
add_message "protos.PipelineStep" do
|
45
|
+
optional :name, :string, 1
|
46
|
+
optional :on_true, :message, 2, "protos.PipelineStepConditions"
|
47
|
+
optional :on_false, :message, 3, "protos.PipelineStepConditions"
|
48
|
+
optional :dynamic, :bool, 4
|
49
|
+
optional :on_error, :message, 5, "protos.PipelineStepConditions"
|
50
|
+
proto3_optional :_wasm_id, :string, 10000
|
51
|
+
proto3_optional :_wasm_bytes, :bytes, 10001
|
52
|
+
proto3_optional :_wasm_function, :string, 10002
|
53
|
+
oneof :step do
|
54
|
+
optional :detective, :message, 1000, "protos.steps.DetectiveStep"
|
55
|
+
optional :transform, :message, 1001, "protos.steps.TransformStep"
|
56
|
+
optional :encode, :message, 1002, "protos.steps.EncodeStep"
|
57
|
+
optional :decode, :message, 1003, "protos.steps.DecodeStep"
|
58
|
+
optional :custom, :message, 1004, "protos.steps.CustomStep"
|
59
|
+
optional :http_request, :message, 1005, "protos.steps.HttpRequestStep"
|
60
|
+
optional :kv, :message, 1006, "protos.steps.KVStep"
|
61
|
+
optional :infer_schema, :message, 1007, "protos.steps.InferSchemaStep"
|
62
|
+
optional :valid_json, :message, 1008, "protos.steps.ValidJSONStep"
|
63
|
+
optional :schema_validation, :message, 1009, "protos.steps.SchemaValidationStep"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
add_message "protos.PipelineConfigs" do
|
67
|
+
repeated :configs, :message, 1, "protos.PipelineConfig"
|
68
|
+
proto3_optional :_is_empty, :bool, 1000
|
69
|
+
end
|
70
|
+
add_message "protos.PipelineConfig" do
|
71
|
+
optional :id, :string, 1
|
72
|
+
optional :paused, :bool, 2
|
73
|
+
optional :created_at_unix_ts_utc, :int64, 3
|
74
|
+
end
|
75
|
+
add_enum "protos.AbortCondition" do
|
76
|
+
value :ABORT_CONDITION_UNSET, 0
|
77
|
+
value :ABORT_CONDITION_ABORT_CURRENT, 1
|
78
|
+
value :ABORT_CONDITION_ABORT_ALL, 2
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
module Streamdal
|
84
|
+
module Protos
|
85
|
+
Pipeline = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.Pipeline").msgclass
|
86
|
+
PipelineStepConditions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepConditions").msgclass
|
87
|
+
PipelineStepNotification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepNotification").msgclass
|
88
|
+
PipelineStepNotification::PayloadType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStepNotification.PayloadType").enummodule
|
89
|
+
PipelineStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStep").msgclass
|
90
|
+
PipelineConfigs = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineConfigs").msgclass
|
91
|
+
PipelineConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineConfig").msgclass
|
92
|
+
AbortCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.AbortCondition").enummodule
|
93
|
+
end
|
94
|
+
end
|
data/lib/sp_sdk_pb.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_sdk.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_pipeline_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("sp_sdk.proto", :syntax => :proto3) do
|
10
|
+
add_message "protos.SDKResponse" do
|
11
|
+
optional :data, :bytes, 1
|
12
|
+
optional :status, :enum, 2, "protos.ExecStatus"
|
13
|
+
proto3_optional :status_message, :string, 3
|
14
|
+
repeated :pipeline_status, :message, 4, "protos.PipelineStatus"
|
15
|
+
map :metadata, :string, :string, 5
|
16
|
+
end
|
17
|
+
add_message "protos.PipelineStatus" do
|
18
|
+
optional :id, :string, 1
|
19
|
+
optional :name, :string, 2
|
20
|
+
repeated :step_status, :message, 3, "protos.StepStatus"
|
21
|
+
end
|
22
|
+
add_message "protos.StepStatus" do
|
23
|
+
optional :name, :string, 1
|
24
|
+
optional :status, :enum, 2, "protos.ExecStatus"
|
25
|
+
proto3_optional :status_message, :string, 3
|
26
|
+
optional :abort_condition, :enum, 4, "protos.AbortCondition"
|
27
|
+
end
|
28
|
+
add_enum "protos.ExecStatus" do
|
29
|
+
value :EXEC_STATUS_UNSET, 0
|
30
|
+
value :EXEC_STATUS_TRUE, 1
|
31
|
+
value :EXEC_STATUS_FALSE, 2
|
32
|
+
value :EXEC_STATUS_ERROR, 3
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
module Streamdal
|
38
|
+
module Protos
|
39
|
+
SDKResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.SDKResponse").msgclass
|
40
|
+
PipelineStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.PipelineStatus").msgclass
|
41
|
+
StepStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.StepStatus").msgclass
|
42
|
+
ExecStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.ExecStatus").enummodule
|
43
|
+
end
|
44
|
+
end
|
data/lib/sp_wsm_pb.rb
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: sp_wsm.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'sp_pipeline_pb'
|
7
|
+
require 'steps/sp_steps_detective_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("sp_wsm.proto", :syntax => :proto3) do
|
11
|
+
add_message "protos.WASMRequest" do
|
12
|
+
optional :step, :message, 1, "protos.PipelineStep"
|
13
|
+
optional :input_payload, :bytes, 2
|
14
|
+
proto3_optional :input_step, :bytes, 3
|
15
|
+
proto3_optional :inter_step_result, :message, 4, "protos.InterStepResult"
|
16
|
+
end
|
17
|
+
add_message "protos.WASMResponse" do
|
18
|
+
optional :output_payload, :bytes, 1
|
19
|
+
optional :exit_code, :enum, 2, "protos.WASMExitCode"
|
20
|
+
optional :exit_msg, :string, 3
|
21
|
+
proto3_optional :output_step, :bytes, 4
|
22
|
+
proto3_optional :inter_step_result, :message, 5, "protos.InterStepResult"
|
23
|
+
end
|
24
|
+
add_message "protos.InterStepResult" do
|
25
|
+
oneof :input_from do
|
26
|
+
optional :detective_result, :message, 1, "protos.steps.DetectiveStepResult"
|
27
|
+
end
|
28
|
+
end
|
29
|
+
add_enum "protos.WASMExitCode" do
|
30
|
+
value :WASM_EXIT_CODE_UNSET, 0
|
31
|
+
value :WASM_EXIT_CODE_TRUE, 1
|
32
|
+
value :WASM_EXIT_CODE_FALSE, 2
|
33
|
+
value :WASM_EXIT_CODE_ERROR, 3
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
module Streamdal
|
39
|
+
module Protos
|
40
|
+
WASMRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMRequest").msgclass
|
41
|
+
WASMResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMResponse").msgclass
|
42
|
+
InterStepResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.InterStepResult").msgclass
|
43
|
+
WASMExitCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.WASMExitCode").enummodule
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_custom.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_custom.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.CustomStep" do
|
9
|
+
optional :id, :string, 1
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module Streamdal
|
15
|
+
module Protos
|
16
|
+
CustomStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.CustomStep").msgclass
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_decode.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_decode.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.DecodeStep" do
|
9
|
+
optional :id, :string, 1
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module Streamdal
|
15
|
+
module Protos
|
16
|
+
DecodeStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DecodeStep").msgclass
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,101 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_detective.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_detective.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.DetectiveStep" do
|
9
|
+
proto3_optional :path, :string, 1
|
10
|
+
repeated :args, :string, 2
|
11
|
+
proto3_optional :negate, :bool, 3
|
12
|
+
optional :type, :enum, 4, "protos.steps.DetectiveType"
|
13
|
+
end
|
14
|
+
add_message "protos.steps.DetectiveStepResultMatch" do
|
15
|
+
optional :type, :enum, 1, "protos.steps.DetectiveType"
|
16
|
+
optional :path, :string, 2
|
17
|
+
optional :value, :bytes, 5
|
18
|
+
end
|
19
|
+
add_message "protos.steps.DetectiveStepResult" do
|
20
|
+
repeated :matches, :message, 1, "protos.steps.DetectiveStepResultMatch"
|
21
|
+
end
|
22
|
+
add_enum "protos.steps.DetectiveType" do
|
23
|
+
value :DETECTIVE_TYPE_UNKNOWN, 0
|
24
|
+
value :DETECTIVE_TYPE_IS_EMPTY, 1000
|
25
|
+
value :DETECTIVE_TYPE_HAS_FIELD, 1001
|
26
|
+
value :DETECTIVE_TYPE_IS_TYPE, 1002
|
27
|
+
value :DETECTIVE_TYPE_STRING_CONTAINS_ANY, 1003
|
28
|
+
value :DETECTIVE_TYPE_STRING_CONTAINS_ALL, 1004
|
29
|
+
value :DETECTIVE_TYPE_STRING_EQUAL, 1005
|
30
|
+
value :DETECTIVE_TYPE_IPV4_ADDRESS, 1006
|
31
|
+
value :DETECTIVE_TYPE_IPV6_ADDRESS, 1007
|
32
|
+
value :DETECTIVE_TYPE_MAC_ADDRESS, 1008
|
33
|
+
value :DETECTIVE_TYPE_REGEX, 1009
|
34
|
+
value :DETECTIVE_TYPE_TIMESTAMP_RFC3339, 1010
|
35
|
+
value :DETECTIVE_TYPE_TIMESTAMP_UNIX_NANO, 1011
|
36
|
+
value :DETECTIVE_TYPE_TIMESTAMP_UNIX, 1012
|
37
|
+
value :DETECTIVE_TYPE_BOOLEAN_TRUE, 1013
|
38
|
+
value :DETECTIVE_TYPE_BOOLEAN_FALSE, 1014
|
39
|
+
value :DETECTIVE_TYPE_UUID, 1015
|
40
|
+
value :DETECTIVE_TYPE_URL, 1016
|
41
|
+
value :DETECTIVE_TYPE_HOSTNAME, 1017
|
42
|
+
value :DETECTIVE_TYPE_STRING_LENGTH_MIN, 1018
|
43
|
+
value :DETECTIVE_TYPE_STRING_LENGTH_MAX, 1019
|
44
|
+
value :DETECTIVE_TYPE_STRING_LENGTH_RANGE, 1020
|
45
|
+
value :DETECTIVE_TYPE_SEMVER, 1021
|
46
|
+
value :DETECTIVE_TYPE_PII_ANY, 2000
|
47
|
+
value :DETECTIVE_TYPE_PII_CREDIT_CARD, 2001
|
48
|
+
value :DETECTIVE_TYPE_PII_SSN, 2002
|
49
|
+
value :DETECTIVE_TYPE_PII_EMAIL, 2003
|
50
|
+
value :DETECTIVE_TYPE_PII_PHONE, 2004
|
51
|
+
value :DETECTIVE_TYPE_PII_DRIVER_LICENSE, 2005
|
52
|
+
value :DETECTIVE_TYPE_PII_PASSPORT_ID, 2006
|
53
|
+
value :DETECTIVE_TYPE_PII_VIN_NUMBER, 2007
|
54
|
+
value :DETECTIVE_TYPE_PII_SERIAL_NUMBER, 2008
|
55
|
+
value :DETECTIVE_TYPE_PII_LOGIN, 2009
|
56
|
+
value :DETECTIVE_TYPE_PII_TAXPAYER_ID, 2010
|
57
|
+
value :DETECTIVE_TYPE_PII_ADDRESS, 2011
|
58
|
+
value :DETECTIVE_TYPE_PII_SIGNATURE, 2012
|
59
|
+
value :DETECTIVE_TYPE_PII_GEOLOCATION, 2013
|
60
|
+
value :DETECTIVE_TYPE_PII_EDUCATION, 2014
|
61
|
+
value :DETECTIVE_TYPE_PII_FINANCIAL, 2015
|
62
|
+
value :DETECTIVE_TYPE_PII_HEALTH, 2016
|
63
|
+
value :DETECTIVE_TYPE_PII_AWS_KEY_ID, 2017
|
64
|
+
value :DETECTIVE_TYPE_PII_RSA_KEY, 2018
|
65
|
+
value :DETECTIVE_TYPE_PII_TITLE, 2019
|
66
|
+
value :DETECTIVE_TYPE_PII_RELIGION, 2020
|
67
|
+
value :DETECTIVE_TYPE_PII_SLACK_TOKEN, 2021
|
68
|
+
value :DETECTIVE_TYPE_PII_STRIPE_KEY, 2022
|
69
|
+
value :DETECTIVE_TYPE_PII_IBAN, 2023
|
70
|
+
value :DETECTIVE_TYPE_PII_SWIFT_BIC, 2024
|
71
|
+
value :DETECTIVE_TYPE_PII_BANK_ROUTING_NUMBER, 2025
|
72
|
+
value :DETECTIVE_TYPE_PII_CRYPTO_ADDRESS, 2026
|
73
|
+
value :DETECTIVE_TYPE_PII_GITHUB_PAT, 2027
|
74
|
+
value :DETECTIVE_TYPE_PII_BRAINTREE_ACCESS_TOKEN, 2028
|
75
|
+
value :DETECTIVE_TYPE_PII_AWS_MWS_AUTH_TOKEN, 2029
|
76
|
+
value :DETECTIVE_TYPE_PII_DATABRICKS_PAT, 2030
|
77
|
+
value :DETECTIVE_TYPE_PII_SENDGRID_KEY, 2031
|
78
|
+
value :DETECTIVE_TYPE_PII_AZURE_SQL_CONN_STRING, 2032
|
79
|
+
value :DETECTIVE_TYPE_PII_JWT, 2033
|
80
|
+
value :DETECTIVE_TYPE_PII_DOCKER_SWARM_TOKEN, 2034
|
81
|
+
value :DETECTIVE_TYPE_PII_BEARER_TOKEN, 2035
|
82
|
+
value :DETECTIVE_TYPE_NUMERIC_EQUAL_TO, 3000
|
83
|
+
value :DETECTIVE_TYPE_NUMERIC_GREATER_THAN, 3001
|
84
|
+
value :DETECTIVE_TYPE_NUMERIC_GREATER_EQUAL, 3002
|
85
|
+
value :DETECTIVE_TYPE_NUMERIC_LESS_THAN, 3003
|
86
|
+
value :DETECTIVE_TYPE_NUMERIC_LESS_EQUAL, 3004
|
87
|
+
value :DETECTIVE_TYPE_NUMERIC_RANGE, 3005
|
88
|
+
value :DETECTIVE_TYPE_NUMERIC_MIN, 3006
|
89
|
+
value :DETECTIVE_TYPE_NUMERIC_MAX, 3007
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
module Streamdal
|
95
|
+
module Protos
|
96
|
+
DetectiveStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStep").msgclass
|
97
|
+
DetectiveStepResultMatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStepResultMatch").msgclass
|
98
|
+
DetectiveStepResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveStepResult").msgclass
|
99
|
+
DetectiveType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.DetectiveType").enummodule
|
100
|
+
end
|
101
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_encode.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_encode.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.EncodeStep" do
|
9
|
+
optional :id, :string, 1
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module Streamdal
|
15
|
+
module Protos
|
16
|
+
EncodeStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.EncodeStep").msgclass
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_httprequest.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_httprequest.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.HttpRequest" do
|
9
|
+
optional :method, :enum, 1, "protos.steps.HttpRequestMethod"
|
10
|
+
optional :url, :string, 2
|
11
|
+
optional :body, :bytes, 3
|
12
|
+
map :headers, :string, :string, 4
|
13
|
+
end
|
14
|
+
add_message "protos.steps.HttpResponse" do
|
15
|
+
optional :code, :int32, 1
|
16
|
+
optional :body, :bytes, 2
|
17
|
+
map :headers, :string, :string, 3
|
18
|
+
end
|
19
|
+
add_message "protos.steps.HttpRequestStep" do
|
20
|
+
optional :request, :message, 1, "protos.steps.HttpRequest"
|
21
|
+
end
|
22
|
+
add_enum "protos.steps.HttpRequestMethod" do
|
23
|
+
value :HTTP_REQUEST_METHOD_UNSET, 0
|
24
|
+
value :HTTP_REQUEST_METHOD_GET, 1
|
25
|
+
value :HTTP_REQUEST_METHOD_POST, 2
|
26
|
+
value :HTTP_REQUEST_METHOD_PUT, 3
|
27
|
+
value :HTTP_REQUEST_METHOD_DELETE, 4
|
28
|
+
value :HTTP_REQUEST_METHOD_PATCH, 5
|
29
|
+
value :HTTP_REQUEST_METHOD_HEAD, 6
|
30
|
+
value :HTTP_REQUEST_METHOD_OPTIONS, 7
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
module Streamdal
|
36
|
+
module Protos
|
37
|
+
HttpRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpRequest").msgclass
|
38
|
+
HttpResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpResponse").msgclass
|
39
|
+
HttpRequestStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpRequestStep").msgclass
|
40
|
+
HttpRequestMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.HttpRequestMethod").enummodule
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_inferschema.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_inferschema.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.InferSchemaStep" do
|
9
|
+
optional :current_schema, :bytes, 1
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
module Streamdal
|
15
|
+
module Protos
|
16
|
+
InferSchemaStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.InferSchemaStep").msgclass
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_kv.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'shared/sp_shared_pb'
|
7
|
+
|
8
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
9
|
+
add_file("steps/sp_steps_kv.proto", :syntax => :proto3) do
|
10
|
+
add_message "protos.steps.KVStepResponse" do
|
11
|
+
optional :status, :enum, 1, "protos.steps.KVStatus"
|
12
|
+
optional :message, :string, 2
|
13
|
+
proto3_optional :value, :bytes, 3
|
14
|
+
end
|
15
|
+
add_message "protos.steps.KVStep" do
|
16
|
+
optional :action, :enum, 1, "protos.shared.KVAction"
|
17
|
+
optional :mode, :enum, 2, "protos.steps.KVMode"
|
18
|
+
optional :key, :string, 3
|
19
|
+
proto3_optional :value, :bytes, 4
|
20
|
+
end
|
21
|
+
add_enum "protos.steps.KVMode" do
|
22
|
+
value :KV_MODE_UNSET, 0
|
23
|
+
value :KV_MODE_STATIC, 1
|
24
|
+
value :KV_MODE_DYNAMIC, 2
|
25
|
+
end
|
26
|
+
add_enum "protos.steps.KVStatus" do
|
27
|
+
value :KV_STATUS_UNSET, 0
|
28
|
+
value :KV_STATUS_SUCCESS, 1
|
29
|
+
value :KV_STATUS_FAILURE, 2
|
30
|
+
value :KV_STATUS_ERROR, 3
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
module Streamdal
|
36
|
+
module Protos
|
37
|
+
KVStepResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.KVStepResponse").msgclass
|
38
|
+
KVStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.KVStep").msgclass
|
39
|
+
KVMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.KVMode").enummodule
|
40
|
+
KVStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.KVStatus").enummodule
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_schema_validation.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_schema_validation.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.SchemaValidationStep" do
|
9
|
+
optional :type, :enum, 1, "protos.steps.SchemaValidationType"
|
10
|
+
optional :condition, :enum, 2, "protos.steps.SchemaValidationCondition"
|
11
|
+
oneof :options do
|
12
|
+
optional :json_schema, :message, 101, "protos.steps.SchemaValidationJSONSchema"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
add_message "protos.steps.SchemaValidationJSONSchema" do
|
16
|
+
optional :json_schema, :bytes, 1
|
17
|
+
optional :draft, :enum, 2, "protos.steps.JSONSchemaDraft"
|
18
|
+
end
|
19
|
+
add_enum "protos.steps.SchemaValidationType" do
|
20
|
+
value :SCHEMA_VALIDATION_TYPE_UNKNOWN, 0
|
21
|
+
value :SCHEMA_VALIDATION_TYPE_JSONSCHEMA, 1
|
22
|
+
end
|
23
|
+
add_enum "protos.steps.SchemaValidationCondition" do
|
24
|
+
value :SCHEMA_VALIDATION_CONDITION_UNKNOWN, 0
|
25
|
+
value :SCHEMA_VALIDATION_CONDITION_MATCH, 1
|
26
|
+
value :SCHEMA_VALIDATION_CONDITION_NOT_MATCH, 2
|
27
|
+
end
|
28
|
+
add_enum "protos.steps.JSONSchemaDraft" do
|
29
|
+
value :JSONSCHEMA_DRAFT_UNKNOWN, 0
|
30
|
+
value :JSONSCHEMA_DRAFT_04, 1
|
31
|
+
value :JSONSCHEMA_DRAFT_06, 2
|
32
|
+
value :JSONSCHEMA_DRAFT_07, 3
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
module Streamdal
|
38
|
+
module Protos
|
39
|
+
SchemaValidationStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.SchemaValidationStep").msgclass
|
40
|
+
SchemaValidationJSONSchema = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.SchemaValidationJSONSchema").msgclass
|
41
|
+
SchemaValidationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.SchemaValidationType").enummodule
|
42
|
+
SchemaValidationCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.SchemaValidationCondition").enummodule
|
43
|
+
JSONSchemaDraft = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.JSONSchemaDraft").enummodule
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,73 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_transform.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_transform.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.TransformStep" do
|
9
|
+
optional :path, :string, 1
|
10
|
+
optional :value, :string, 2
|
11
|
+
optional :type, :enum, 3, "protos.steps.TransformType"
|
12
|
+
oneof :options do
|
13
|
+
optional :replace_value_options, :message, 101, "protos.steps.TransformReplaceValueOptions"
|
14
|
+
optional :delete_field_options, :message, 102, "protos.steps.TransformDeleteFieldOptions"
|
15
|
+
optional :obfuscate_options, :message, 103, "protos.steps.TransformObfuscateOptions"
|
16
|
+
optional :mask_options, :message, 104, "protos.steps.TransformMaskOptions"
|
17
|
+
optional :truncate_options, :message, 105, "protos.steps.TransformTruncateOptions"
|
18
|
+
optional :extract_options, :message, 106, "protos.steps.TransformExtractOptions"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
add_message "protos.steps.TransformTruncateOptions" do
|
22
|
+
optional :type, :enum, 1, "protos.steps.TransformTruncateType"
|
23
|
+
optional :path, :string, 2
|
24
|
+
optional :value, :int32, 3
|
25
|
+
end
|
26
|
+
add_message "protos.steps.TransformDeleteFieldOptions" do
|
27
|
+
repeated :paths, :string, 1
|
28
|
+
end
|
29
|
+
add_message "protos.steps.TransformReplaceValueOptions" do
|
30
|
+
optional :path, :string, 1
|
31
|
+
optional :value, :string, 2
|
32
|
+
end
|
33
|
+
add_message "protos.steps.TransformObfuscateOptions" do
|
34
|
+
optional :path, :string, 1
|
35
|
+
end
|
36
|
+
add_message "protos.steps.TransformMaskOptions" do
|
37
|
+
optional :path, :string, 1
|
38
|
+
optional :mask, :string, 2
|
39
|
+
end
|
40
|
+
add_message "protos.steps.TransformExtractOptions" do
|
41
|
+
repeated :paths, :string, 1
|
42
|
+
optional :flatten, :bool, 2
|
43
|
+
end
|
44
|
+
add_enum "protos.steps.TransformType" do
|
45
|
+
value :TRANSFORM_TYPE_UNKNOWN, 0
|
46
|
+
value :TRANSFORM_TYPE_REPLACE_VALUE, 1
|
47
|
+
value :TRANSFORM_TYPE_DELETE_FIELD, 2
|
48
|
+
value :TRANSFORM_TYPE_OBFUSCATE_VALUE, 3
|
49
|
+
value :TRANSFORM_TYPE_MASK_VALUE, 4
|
50
|
+
value :TRANSFORM_TYPE_TRUNCATE_VALUE, 5
|
51
|
+
value :TRANSFORM_TYPE_EXTRACT, 6
|
52
|
+
end
|
53
|
+
add_enum "protos.steps.TransformTruncateType" do
|
54
|
+
value :TRANSFORM_TRUNCATE_TYPE_UNKNOWN, 0
|
55
|
+
value :TRANSFORM_TRUNCATE_TYPE_LENGTH, 1
|
56
|
+
value :TRANSFORM_TRUNCATE_TYPE_PERCENTAGE, 2
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
module Streamdal
|
62
|
+
module Protos
|
63
|
+
TransformStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformStep").msgclass
|
64
|
+
TransformTruncateOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformTruncateOptions").msgclass
|
65
|
+
TransformDeleteFieldOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformDeleteFieldOptions").msgclass
|
66
|
+
TransformReplaceValueOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformReplaceValueOptions").msgclass
|
67
|
+
TransformObfuscateOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformObfuscateOptions").msgclass
|
68
|
+
TransformMaskOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformMaskOptions").msgclass
|
69
|
+
TransformExtractOptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformExtractOptions").msgclass
|
70
|
+
TransformType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformType").enummodule
|
71
|
+
TransformTruncateType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.TransformTruncateType").enummodule
|
72
|
+
end
|
73
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: steps/sp_steps_valid_json.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("steps/sp_steps_valid_json.proto", :syntax => :proto3) do
|
8
|
+
add_message "protos.steps.ValidJSONStep" do
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
module Streamdal
|
14
|
+
module Protos
|
15
|
+
ValidJSONStep = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("protos.steps.ValidJSONStep").msgclass
|
16
|
+
end
|
17
|
+
end
|