google-cloud-chronicle-v1 1.3.0 → 1.4.0

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.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/chronicle/v1/entity_pb.rb +6 -1
  3. data/lib/google/cloud/chronicle/v1/event_pb.rb +24 -0
  4. data/lib/google/cloud/chronicle/v1/rest.rb +1 -0
  5. data/lib/google/cloud/chronicle/v1/search_pb.rb +64 -0
  6. data/lib/google/cloud/chronicle/v1/search_service/client.rb +643 -0
  7. data/lib/google/cloud/chronicle/v1/search_service/credentials.rb +49 -0
  8. data/lib/google/cloud/chronicle/v1/search_service/operations.rb +843 -0
  9. data/lib/google/cloud/chronicle/v1/search_service/paths.rb +94 -0
  10. data/lib/google/cloud/chronicle/v1/search_service/rest/client.rb +586 -0
  11. data/lib/google/cloud/chronicle/v1/search_service/rest/operations.rb +927 -0
  12. data/lib/google/cloud/chronicle/v1/search_service/rest/service_stub.rb +204 -0
  13. data/lib/google/cloud/chronicle/v1/search_service/rest.rb +53 -0
  14. data/lib/google/cloud/chronicle/v1/search_service.rb +56 -0
  15. data/lib/google/cloud/chronicle/v1/search_services_pb.rb +47 -0
  16. data/lib/google/cloud/chronicle/v1/simulated_data_pb.rb +21 -0
  17. data/lib/google/cloud/chronicle/v1/version.rb +1 -1
  18. data/lib/google/cloud/chronicle/v1.rb +1 -0
  19. data/proto_docs/backstory/collection.rb +371 -0
  20. data/proto_docs/backstory/data_access.rb +59 -0
  21. data/proto_docs/backstory/entity.rb +639 -0
  22. data/proto_docs/backstory/entity_risk.rb +98 -0
  23. data/proto_docs/backstory/id.rb +73 -0
  24. data/proto_docs/backstory/udm.rb +7008 -0
  25. data/proto_docs/google/cloud/chronicle/v1/entity.rb +38 -0
  26. data/proto_docs/google/cloud/chronicle/v1/event.rb +42 -0
  27. data/proto_docs/google/cloud/chronicle/v1/search.rb +593 -0
  28. data/proto_docs/google/cloud/chronicle/v1/simulated_data.rb +40 -0
  29. data/proto_docs/google/protobuf/struct.rb +108 -0
  30. data/proto_docs/google/type/latlng.rb +38 -0
  31. metadata +45 -1
