google-apis-securitycenter_v1beta2 0.25.0 → 0.26.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c01a9e8d7498f524ac8d3bf8ec6f7b47308a5f9d5dcc9f48a9f71401689b030
4
- data.tar.gz: 2354d0abf11ceb08848768434ae235b0f564d93e8ca07208ae4db8a57e8622e5
3
+ metadata.gz: df58de0dab855adc920079444a0b66452574b044496b45cdfd8166a6a3718f99
4
+ data.tar.gz: 21d114f1da69469df3e10a6baed83e735038b87495da8b43a35ad9749e0ce46b
5
5
  SHA512:
6
- metadata.gz: 639a7e016eebe9ceb24b5a5d56377acbf92cb035f2174e59a32564a156a0ecb38077a12b6d63cfe37420feef21c265a2d8a582c45f880ca81d5f2e01d9a6af6f
7
- data.tar.gz: 5864abf3bd2cae94e56c8372092f2dde42b3068e0f1cf4b1261084254a477b6dcf0a5fb2a09dc235680a99c02ee841f114260cd855a7ad2a47810e0532e54e96
6
+ metadata.gz: 310e2420d1555d6e958edcbbc75839b383303e7f25c671719f40d42d43bfebe24894480ba3aeae64ab56274d5b335b2979064b6c55dc7c1ae55deed298d754b2
7
+ data.tar.gz: 9df0d6da61e3de63852be8357929e3f40d3db122dd7e879a1574d1faa067f4844d552879cb074d9af9ee23b9776f3aa938a4b3342787bc2c5db6f3886c6bc45b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.26.0 (2022-06-19)
4
+
5
+ * Regenerated using generator version 0.7.0
6
+ * Regenerated from discovery document revision 20220609
7
+
3
8
  ### v0.25.0 (2022-06-07)
4
9
 
5
10
  * Regenerated from discovery document revision 20220602
@@ -414,6 +414,31 @@ module Google
414
414
  end
415
415
  end
416
416
 
417
+ # Memory hash detection contributing to the binary family match.
418
+ class Detection
419
+ include Google::Apis::Core::Hashable
420
+
421
+ # The name of the binary associated with the memory hash signature detection.
422
+ # Corresponds to the JSON property `binary`
423
+ # @return [String]
424
+ attr_accessor :binary
425
+
426
+ # The percentage of memory page hashes in the signature that were matched.
427
+ # Corresponds to the JSON property `percentPagesMatched`
428
+ # @return [Float]
429
+ attr_accessor :percent_pages_matched
430
+
431
+ def initialize(**args)
432
+ update!(**args)
433
+ end
434
+
435
+ # Update properties of this object
436
+ def update!(**args)
437
+ @binary = args[:binary] if args.key?(:binary)
438
+ @percent_pages_matched = args[:percent_pages_matched] if args.key?(:percent_pages_matched)
439
+ end
440
+ end
441
+
417
442
  # EnvironmentVariable is a name-value pair to store environment variables for
418
443
  # Process.
419
444
  class EnvironmentVariable
@@ -1592,6 +1617,12 @@ module Google
1592
1617
  # @return [Array<String>]
1593
1618
  attr_accessor :ip_addresses
1594
1619
 
1620
+ # The list of matched signatures indicating that the given process is present in
1621
+ # the environment.
1622
+ # Corresponds to the JSON property `signatures`
1623
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::ProcessSignature>]
1624
+ attr_accessor :signatures
1625
+
1595
1626
  def initialize(**args)
1596
1627
  update!(**args)
1597
1628
  end
@@ -1600,6 +1631,32 @@ module Google
1600
1631
  def update!(**args)
1601
1632
  @domains = args[:domains] if args.key?(:domains)
1602
1633
  @ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
