sift-stack-py 0.3.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- google/__init__.py +1 -0
- google/api/__init__.py +0 -0
- google/api/annotations_pb2.py +27 -0
- google/api/annotations_pb2.pyi +29 -0
- google/api/annotations_pb2_grpc.py +4 -0
- google/api/annotations_pb2_grpc.pyi +30 -0
- google/api/field_behavior_pb2.py +30 -0
- google/api/field_behavior_pb2.pyi +175 -0
- google/api/field_behavior_pb2_grpc.py +4 -0
- google/api/field_behavior_pb2_grpc.pyi +30 -0
- google/api/http_pb2.py +31 -0
- google/api/http_pb2.pyi +433 -0
- google/api/http_pb2_grpc.py +4 -0
- google/api/http_pb2_grpc.pyi +30 -0
- protoc_gen_openapiv2/__init__.py +0 -0
- protoc_gen_openapiv2/options/__init__.py +0 -0
- protoc_gen_openapiv2/options/annotations_pb2.py +27 -0
- protoc_gen_openapiv2/options/annotations_pb2.pyi +48 -0
- protoc_gen_openapiv2/options/annotations_pb2_grpc.py +4 -0
- protoc_gen_openapiv2/options/annotations_pb2_grpc.pyi +17 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.py +132 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.pyi +1533 -0
- protoc_gen_openapiv2/options/openapiv2_pb2_grpc.py +4 -0
- protoc_gen_openapiv2/options/openapiv2_pb2_grpc.pyi +17 -0
- sift/__init__.py +0 -0
- sift/annotation_logs/__init__.py +0 -0
- sift/annotation_logs/v1/__init__.py +0 -0
- sift/annotation_logs/v1/annotation_logs_pb2.py +115 -0
- sift/annotation_logs/v1/annotation_logs_pb2.pyi +370 -0
- sift/annotation_logs/v1/annotation_logs_pb2_grpc.py +135 -0
- sift/annotation_logs/v1/annotation_logs_pb2_grpc.pyi +84 -0
- sift/annotations/__init__.py +0 -0
- sift/annotations/v1/__init__.py +0 -0
- sift/annotations/v1/annotations_pb2.py +180 -0
- sift/annotations/v1/annotations_pb2.pyi +539 -0
- sift/annotations/v1/annotations_pb2_grpc.py +237 -0
- sift/annotations/v1/annotations_pb2_grpc.pyi +144 -0
- sift/assets/__init__.py +0 -0
- sift/assets/v1/__init__.py +0 -0
- sift/assets/v1/assets_pb2.py +90 -0
- sift/assets/v1/assets_pb2.pyi +235 -0
- sift/assets/v1/assets_pb2_grpc.py +168 -0
- sift/assets/v1/assets_pb2_grpc.pyi +101 -0
- sift/calculated_channels/__init__.py +0 -0
- sift/calculated_channels/v1/__init__.py +0 -0
- sift/calculated_channels/v1/calculated_channels_pb2.py +99 -0
- sift/calculated_channels/v1/calculated_channels_pb2.pyi +280 -0
- sift/calculated_channels/v1/calculated_channels_pb2_grpc.py +101 -0
- sift/calculated_channels/v1/calculated_channels_pb2_grpc.pyi +64 -0
- sift/campaigns/__init__.py +0 -0
- sift/campaigns/v1/__init__.py +0 -0
- sift/campaigns/v1/campaigns_pb2.py +144 -0
- sift/campaigns/v1/campaigns_pb2.pyi +383 -0
- sift/campaigns/v1/campaigns_pb2_grpc.py +169 -0
- sift/campaigns/v1/campaigns_pb2_grpc.pyi +104 -0
- sift/channel_schemas/__init__.py +0 -0
- sift/channel_schemas/v1/__init__.py +0 -0
- sift/channel_schemas/v1/channel_schemas_pb2.py +69 -0
- sift/channel_schemas/v1/channel_schemas_pb2.pyi +117 -0
- sift/channel_schemas/v1/channel_schemas_pb2_grpc.py +101 -0
- sift/channel_schemas/v1/channel_schemas_pb2_grpc.pyi +64 -0
- sift/channels/__init__.py +0 -0
- sift/channels/v2/__init__.py +0 -0
- sift/channels/v2/channels_pb2.py +88 -0
- sift/channels/v2/channels_pb2.pyi +183 -0
- sift/channels/v2/channels_pb2_grpc.py +101 -0
- sift/channels/v2/channels_pb2_grpc.pyi +64 -0
- sift/common/__init__.py +0 -0
- sift/common/type/__init__.py +0 -0
- sift/common/type/v1/__init__.py +0 -0
- sift/common/type/v1/channel_bit_field_element_pb2.py +34 -0
- sift/common/type/v1/channel_bit_field_element_pb2.pyi +33 -0
- sift/common/type/v1/channel_bit_field_element_pb2_grpc.py +4 -0
- sift/common/type/v1/channel_bit_field_element_pb2_grpc.pyi +17 -0
- sift/common/type/v1/channel_data_type_pb2.py +29 -0
- sift/common/type/v1/channel_data_type_pb2.pyi +50 -0
- sift/common/type/v1/channel_data_type_pb2_grpc.py +4 -0
- sift/common/type/v1/channel_data_type_pb2_grpc.pyi +17 -0
- sift/common/type/v1/channel_enum_type_pb2.py +32 -0
- sift/common/type/v1/channel_enum_type_pb2.pyi +29 -0
- sift/common/type/v1/channel_enum_type_pb2_grpc.py +4 -0
- sift/common/type/v1/channel_enum_type_pb2_grpc.pyi +17 -0
- sift/common/type/v1/organization_pb2.py +27 -0
- sift/common/type/v1/organization_pb2.pyi +29 -0
- sift/common/type/v1/organization_pb2_grpc.py +4 -0
- sift/common/type/v1/organization_pb2_grpc.pyi +17 -0
- sift/common/type/v1/resource_identifier_pb2.py +46 -0
- sift/common/type/v1/resource_identifier_pb2.pyi +145 -0
- sift/common/type/v1/resource_identifier_pb2_grpc.py +4 -0
- sift/common/type/v1/resource_identifier_pb2_grpc.pyi +17 -0
- sift/common/type/v1/user_pb2.py +33 -0
- sift/common/type/v1/user_pb2.pyi +36 -0
- sift/common/type/v1/user_pb2_grpc.py +4 -0
- sift/common/type/v1/user_pb2_grpc.pyi +17 -0
- sift/data/__init__.py +0 -0
- sift/data/v1/__init__.py +0 -0
- sift/data/v1/data_pb2.py +212 -0
- sift/data/v1/data_pb2.pyi +745 -0
- sift/data/v1/data_pb2_grpc.py +67 -0
- sift/data/v1/data_pb2_grpc.pyi +44 -0
- sift/ingest/__init__.py +0 -0
- sift/ingest/v1/__init__.py +0 -0
- sift/ingest/v1/ingest_pb2.py +35 -0
- sift/ingest/v1/ingest_pb2.pyi +118 -0
- sift/ingest/v1/ingest_pb2_grpc.py +66 -0
- sift/ingest/v1/ingest_pb2_grpc.pyi +41 -0
- sift/ingestion_configs/__init__.py +0 -0
- sift/ingestion_configs/v1/__init__.py +0 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2.py +115 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2.pyi +332 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.py +203 -0
- sift/ingestion_configs/v1/ingestion_configs_pb2_grpc.pyi +124 -0
- sift/notifications/__init__.py +0 -0
- sift/notifications/v1/__init__.py +0 -0
- sift/notifications/v1/notifications_pb2.py +64 -0
- sift/notifications/v1/notifications_pb2.pyi +225 -0
- sift/notifications/v1/notifications_pb2_grpc.py +101 -0
- sift/notifications/v1/notifications_pb2_grpc.pyi +64 -0
- sift/ping/__init__.py +0 -0
- sift/ping/v1/__init__.py +0 -0
- sift/ping/v1/ping_pb2.py +38 -0
- sift/ping/v1/ping_pb2.pyi +36 -0
- sift/ping/v1/ping_pb2_grpc.py +66 -0
- sift/ping/v1/ping_pb2_grpc.pyi +41 -0
- sift/remote_files/__init__.py +0 -0
- sift/remote_files/v1/__init__.py +0 -0
- sift/remote_files/v1/remote_files_pb2.py +174 -0
- sift/remote_files/v1/remote_files_pb2.pyi +472 -0
- sift/remote_files/v1/remote_files_pb2_grpc.py +271 -0
- sift/remote_files/v1/remote_files_pb2_grpc.pyi +164 -0
- sift/report_templates/__init__.py +0 -0
- sift/report_templates/v1/__init__.py +0 -0
- sift/report_templates/v1/report_templates_pb2.py +146 -0
- sift/report_templates/v1/report_templates_pb2.pyi +381 -0
- sift/report_templates/v1/report_templates_pb2_grpc.py +169 -0
- sift/report_templates/v1/report_templates_pb2_grpc.pyi +104 -0
- sift/reports/__init__.py +0 -0
- sift/reports/v1/__init__.py +0 -0
- sift/reports/v1/reports_pb2.py +193 -0
- sift/reports/v1/reports_pb2.pyi +562 -0
- sift/reports/v1/reports_pb2_grpc.py +205 -0
- sift/reports/v1/reports_pb2_grpc.pyi +136 -0
- sift/rule_evaluation/__init__.py +0 -0
- sift/rule_evaluation/v1/__init__.py +0 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2.py +89 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2.pyi +263 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.py +101 -0
- sift/rule_evaluation/v1/rule_evaluation_pb2_grpc.pyi +64 -0
- sift/rules/__init__.py +0 -0
- sift/rules/v1/__init__.py +0 -0
- sift/rules/v1/rules_pb2.py +420 -0
- sift/rules/v1/rules_pb2.pyi +1355 -0
- sift/rules/v1/rules_pb2_grpc.py +577 -0
- sift/rules/v1/rules_pb2_grpc.pyi +351 -0
- sift/runs/__init__.py +0 -0
- sift/runs/v2/__init__.py +0 -0
- sift/runs/v2/runs_pb2.py +150 -0
- sift/runs/v2/runs_pb2.pyi +413 -0
- sift/runs/v2/runs_pb2_grpc.py +271 -0
- sift/runs/v2/runs_pb2_grpc.pyi +164 -0
- sift/saved_searches/__init__.py +0 -0
- sift/saved_searches/v1/__init__.py +0 -0
- sift/saved_searches/v1/saved_searches_pb2.py +144 -0
- sift/saved_searches/v1/saved_searches_pb2.pyi +385 -0
- sift/saved_searches/v1/saved_searches_pb2_grpc.py +237 -0
- sift/saved_searches/v1/saved_searches_pb2_grpc.pyi +144 -0
- sift/tags/__init__.py +0 -0
- sift/tags/v1/__init__.py +0 -0
- sift/tags/v1/tags_pb2.py +49 -0
- sift/tags/v1/tags_pb2.pyi +71 -0
- sift/tags/v1/tags_pb2_grpc.py +4 -0
- sift/tags/v1/tags_pb2_grpc.pyi +17 -0
- sift/users/__init__.py +0 -0
- sift/users/v2/__init__.py +0 -0
- sift/users/v2/users_pb2.py +61 -0
- sift/users/v2/users_pb2.pyi +142 -0
- sift/users/v2/users_pb2_grpc.py +135 -0
- sift/users/v2/users_pb2_grpc.pyi +84 -0
- sift/views/__init__.py +0 -0
- sift/views/v1/__init__.py +0 -0
- sift/views/v1/views_pb2.py +130 -0
- sift/views/v1/views_pb2.pyi +466 -0
- sift/views/v1/views_pb2_grpc.py +305 -0
- sift/views/v1/views_pb2_grpc.pyi +184 -0
- sift_grafana/py.typed +0 -0
- sift_grafana/sift_query_model.py +64 -0
- sift_py/__init__.py +923 -0
- sift_py/_internal/__init__.py +5 -0
- sift_py/_internal/cel.py +18 -0
- sift_py/_internal/channel.py +42 -0
- sift_py/_internal/convert/__init__.py +3 -0
- sift_py/_internal/convert/json.py +24 -0
- sift_py/_internal/convert/protobuf.py +34 -0
- sift_py/_internal/convert/timestamp.py +9 -0
- sift_py/_internal/test_util/__init__.py +0 -0
- sift_py/_internal/test_util/channel.py +136 -0
- sift_py/_internal/test_util/fn.py +14 -0
- sift_py/_internal/test_util/server_interceptor.py +62 -0
- sift_py/_internal/time.py +48 -0
- sift_py/_internal/user.py +39 -0
- sift_py/data/__init__.py +171 -0
- sift_py/data/_channel.py +38 -0
- sift_py/data/_deserialize.py +208 -0
- sift_py/data/_deserialize_test.py +134 -0
- sift_py/data/_service_test.py +276 -0
- sift_py/data/_validate.py +10 -0
- sift_py/data/error.py +5 -0
- sift_py/data/query.py +299 -0
- sift_py/data/service.py +497 -0
- sift_py/data_import/__init__.py +130 -0
- sift_py/data_import/_config.py +167 -0
- sift_py/data_import/_config_test.py +166 -0
- sift_py/data_import/_csv_test.py +395 -0
- sift_py/data_import/_status_test.py +176 -0
- sift_py/data_import/_tdms_test.py +238 -0
- sift_py/data_import/ch10.py +157 -0
- sift_py/data_import/config.py +19 -0
- sift_py/data_import/csv.py +259 -0
- sift_py/data_import/status.py +113 -0
- sift_py/data_import/tdms.py +206 -0
- sift_py/data_import/tempfile.py +30 -0
- sift_py/data_import/time_format.py +39 -0
- sift_py/error.py +11 -0
- sift_py/file_attachment/__init__.py +88 -0
- sift_py/file_attachment/_internal/__init__.py +0 -0
- sift_py/file_attachment/_internal/download.py +13 -0
- sift_py/file_attachment/_internal/upload.py +100 -0
- sift_py/file_attachment/_service_test.py +161 -0
- sift_py/file_attachment/entity.py +30 -0
- sift_py/file_attachment/metadata.py +107 -0
- sift_py/file_attachment/service.py +142 -0
- sift_py/grpc/__init__.py +15 -0
- sift_py/grpc/_async_interceptors/__init__.py +0 -0
- sift_py/grpc/_async_interceptors/base.py +72 -0
- sift_py/grpc/_async_interceptors/metadata.py +36 -0
- sift_py/grpc/_interceptors/__init__.py +0 -0
- sift_py/grpc/_interceptors/base.py +61 -0
- sift_py/grpc/_interceptors/context.py +25 -0
- sift_py/grpc/_interceptors/metadata.py +33 -0
- sift_py/grpc/_retry.py +70 -0
- sift_py/grpc/keepalive.py +34 -0
- sift_py/grpc/transport.py +250 -0
- sift_py/grpc/transport_test.py +170 -0
- sift_py/ingestion/__init__.py +6 -0
- sift_py/ingestion/_internal/__init__.py +6 -0
- sift_py/ingestion/_internal/channel.py +12 -0
- sift_py/ingestion/_internal/error.py +10 -0
- sift_py/ingestion/_internal/ingest.py +350 -0
- sift_py/ingestion/_internal/ingest_test.py +357 -0
- sift_py/ingestion/_internal/ingestion_config.py +130 -0
- sift_py/ingestion/_internal/run.py +46 -0
- sift_py/ingestion/_service_test.py +478 -0
- sift_py/ingestion/buffer.py +189 -0
- sift_py/ingestion/channel.py +422 -0
- sift_py/ingestion/config/__init__.py +3 -0
- sift_py/ingestion/config/telemetry.py +281 -0
- sift_py/ingestion/config/telemetry_test.py +405 -0
- sift_py/ingestion/config/yaml/__init__.py +0 -0
- sift_py/ingestion/config/yaml/error.py +44 -0
- sift_py/ingestion/config/yaml/load.py +126 -0
- sift_py/ingestion/config/yaml/spec.py +58 -0
- sift_py/ingestion/config/yaml/test_load.py +25 -0
- sift_py/ingestion/flow.py +73 -0
- sift_py/ingestion/manager.py +99 -0
- sift_py/ingestion/rule/__init__.py +4 -0
- sift_py/ingestion/rule/config.py +11 -0
- sift_py/ingestion/service.py +237 -0
- sift_py/py.typed +0 -0
- sift_py/report_templates/__init__.py +0 -0
- sift_py/report_templates/_config_test.py +34 -0
- sift_py/report_templates/_service_test.py +94 -0
- sift_py/report_templates/config.py +36 -0
- sift_py/report_templates/service.py +171 -0
- sift_py/rest.py +29 -0
- sift_py/rule/__init__.py +0 -0
- sift_py/rule/_config_test.py +109 -0
- sift_py/rule/_service_test.py +168 -0
- sift_py/rule/config.py +229 -0
- sift_py/rule/service.py +484 -0
- sift_py/yaml/__init__.py +0 -0
- sift_py/yaml/_channel_test.py +169 -0
- sift_py/yaml/_rule_test.py +207 -0
- sift_py/yaml/channel.py +224 -0
- sift_py/yaml/report_templates.py +73 -0
- sift_py/yaml/rule.py +321 -0
- sift_py/yaml/utils.py +15 -0
- sift_stack_py-0.3.2.dist-info/LICENSE +7 -0
- sift_stack_py-0.3.2.dist-info/METADATA +109 -0
- sift_stack_py-0.3.2.dist-info/RECORD +291 -0
- sift_stack_py-0.3.2.dist-info/WHEEL +5 -0
- sift_stack_py-0.3.2.dist-info/top_level.txt +5 -0
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
from sift.reports.v1 import reports_pb2 as sift_dot_reports_dot_v1_dot_reports__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ReportServiceStub(object):
|
|
9
|
+
"""Missing associated documentation comment in .proto file."""
|
|
10
|
+
|
|
11
|
+
def __init__(self, channel):
|
|
12
|
+
"""Constructor.
|
|
13
|
+
|
|
14
|
+
Args:
|
|
15
|
+
channel: A grpc.Channel.
|
|
16
|
+
"""
|
|
17
|
+
self.GetReport = channel.unary_unary(
|
|
18
|
+
'/sift.reports.v1.ReportService/GetReport',
|
|
19
|
+
request_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.GetReportRequest.SerializeToString,
|
|
20
|
+
response_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.GetReportResponse.FromString,
|
|
21
|
+
)
|
|
22
|
+
self.CreateReport = channel.unary_unary(
|
|
23
|
+
'/sift.reports.v1.ReportService/CreateReport',
|
|
24
|
+
request_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.CreateReportRequest.SerializeToString,
|
|
25
|
+
response_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.CreateReportResponse.FromString,
|
|
26
|
+
)
|
|
27
|
+
self.ListReports = channel.unary_unary(
|
|
28
|
+
'/sift.reports.v1.ReportService/ListReports',
|
|
29
|
+
request_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.ListReportsRequest.SerializeToString,
|
|
30
|
+
response_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.ListReportsResponse.FromString,
|
|
31
|
+
)
|
|
32
|
+
self.RerunReport = channel.unary_unary(
|
|
33
|
+
'/sift.reports.v1.ReportService/RerunReport',
|
|
34
|
+
request_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.RerunReportRequest.SerializeToString,
|
|
35
|
+
response_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.RerunReportResponse.FromString,
|
|
36
|
+
)
|
|
37
|
+
self.CancelReport = channel.unary_unary(
|
|
38
|
+
'/sift.reports.v1.ReportService/CancelReport',
|
|
39
|
+
request_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.CancelReportRequest.SerializeToString,
|
|
40
|
+
response_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.CancelReportResponse.FromString,
|
|
41
|
+
)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class ReportServiceServicer(object):
|
|
45
|
+
"""Missing associated documentation comment in .proto file."""
|
|
46
|
+
|
|
47
|
+
def GetReport(self, request, context):
|
|
48
|
+
"""Retrieve a report.
|
|
49
|
+
"""
|
|
50
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
51
|
+
context.set_details('Method not implemented!')
|
|
52
|
+
raise NotImplementedError('Method not implemented!')
|
|
53
|
+
|
|
54
|
+
def CreateReport(self, request, context):
|
|
55
|
+
"""Create a report.
|
|
56
|
+
"""
|
|
57
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
58
|
+
context.set_details('Method not implemented!')
|
|
59
|
+
raise NotImplementedError('Method not implemented!')
|
|
60
|
+
|
|
61
|
+
def ListReports(self, request, context):
|
|
62
|
+
"""List reports.
|
|
63
|
+
"""
|
|
64
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
65
|
+
context.set_details('Method not implemented!')
|
|
66
|
+
raise NotImplementedError('Method not implemented!')
|
|
67
|
+
|
|
68
|
+
def RerunReport(self, request, context):
|
|
69
|
+
"""Rerunning a report will create a new report with the same rule versions and run as the original report and run the
|
|
70
|
+
evaluation again using the most up-to-date set of data.
|
|
71
|
+
"""
|
|
72
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
73
|
+
context.set_details('Method not implemented!')
|
|
74
|
+
raise NotImplementedError('Method not implemented!')
|
|
75
|
+
|
|
76
|
+
def CancelReport(self, request, context):
|
|
77
|
+
"""Canceling a report will stop the evaluation of the report and mark it as canceled. Any results that have been
|
|
78
|
+
calculated up to the point of cancellation will be saved.
|
|
79
|
+
"""
|
|
80
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
81
|
+
context.set_details('Method not implemented!')
|
|
82
|
+
raise NotImplementedError('Method not implemented!')
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def add_ReportServiceServicer_to_server(servicer, server):
|
|
86
|
+
rpc_method_handlers = {
|
|
87
|
+
'GetReport': grpc.unary_unary_rpc_method_handler(
|
|
88
|
+
servicer.GetReport,
|
|
89
|
+
request_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.GetReportRequest.FromString,
|
|
90
|
+
response_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.GetReportResponse.SerializeToString,
|
|
91
|
+
),
|
|
92
|
+
'CreateReport': grpc.unary_unary_rpc_method_handler(
|
|
93
|
+
servicer.CreateReport,
|
|
94
|
+
request_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.CreateReportRequest.FromString,
|
|
95
|
+
response_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.CreateReportResponse.SerializeToString,
|
|
96
|
+
),
|
|
97
|
+
'ListReports': grpc.unary_unary_rpc_method_handler(
|
|
98
|
+
servicer.ListReports,
|
|
99
|
+
request_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.ListReportsRequest.FromString,
|
|
100
|
+
response_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.ListReportsResponse.SerializeToString,
|
|
101
|
+
),
|
|
102
|
+
'RerunReport': grpc.unary_unary_rpc_method_handler(
|
|
103
|
+
servicer.RerunReport,
|
|
104
|
+
request_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.RerunReportRequest.FromString,
|
|
105
|
+
response_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.RerunReportResponse.SerializeToString,
|
|
106
|
+
),
|
|
107
|
+
'CancelReport': grpc.unary_unary_rpc_method_handler(
|
|
108
|
+
servicer.CancelReport,
|
|
109
|
+
request_deserializer=sift_dot_reports_dot_v1_dot_reports__pb2.CancelReportRequest.FromString,
|
|
110
|
+
response_serializer=sift_dot_reports_dot_v1_dot_reports__pb2.CancelReportResponse.SerializeToString,
|
|
111
|
+
),
|
|
112
|
+
}
|
|
113
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
114
|
+
'sift.reports.v1.ReportService', rpc_method_handlers)
|
|
115
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
# This class is part of an EXPERIMENTAL API.
|
|
119
|
+
class ReportService(object):
|
|
120
|
+
"""Missing associated documentation comment in .proto file."""
|
|
121
|
+
|
|
122
|
+
@staticmethod
|
|
123
|
+
def GetReport(request,
|
|
124
|
+
target,
|
|
125
|
+
options=(),
|
|
126
|
+
channel_credentials=None,
|
|
127
|
+
call_credentials=None,
|
|
128
|
+
insecure=False,
|
|
129
|
+
compression=None,
|
|
130
|
+
wait_for_ready=None,
|
|
131
|
+
timeout=None,
|
|
132
|
+
metadata=None):
|
|
133
|
+
return grpc.experimental.unary_unary(request, target, '/sift.reports.v1.ReportService/GetReport',
|
|
134
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.GetReportRequest.SerializeToString,
|
|
135
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.GetReportResponse.FromString,
|
|
136
|
+
options, channel_credentials,
|
|
137
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
138
|
+
|
|
139
|
+
@staticmethod
|
|
140
|
+
def CreateReport(request,
|
|
141
|
+
target,
|
|
142
|
+
options=(),
|
|
143
|
+
channel_credentials=None,
|
|
144
|
+
call_credentials=None,
|
|
145
|
+
insecure=False,
|
|
146
|
+
compression=None,
|
|
147
|
+
wait_for_ready=None,
|
|
148
|
+
timeout=None,
|
|
149
|
+
metadata=None):
|
|
150
|
+
return grpc.experimental.unary_unary(request, target, '/sift.reports.v1.ReportService/CreateReport',
|
|
151
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.CreateReportRequest.SerializeToString,
|
|
152
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.CreateReportResponse.FromString,
|
|
153
|
+
options, channel_credentials,
|
|
154
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
155
|
+
|
|
156
|
+
@staticmethod
|
|
157
|
+
def ListReports(request,
|
|
158
|
+
target,
|
|
159
|
+
options=(),
|
|
160
|
+
channel_credentials=None,
|
|
161
|
+
call_credentials=None,
|
|
162
|
+
insecure=False,
|
|
163
|
+
compression=None,
|
|
164
|
+
wait_for_ready=None,
|
|
165
|
+
timeout=None,
|
|
166
|
+
metadata=None):
|
|
167
|
+
return grpc.experimental.unary_unary(request, target, '/sift.reports.v1.ReportService/ListReports',
|
|
168
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.ListReportsRequest.SerializeToString,
|
|
169
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.ListReportsResponse.FromString,
|
|
170
|
+
options, channel_credentials,
|
|
171
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
172
|
+
|
|
173
|
+
@staticmethod
|
|
174
|
+
def RerunReport(request,
|
|
175
|
+
target,
|
|
176
|
+
options=(),
|
|
177
|
+
channel_credentials=None,
|
|
178
|
+
call_credentials=None,
|
|
179
|
+
insecure=False,
|
|
180
|
+
compression=None,
|
|
181
|
+
wait_for_ready=None,
|
|
182
|
+
timeout=None,
|
|
183
|
+
metadata=None):
|
|
184
|
+
return grpc.experimental.unary_unary(request, target, '/sift.reports.v1.ReportService/RerunReport',
|
|
185
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.RerunReportRequest.SerializeToString,
|
|
186
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.RerunReportResponse.FromString,
|
|
187
|
+
options, channel_credentials,
|
|
188
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
189
|
+
|
|
190
|
+
@staticmethod
|
|
191
|
+
def CancelReport(request,
|
|
192
|
+
target,
|
|
193
|
+
options=(),
|
|
194
|
+
channel_credentials=None,
|
|
195
|
+
call_credentials=None,
|
|
196
|
+
insecure=False,
|
|
197
|
+
compression=None,
|
|
198
|
+
wait_for_ready=None,
|
|
199
|
+
timeout=None,
|
|
200
|
+
metadata=None):
|
|
201
|
+
return grpc.experimental.unary_unary(request, target, '/sift.reports.v1.ReportService/CancelReport',
|
|
202
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.CancelReportRequest.SerializeToString,
|
|
203
|
+
sift_dot_reports_dot_v1_dot_reports__pb2.CancelReportResponse.FromString,
|
|
204
|
+
options, channel_credentials,
|
|
205
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import sift.reports.v1.reports_pb2
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
_T = typing.TypeVar("_T")
|
|
14
|
+
|
|
15
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
16
|
+
|
|
17
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
class ReportServiceStub:
|
|
21
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
22
|
+
GetReport: grpc.UnaryUnaryMultiCallable[
|
|
23
|
+
sift.reports.v1.reports_pb2.GetReportRequest,
|
|
24
|
+
sift.reports.v1.reports_pb2.GetReportResponse,
|
|
25
|
+
]
|
|
26
|
+
"""Retrieve a report."""
|
|
27
|
+
|
|
28
|
+
CreateReport: grpc.UnaryUnaryMultiCallable[
|
|
29
|
+
sift.reports.v1.reports_pb2.CreateReportRequest,
|
|
30
|
+
sift.reports.v1.reports_pb2.CreateReportResponse,
|
|
31
|
+
]
|
|
32
|
+
"""Create a report."""
|
|
33
|
+
|
|
34
|
+
ListReports: grpc.UnaryUnaryMultiCallable[
|
|
35
|
+
sift.reports.v1.reports_pb2.ListReportsRequest,
|
|
36
|
+
sift.reports.v1.reports_pb2.ListReportsResponse,
|
|
37
|
+
]
|
|
38
|
+
"""List reports."""
|
|
39
|
+
|
|
40
|
+
RerunReport: grpc.UnaryUnaryMultiCallable[
|
|
41
|
+
sift.reports.v1.reports_pb2.RerunReportRequest,
|
|
42
|
+
sift.reports.v1.reports_pb2.RerunReportResponse,
|
|
43
|
+
]
|
|
44
|
+
"""Rerunning a report will create a new report with the same rule versions and run as the original report and run the
|
|
45
|
+
evaluation again using the most up-to-date set of data.
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
CancelReport: grpc.UnaryUnaryMultiCallable[
|
|
49
|
+
sift.reports.v1.reports_pb2.CancelReportRequest,
|
|
50
|
+
sift.reports.v1.reports_pb2.CancelReportResponse,
|
|
51
|
+
]
|
|
52
|
+
"""Canceling a report will stop the evaluation of the report and mark it as canceled. Any results that have been
|
|
53
|
+
calculated up to the point of cancellation will be saved.
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
class ReportServiceAsyncStub:
|
|
57
|
+
GetReport: grpc.aio.UnaryUnaryMultiCallable[
|
|
58
|
+
sift.reports.v1.reports_pb2.GetReportRequest,
|
|
59
|
+
sift.reports.v1.reports_pb2.GetReportResponse,
|
|
60
|
+
]
|
|
61
|
+
"""Retrieve a report."""
|
|
62
|
+
|
|
63
|
+
CreateReport: grpc.aio.UnaryUnaryMultiCallable[
|
|
64
|
+
sift.reports.v1.reports_pb2.CreateReportRequest,
|
|
65
|
+
sift.reports.v1.reports_pb2.CreateReportResponse,
|
|
66
|
+
]
|
|
67
|
+
"""Create a report."""
|
|
68
|
+
|
|
69
|
+
ListReports: grpc.aio.UnaryUnaryMultiCallable[
|
|
70
|
+
sift.reports.v1.reports_pb2.ListReportsRequest,
|
|
71
|
+
sift.reports.v1.reports_pb2.ListReportsResponse,
|
|
72
|
+
]
|
|
73
|
+
"""List reports."""
|
|
74
|
+
|
|
75
|
+
RerunReport: grpc.aio.UnaryUnaryMultiCallable[
|
|
76
|
+
sift.reports.v1.reports_pb2.RerunReportRequest,
|
|
77
|
+
sift.reports.v1.reports_pb2.RerunReportResponse,
|
|
78
|
+
]
|
|
79
|
+
"""Rerunning a report will create a new report with the same rule versions and run as the original report and run the
|
|
80
|
+
evaluation again using the most up-to-date set of data.
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
CancelReport: grpc.aio.UnaryUnaryMultiCallable[
|
|
84
|
+
sift.reports.v1.reports_pb2.CancelReportRequest,
|
|
85
|
+
sift.reports.v1.reports_pb2.CancelReportResponse,
|
|
86
|
+
]
|
|
87
|
+
"""Canceling a report will stop the evaluation of the report and mark it as canceled. Any results that have been
|
|
88
|
+
calculated up to the point of cancellation will be saved.
|
|
89
|
+
"""
|
|
90
|
+
|
|
91
|
+
class ReportServiceServicer(metaclass=abc.ABCMeta):
|
|
92
|
+
@abc.abstractmethod
|
|
93
|
+
def GetReport(
|
|
94
|
+
self,
|
|
95
|
+
request: sift.reports.v1.reports_pb2.GetReportRequest,
|
|
96
|
+
context: _ServicerContext,
|
|
97
|
+
) -> typing.Union[sift.reports.v1.reports_pb2.GetReportResponse, collections.abc.Awaitable[sift.reports.v1.reports_pb2.GetReportResponse]]:
|
|
98
|
+
"""Retrieve a report."""
|
|
99
|
+
|
|
100
|
+
@abc.abstractmethod
|
|
101
|
+
def CreateReport(
|
|
102
|
+
self,
|
|
103
|
+
request: sift.reports.v1.reports_pb2.CreateReportRequest,
|
|
104
|
+
context: _ServicerContext,
|
|
105
|
+
) -> typing.Union[sift.reports.v1.reports_pb2.CreateReportResponse, collections.abc.Awaitable[sift.reports.v1.reports_pb2.CreateReportResponse]]:
|
|
106
|
+
"""Create a report."""
|
|
107
|
+
|
|
108
|
+
@abc.abstractmethod
|
|
109
|
+
def ListReports(
|
|
110
|
+
self,
|
|
111
|
+
request: sift.reports.v1.reports_pb2.ListReportsRequest,
|
|
112
|
+
context: _ServicerContext,
|
|
113
|
+
) -> typing.Union[sift.reports.v1.reports_pb2.ListReportsResponse, collections.abc.Awaitable[sift.reports.v1.reports_pb2.ListReportsResponse]]:
|
|
114
|
+
"""List reports."""
|
|
115
|
+
|
|
116
|
+
@abc.abstractmethod
|
|
117
|
+
def RerunReport(
|
|
118
|
+
self,
|
|
119
|
+
request: sift.reports.v1.reports_pb2.RerunReportRequest,
|
|
120
|
+
context: _ServicerContext,
|
|
121
|
+
) -> typing.Union[sift.reports.v1.reports_pb2.RerunReportResponse, collections.abc.Awaitable[sift.reports.v1.reports_pb2.RerunReportResponse]]:
|
|
122
|
+
"""Rerunning a report will create a new report with the same rule versions and run as the original report and run the
|
|
123
|
+
evaluation again using the most up-to-date set of data.
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
@abc.abstractmethod
|
|
127
|
+
def CancelReport(
|
|
128
|
+
self,
|
|
129
|
+
request: sift.reports.v1.reports_pb2.CancelReportRequest,
|
|
130
|
+
context: _ServicerContext,
|
|
131
|
+
) -> typing.Union[sift.reports.v1.reports_pb2.CancelReportResponse, collections.abc.Awaitable[sift.reports.v1.reports_pb2.CancelReportResponse]]:
|
|
132
|
+
"""Canceling a report will stop the evaluation of the report and mark it as canceled. Any results that have been
|
|
133
|
+
calculated up to the point of cancellation will be saved.
|
|
134
|
+
"""
|
|
135
|
+
|
|
136
|
+
def add_ReportServiceServicer_to_server(servicer: ReportServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sift/rule_evaluation/v1/rule_evaluation.proto
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
16
|
+
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
|
|
17
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
18
|
+
from protoc_gen_openapiv2.options import annotations_pb2 as protoc__gen__openapiv2_dot_options_dot_annotations__pb2
|
|
19
|
+
from sift.common.type.v1 import resource_identifier_pb2 as sift_dot_common_dot_type_dot_v1_dot_resource__identifier__pb2
|
|
20
|
+
from sift.rules.v1 import rules_pb2 as sift_dot_rules_dot_v1_dot_rules__pb2
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-sift/rule_evaluation/v1/rule_evaluation.proto\x12\x17sift.rule_evaluation.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a-sift/common/type/v1/resource_identifier.proto\x1a\x19sift/rules/v1/rules.proto\"\x93\x05\n\x14\x45valuateRulesRequest\x12;\n\x03run\x18\x01 \x01(\x0b\x32\'.sift.common.type.v1.ResourceIdentifierH\x00R\x03run\x12\x42\n\x06\x61ssets\x18\x02 \x01(\x0b\x32(.sift.rule_evaluation.v1.AssetsTimeRangeH\x00R\x06\x61ssets\x12U\n\x05rules\x18\x03 \x01(\x0b\x32=.sift.rule_evaluation.v1.EvaluateRulesFromCurrentRuleVersionsH\x01R\x05rules\x12]\n\rrule_versions\x18\x04 \x01(\x0b\x32\x36.sift.rule_evaluation.v1.EvaluateRulesFromRuleVersionsH\x01R\x0cruleVersions\x12\x63\n\x0freport_template\x18\x05 \x01(\x0b\x32\x38.sift.rule_evaluation.v1.EvaluateRulesFromReportTemplateH\x01R\x0ereportTemplate\x12\x66\n\x12\x61nnotation_options\x18\x06 \x01(\x0b\x32\x37.sift.rule_evaluation.v1.EvaluateRulesAnnotationOptionsR\x11\x61nnotationOptions\x12,\n\x0forganization_id\x18\x07 \x01(\tB\x03\xe0\x41\x01R\x0eorganizationId\x12)\n\x0breport_name\x18\x08 \x01(\tB\x03\xe0\x41\x01H\x02R\nreportName\x88\x01\x01\x42\x06\n\x04timeB\x06\n\x04modeB\x0e\n\x0c_report_name\"\xcf\x01\n\x0f\x41ssetsTimeRange\x12@\n\x06\x61ssets\x18\x01 \x01(\x0b\x32#.sift.common.type.v1.NamedResourcesB\x03\xe0\x41\x02R\x06\x61ssets\x12>\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\tstartTime\x12:\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02R\x07\x65ndTime\"k\n$EvaluateRulesFromCurrentRuleVersions\x12\x43\n\x05rules\x18\x01 \x01(\x0b\x32(.sift.common.type.v1.ResourceIdentifiersB\x03\xe0\x41\x02R\x05rules\"x\n\x1f\x45valuateRulesFromReportTemplate\x12U\n\x0freport_template\x18\x01 \x01(\x0b\x32\'.sift.common.type.v1.ResourceIdentifierB\x03\xe0\x41\x02R\x0ereportTemplate\"N\n\x1d\x45valuateRulesFromRuleVersions\x12-\n\x10rule_version_ids\x18\x01 \x03(\tB\x03\xe0\x41\x02R\x0eruleVersionIds\"^\n\x1e\x45valuateRulesAnnotationOptions\x12<\n\x04tags\x18\x01 \x01(\x0b\x32#.sift.common.type.v1.NamedResourcesB\x03\xe0\x41\x02R\x04tags\"\xb7\x01\n\x15\x45valuateRulesResponse\x12=\n\x18\x63reated_annotation_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02R\x16\x63reatedAnnotationCount\x12%\n\treport_id\x18\x02 \x01(\tB\x03\xe0\x41\x02H\x00R\x08reportId\x88\x01\x01\x12\x1f\n\x06job_id\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01R\x05jobId\x88\x01\x01\x42\x0c\n\n_report_idB\t\n\x07_job_id\"\x8f\x04\n\x1b\x45valuateRulesPreviewRequest\x12;\n\x03run\x18\x01 \x01(\x0b\x32\'.sift.common.type.v1.ResourceIdentifierH\x00R\x03run\x12U\n\x05rules\x18\x03 \x01(\x0b\x32=.sift.rule_evaluation.v1.EvaluateRulesFromCurrentRuleVersionsH\x01R\x05rules\x12]\n\rrule_versions\x18\x04 \x01(\x0b\x32\x36.sift.rule_evaluation.v1.EvaluateRulesFromRuleVersionsH\x01R\x0cruleVersions\x12\x63\n\x0freport_template\x18\x05 \x01(\x0b\x32\x38.sift.rule_evaluation.v1.EvaluateRulesFromReportTemplateH\x01R\x0ereportTemplate\x12Z\n\x0crule_configs\x18\x06 \x01(\x0b\x32\x35.sift.rule_evaluation.v1.EvaluateRulesFromRuleConfigsH\x01R\x0bruleConfigs\x12,\n\x0forganization_id\x18\x07 \x01(\tB\x03\xe0\x41\x01R\x0eorganizationIdB\x06\n\x04timeB\x06\n\x04mode\"_\n\x1c\x45valuateRulesFromRuleConfigs\x12?\n\x07\x63onfigs\x18\x01 \x03(\x0b\x32 .sift.rules.v1.UpdateRuleRequestB\x03\xe0\x41\x02R\x07\x63onfigs\"\xae\x01\n\x1c\x45valuateRulesPreviewResponse\x12=\n\x18\x63reated_annotation_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02R\x16\x63reatedAnnotationCount\x12O\n\x13\x64ry_run_annotations\x18\x02 \x03(\x0b\x32\x1f.sift.rules.v1.DryRunAnnotationR\x11\x64ryRunAnnotations2\xd8\x06\n\x15RuleEvaluationService\x12\xc3\x02\n\rEvaluateRules\x12-.sift.rule_evaluation.v1.EvaluateRulesRequest\x1a..sift.rule_evaluation.v1.EvaluateRulesResponse\"\xd2\x01\x92\x41\xa7\x01\x12\rEvaluateRules\x1a\x95\x01\x45valuate rules from a designated source against a run or asset and return the total amount of annotations created and the ID of the generated report.\x82\xd3\xe4\x93\x02!\"\x1c/api/v1/rules/evaluate-rules:\x01*\x12\xda\x02\n\x14\x45valuateRulesPreview\x12\x34.sift.rule_evaluation.v1.EvaluateRulesPreviewRequest\x1a\x35.sift.rule_evaluation.v1.EvaluateRulesPreviewResponse\"\xd4\x01\x92\x41\xa1\x01\x12\x14\x45valuateRulesPreview\x1a\x88\x01Perform a dry run evaluation for existing rules or rule configurations against a run and return the annotations that would be generated.\x82\xd3\xe4\x93\x02)\"$/api/v1/rules/evaluate-rules:preview:\x01*\x1a\x9b\x01\x92\x41\x97\x01\x12\x1aService to evaluate rules.\x1ay\n\x1fRead more about what rules are.\x12Vhttps://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265421102B\xca\x01\n\x1b\x63om.sift.rule_evaluation.v1B\x13RuleEvaluationProtoP\x01\xa2\x02\x03SRX\xaa\x02\x16Sift.RuleEvaluation.V1\xca\x02\x16Sift\\RuleEvaluation\\V1\xe2\x02\"Sift\\RuleEvaluation\\V1\\GPBMetadata\xea\x02\x18Sift::RuleEvaluation::V1\x92\x41\x1b\x12\x19\n\x17Rule Evaluation Serviceb\x06proto3')
|
|
24
|
+
|
|
25
|
+
_globals = globals()
|
|
26
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
27
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sift.rule_evaluation.v1.rule_evaluation_pb2', _globals)
|
|
28
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
29
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
30
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\033com.sift.rule_evaluation.v1B\023RuleEvaluationProtoP\001\242\002\003SRX\252\002\026Sift.RuleEvaluation.V1\312\002\026Sift\\RuleEvaluation\\V1\342\002\"Sift\\RuleEvaluation\\V1\\GPBMetadata\352\002\030Sift::RuleEvaluation::V1\222A\033\022\031\n\027Rule Evaluation Service'
|
|
31
|
+
_globals['_EVALUATERULESREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
32
|
+
_globals['_EVALUATERULESREQUEST'].fields_by_name['organization_id']._serialized_options = b'\340A\001'
|
|
33
|
+
_globals['_EVALUATERULESREQUEST'].fields_by_name['report_name']._loaded_options = None
|
|
34
|
+
_globals['_EVALUATERULESREQUEST'].fields_by_name['report_name']._serialized_options = b'\340A\001'
|
|
35
|
+
_globals['_ASSETSTIMERANGE'].fields_by_name['assets']._loaded_options = None
|
|
36
|
+
_globals['_ASSETSTIMERANGE'].fields_by_name['assets']._serialized_options = b'\340A\002'
|
|
37
|
+
_globals['_ASSETSTIMERANGE'].fields_by_name['start_time']._loaded_options = None
|
|
38
|
+
_globals['_ASSETSTIMERANGE'].fields_by_name['start_time']._serialized_options = b'\340A\002'
|
|
39
|
+
_globals['_ASSETSTIMERANGE'].fields_by_name['end_time']._loaded_options = None
|
|
40
|
+
_globals['_ASSETSTIMERANGE'].fields_by_name['end_time']._serialized_options = b'\340A\002'
|
|
41
|
+
_globals['_EVALUATERULESFROMCURRENTRULEVERSIONS'].fields_by_name['rules']._loaded_options = None
|
|
42
|
+
_globals['_EVALUATERULESFROMCURRENTRULEVERSIONS'].fields_by_name['rules']._serialized_options = b'\340A\002'
|
|
43
|
+
_globals['_EVALUATERULESFROMREPORTTEMPLATE'].fields_by_name['report_template']._loaded_options = None
|
|
44
|
+
_globals['_EVALUATERULESFROMREPORTTEMPLATE'].fields_by_name['report_template']._serialized_options = b'\340A\002'
|
|
45
|
+
_globals['_EVALUATERULESFROMRULEVERSIONS'].fields_by_name['rule_version_ids']._loaded_options = None
|
|
46
|
+
_globals['_EVALUATERULESFROMRULEVERSIONS'].fields_by_name['rule_version_ids']._serialized_options = b'\340A\002'
|
|
47
|
+
_globals['_EVALUATERULESANNOTATIONOPTIONS'].fields_by_name['tags']._loaded_options = None
|
|
48
|
+
_globals['_EVALUATERULESANNOTATIONOPTIONS'].fields_by_name['tags']._serialized_options = b'\340A\002'
|
|
49
|
+
_globals['_EVALUATERULESRESPONSE'].fields_by_name['created_annotation_count']._loaded_options = None
|
|
50
|
+
_globals['_EVALUATERULESRESPONSE'].fields_by_name['created_annotation_count']._serialized_options = b'\340A\002'
|
|
51
|
+
_globals['_EVALUATERULESRESPONSE'].fields_by_name['report_id']._loaded_options = None
|
|
52
|
+
_globals['_EVALUATERULESRESPONSE'].fields_by_name['report_id']._serialized_options = b'\340A\002'
|
|
53
|
+
_globals['_EVALUATERULESRESPONSE'].fields_by_name['job_id']._loaded_options = None
|
|
54
|
+
_globals['_EVALUATERULESRESPONSE'].fields_by_name['job_id']._serialized_options = b'\340A\001'
|
|
55
|
+
_globals['_EVALUATERULESPREVIEWREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
56
|
+
_globals['_EVALUATERULESPREVIEWREQUEST'].fields_by_name['organization_id']._serialized_options = b'\340A\001'
|
|
57
|
+
_globals['_EVALUATERULESFROMRULECONFIGS'].fields_by_name['configs']._loaded_options = None
|
|
58
|
+
_globals['_EVALUATERULESFROMRULECONFIGS'].fields_by_name['configs']._serialized_options = b'\340A\002'
|
|
59
|
+
_globals['_EVALUATERULESPREVIEWRESPONSE'].fields_by_name['created_annotation_count']._loaded_options = None
|
|
60
|
+
_globals['_EVALUATERULESPREVIEWRESPONSE'].fields_by_name['created_annotation_count']._serialized_options = b'\340A\002'
|
|
61
|
+
_globals['_RULEEVALUATIONSERVICE']._loaded_options = None
|
|
62
|
+
_globals['_RULEEVALUATIONSERVICE']._serialized_options = b'\222A\227\001\022\032Service to evaluate rules.\032y\n\037Read more about what rules are.\022Vhttps://customer.support.siftstack.com/servicedesk/customer/portal/2/article/265421102'
|
|
63
|
+
_globals['_RULEEVALUATIONSERVICE'].methods_by_name['EvaluateRules']._loaded_options = None
|
|
64
|
+
_globals['_RULEEVALUATIONSERVICE'].methods_by_name['EvaluateRules']._serialized_options = b'\222A\247\001\022\rEvaluateRules\032\225\001Evaluate rules from a designated source against a run or asset and return the total amount of annotations created and the ID of the generated report.\202\323\344\223\002!\"\034/api/v1/rules/evaluate-rules:\001*'
|
|
65
|
+
_globals['_RULEEVALUATIONSERVICE'].methods_by_name['EvaluateRulesPreview']._loaded_options = None
|
|
66
|
+
_globals['_RULEEVALUATIONSERVICE'].methods_by_name['EvaluateRulesPreview']._serialized_options = b'\222A\241\001\022\024EvaluateRulesPreview\032\210\001Perform a dry run evaluation for existing rules or rule configurations against a run and return the annotations that would be generated.\202\323\344\223\002)\"$/api/v1/rules/evaluate-rules:preview:\001*'
|
|
67
|
+
_globals['_EVALUATERULESREQUEST']._serialized_start=293
|
|
68
|
+
_globals['_EVALUATERULESREQUEST']._serialized_end=952
|
|
69
|
+
_globals['_ASSETSTIMERANGE']._serialized_start=955
|
|
70
|
+
_globals['_ASSETSTIMERANGE']._serialized_end=1162
|
|
71
|
+
_globals['_EVALUATERULESFROMCURRENTRULEVERSIONS']._serialized_start=1164
|
|
72
|
+
_globals['_EVALUATERULESFROMCURRENTRULEVERSIONS']._serialized_end=1271
|
|
73
|
+
_globals['_EVALUATERULESFROMREPORTTEMPLATE']._serialized_start=1273
|
|
74
|
+
_globals['_EVALUATERULESFROMREPORTTEMPLATE']._serialized_end=1393
|
|
75
|
+
_globals['_EVALUATERULESFROMRULEVERSIONS']._serialized_start=1395
|
|
76
|
+
_globals['_EVALUATERULESFROMRULEVERSIONS']._serialized_end=1473
|
|
77
|
+
_globals['_EVALUATERULESANNOTATIONOPTIONS']._serialized_start=1475
|
|
78
|
+
_globals['_EVALUATERULESANNOTATIONOPTIONS']._serialized_end=1569
|
|
79
|
+
_globals['_EVALUATERULESRESPONSE']._serialized_start=1572
|
|
80
|
+
_globals['_EVALUATERULESRESPONSE']._serialized_end=1755
|
|
81
|
+
_globals['_EVALUATERULESPREVIEWREQUEST']._serialized_start=1758
|
|
82
|
+
_globals['_EVALUATERULESPREVIEWREQUEST']._serialized_end=2285
|
|
83
|
+
_globals['_EVALUATERULESFROMRULECONFIGS']._serialized_start=2287
|
|
84
|
+
_globals['_EVALUATERULESFROMRULECONFIGS']._serialized_end=2382
|
|
85
|
+
_globals['_EVALUATERULESPREVIEWRESPONSE']._serialized_start=2385
|
|
86
|
+
_globals['_EVALUATERULESPREVIEWRESPONSE']._serialized_end=2559
|
|
87
|
+
_globals['_RULEEVALUATIONSERVICE']._serialized_start=2562
|
|
88
|
+
_globals['_RULEEVALUATIONSERVICE']._serialized_end=3418
|
|
89
|
+
# @@protoc_insertion_point(module_scope)
|