@@ -0,0 +1,98 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Backstory
22
+ # Stores information related to the risk score of an entity.
23
+ # @!attribute [rw] risk_version
24
+ # @return [::String]
25
+ # Version of the risk score calculation algorithm.
26
+ # @!attribute [rw] risk_window
27
+ # @return [::Google::Type::Interval]
28
+ # Time window used when computing the risk score for an entity, for
29
+ # example 24 hours or 7 days.
30
+ # @!attribute [rw] DEPRECATED_risk_score
31
+ # @deprecated This field is deprecated and may be removed in the next major version update.
32
+ # @return [::Integer]
33
+ # Deprecated risk score.
34
+ # @!attribute [rw] risk_delta
35
+ # @return [::Google::Backstory::RiskDelta]
36
+ # Represents the change in risk score for an entity between the end of the
37
+ # previous time window and the end of the current time window.
38
+ # @!attribute [rw] detections_count
39
+ # @return [::Integer]
40
+ # Number of detections that make up the risk score within the time window.
41
+ # @!attribute [rw] first_detection_time
42
+ # @return [::Google::Protobuf::Timestamp]
43
+ # Timestamp of the first detection within the specified time window.
44
+ # This field is empty when there are no detections.
45
+ # @!attribute [rw] last_detection_time
46
+ # @return [::Google::Protobuf::Timestamp]
47
+ # Timestamp of the last detection within the specified time window.
48
+ # This field is empty when there are no detections.
49
+ # @!attribute [rw] risk_score
50
+ # @return [::Float]
51
+ # Raw risk score for the entity.
52
+ # @!attribute [rw] normalized_risk_score
53
+ # @return [::Integer]
54
+ # Normalized risk score for the entity. This value is between 0-1000.
55
+ # @!attribute [rw] risk_window_size
56
+ # @return [::Google::Protobuf::Duration]
57
+ # Risk window duration for the entity.
58
+ # @!attribute [rw] raw_risk_delta
59
+ # @return [::Google::Backstory::RiskDelta]
60
+ # Represents the change in raw risk score for an entity between the end of
61
+ # the previous time window and the end of the current time window.
62
+ # @!attribute [rw] last_reset_time
63
+ # @return [::Google::Protobuf::Timestamp]
64
+ # Timestamp for UEBA risk score reset based deduplication. Used specifically
65
+ # for risk based meta rules.
66
+ # @!attribute [rw] detail_uri
67
+ # @return [::String]
68
+ # Link to the Google Security Operations UI with information about the entity
69
+ # risk score.
70
+ # If the SecOps instance has multiple frontend paths configured, this will be
71
+ # a relative path that can be used to construct the full URL.
72
+ # @!attribute [rw] risk_window_has_new_detections
73
+ # @return [::Boolean]
74
+ # Whether there are new detections for the risk window.
75
+ class EntityRisk
76
+ include ::Google::Protobuf::MessageExts
77
+ extend ::Google::Protobuf::MessageExts::ClassMethods
78
+ end
79
+
80
+ # Describes the difference in risk score between two points in time.
81
+ # @!attribute [rw] previous_range_end_time
82
+ # @return [::Google::Protobuf::Timestamp]
83
+ # End time of the previous time window.
84
+ # @!attribute [rw] risk_score_delta
85
+ # @return [::Integer]
86
+ # Difference in the normalized risk score from the previous recorded value.
87
+ # @!attribute [rw] previous_risk_score
88
+ # @return [::Integer]
89
+ # Risk score from previous risk window
90
+ # @!attribute [rw] risk_score_numeric_delta
91
+ # @return [::Integer]
92
+ # Numeric change between current and previous risk score
93
+ class RiskDelta
94
+ include ::Google::Protobuf::MessageExts
95
+ extend ::Google::Protobuf::MessageExts::ClassMethods
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,73 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2026 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Backstory
22
+ # Identifier to identify a UDM object like a UDM event, Entity, Collection.
23
+ # The full identifier for persistence is created by setting the 32 most
24
+ # significant bits as the Id.Namespace enum This is a convenience wrapper to
25
+ # define the id space enum values and provide an easy interface for RPCs, most
26
+ # persistence use cases should use a denormalized form.
27
+ # @!attribute [rw] namespace
28
+ # @return [::Google::Backstory::Id::Namespace]
29
+ # Namespace the id belongs to.
30
+ # @!attribute [rw] id
31
+ # @return [::String]
32
+ # Full raw ID.
33
+ # @!attribute [rw] string_id
34
+ # @return [::String]
35
+ # Some ids are stored as strings that are not able to be translated to bytes,
36
+ # so store these separately.
37
+ # Ex. detection id of the form de_aaaaaaaa-aaaa...
38
+ class Id
39
+ include ::Google::Protobuf::MessageExts
40
+ extend ::Google::Protobuf::MessageExts::ClassMethods
41
+
42
+ # Extracted Namespace Component
43
+ module Namespace
44
+ # Ingested and Normalized telemetry events
45
+ NORMALIZED_TELEMETRY = 0
46
+
47
+ # Ingested Raw telemetry
48
+ RAW_TELEMETRY = 1
49
+
50
+ # Chronicle Rules engine
51
+ RULE_DETECTIONS = 2
52
+
53
+ # Uppercase
54
+ UPPERCASE = 3
55
+
56
+ # DSML - Machine Intelligence
57
+ MACHINE_INTELLIGENCE = 4
58
+
59
+ # A normalized telemetry event from Google Security Command Center.
60
+ SECURITY_COMMAND_CENTER = 5
61
+
62
+ # Unspecified Namespace
63
+ UNSPECIFIED = 6
64
+
65
+ # An alert coming from other SIEMs via Chronicle SOAR.
66
+ SOAR_ALERT = 7
67
+
68
+ # VirusTotal.
69
+ VIRUS_TOTAL = 8
70
+ end
71
+ end
72
+ end
73
+ end