1634
+ @signatures = args[:signatures] if args.key?(:signatures)
1635
+ end
1636
+ end
1637
+
1638
+ # A signature corresponding to memory page hashes.
1639
+ class MemoryHashSignature
1640
+ include Google::Apis::Core::Hashable
1641
+
1642
+ # The binary family.
1643
+ # Corresponds to the JSON property `binaryFamily`
1644
+ # @return [String]
1645
+ attr_accessor :binary_family
1646
+
1647
+ # The list of memory hash detections contributing to the binary family match.
1648
+ # Corresponds to the JSON property `detections`
1649
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Detection>]
1650
+ attr_accessor :detections
1651
+
1652
+ def initialize(**args)
1653
+ update!(**args)
1654
+ end
1655
+
1656
+ # Update properties of this object
1657
+ def update!(**args)
1658
+ @binary_family = args[:binary_family] if args.key?(:binary_family)
1659
+ @detections = args[:detections] if args.key?(:detections)
1603
1660
  end
1604
1661
  end
1605
1662
 
@@ -1718,6 +1775,12 @@ module Google
1718
1775
  # @return [Array<Google::Apis::SecuritycenterV1beta2::File>]
1719
1776
  attr_accessor :libraries
1720
1777
 
1778
+ # The process name visible in utilities like top and ps; it can be accessed via /
1779
+ # proc/[pid]/comm and changed with prctl(PR_SET_NAME).
1780
+ # Corresponds to the JSON property `name`
1781
+ # @return [String]
1782
+ attr_accessor :name
1783
+
1721
1784
  # The parent process id.
1722
1785
  # Corresponds to the JSON property `parentPid`
1723
1786
  # @return [Fixnum]
@@ -1746,12 +1809,38 @@ module Google
1746
1809
  @env_variables = args[:env_variables] if args.key?(:env_variables)
1747
1810
  @env_variables_truncated = args[:env_variables_truncated] if args.key?(:env_variables_truncated)
1748
1811
  @libraries = args[:libraries] if args.key?(:libraries)
1812
+ @name = args[:name] if args.key?(:name)
1749
1813
  @parent_pid = args[:parent_pid] if args.key?(:parent_pid)
1750
1814
  @pid = args[:pid] if args.key?(:pid)
1751
1815
  @script = args[:script] if args.key?(:script)
1752
1816
  end
1753
1817
  end
1754
1818
 
1819
+ # Indicates what signature matched this process.
1820
+ class ProcessSignature
1821
+ include Google::Apis::Core::Hashable
1822
+
1823
+ # A signature corresponding to memory page hashes.
1824
+ # Corresponds to the JSON property `memoryHashSignature`
1825
+ # @return [Google::Apis::SecuritycenterV1beta2::MemoryHashSignature]
1826
+ attr_accessor :memory_hash_signature
1827
+
1828
+ # A signature corresponding to a YARA rule.
1829
+ # Corresponds to the JSON property `yaraRuleSignature`
1830
+ # @return [Google::Apis::SecuritycenterV1beta2::YaraRuleSignature]
1831
+ attr_accessor :yara_rule_signature
1832
+
1833
+ def initialize(**args)
1834
+ update!(**args)
1835
+ end
1836
+
1837
+ # Update properties of this object
1838
+ def update!(**args)
1839
+ @memory_hash_signature = args[:memory_hash_signature] if args.key?(:memory_hash_signature)
1840
+ @yara_rule_signature = args[:yara_rule_signature] if args.key?(:yara_rule_signature)
1841
+ end
1842
+ end
1843
+
1755
1844
  # Additional Links
1756
1845
  class Reference
1757
1846
  include Google::Apis::Core::Hashable
@@ -2062,6 +2151,25 @@ module Google
2062
2151
  @update_time = args[:update_time] if args.key?(:update_time)
2063
2152
  end
2064
2153
  end
2154
+
2155
+ # A signature corresponding to a YARA rule.
2156
+ class YaraRuleSignature
2157
+ include Google::Apis::Core::Hashable
2158
+
2159
+ # The name of the YARA rule.
2160
+ # Corresponds to the JSON property `yaraRule`
2161
+ # @return [String]
2162
+ attr_accessor :yara_rule
2163
+
2164
+ def initialize(**args)
2165
+ update!(**args)
2166
+ end
2167
+
2168
+ # Update properties of this object
2169
+ def update!(**args)
2170
+ @yara_rule = args[:yara_rule] if args.key?(:yara_rule)
2171
+ end
2172
+ end
2065
2173
  end
2066
2174
  end
2067
2175
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta2
18
18
  # Version of the google-apis-securitycenter_v1beta2 gem
19
- GEM_VERSION = "0.25.0"
19
+ GEM_VERSION = "0.26.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.5.0"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220602"
25
+ REVISION = "20220609"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class Detection
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class EnvironmentVariable
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -226,6 +232,12 @@ module Google
226
232
  include Google::Apis::Core::JsonObjectSupport
227
233
  end
228
234
 
235
+ class MemoryHashSignature
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
229
241
  class MitreAttack
230
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
243
 
@@ -244,6 +256,12 @@ module Google
244
256
  include Google::Apis::Core::JsonObjectSupport
245
257
  end
246
258
 
259
+ class ProcessSignature
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
247
265
  class Reference
248
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
267
 
@@ -292,6 +310,12 @@ module Google
292
310
  include Google::Apis::Core::JsonObjectSupport
293
311
  end
294
312
 
313
+ class YaraRuleSignature
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
295
319
  class Access
296
320
  # @private
297
321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -396,6 +420,14 @@ module Google
396
420
  end
397
421
  end
398
422
 
423
+ class Detection
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :binary, as: 'binary'
427
+ property :percent_pages_matched, as: 'percentPagesMatched'
428
+ end
429
+ end
430
+
399
431
  class EnvironmentVariable
400
432
  # @private
401
433
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -675,6 +707,17 @@ module Google
675
707
  class Representation < Google::Apis::Core::JsonRepresentation
676
708
  collection :domains, as: 'domains'
677
709
  collection :ip_addresses, as: 'ipAddresses'
710
+ collection :signatures, as: 'signatures', class: Google::Apis::SecuritycenterV1beta2::ProcessSignature, decorator: Google::Apis::SecuritycenterV1beta2::ProcessSignature::Representation
711
+
712
+ end
713
+ end
714
+
715
+ class MemoryHashSignature
716
+ # @private
717
+ class Representation < Google::Apis::Core::JsonRepresentation
718
+ property :binary_family, as: 'binaryFamily'
719
+ collection :detections, as: 'detections', class: Google::Apis::SecuritycenterV1beta2::Detection, decorator: Google::Apis::SecuritycenterV1beta2::Detection::Representation
720
+
678
721
  end
679
722
  end
680
723
 
@@ -709,6 +752,7 @@ module Google
709
752
  property :env_variables_truncated, as: 'envVariablesTruncated'
710
753
  collection :libraries, as: 'libraries', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
711
754
 
755
+ property :name, as: 'name'
712
756
  property :parent_pid, :numeric_string => true, as: 'parentPid'
713
757
  property :pid, :numeric_string => true, as: 'pid'
714
758
  property :script, as: 'script', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
@@ -716,6 +760,16 @@ module Google
716
760
  end
717
761
  end
718
762
 
763
+ class ProcessSignature
764
+ # @private
765
+ class Representation < Google::Apis::Core::JsonRepresentation
766
+ property :memory_hash_signature, as: 'memoryHashSignature', class: Google::Apis::SecuritycenterV1beta2::MemoryHashSignature, decorator: Google::Apis::SecuritycenterV1beta2::MemoryHashSignature::Representation
767
+
768
+ property :yara_rule_signature, as: 'yaraRuleSignature', class: Google::Apis::SecuritycenterV1beta2::YaraRuleSignature, decorator: Google::Apis::SecuritycenterV1beta2::YaraRuleSignature::Representation
769
+
770
+ end
771
+ end
772
+
719
773
  class Reference
720
774
  # @private
721
775
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -795,6 +849,13 @@ module Google
795
849
  property :update_time, as: 'updateTime'
796
850
  end
797
851
  end
852
+
853
+ class YaraRuleSignature
854
+ # @private
855
+ class Representation < Google::Apis::Core::JsonRepresentation
856
+ property :yara_rule, as: 'yaraRule'
857
+ end
858
+ end
798
859
  end
799
860
  end
800
861
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.25.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2022-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
19
+ version: '0.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.5'
29
+ version: '0.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.25.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.26.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []