google-apis-securitycenter_v1beta2 0.22.0 → 0.25.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: 77e2e6ed6d00ae977de5f492c7df0ce616714be8d814a50a9f8d84637a0b945a
4
- data.tar.gz: '0846f43b7cc25a4b47236e6c6f602f012c95f68fbe899ea21ba2e7f7e682ecd3'
3
+ metadata.gz: 3c01a9e8d7498f524ac8d3bf8ec6f7b47308a5f9d5dcc9f48a9f71401689b030
4
+ data.tar.gz: 2354d0abf11ceb08848768434ae235b0f564d93e8ca07208ae4db8a57e8622e5
5
5
  SHA512:
6
- metadata.gz: 68d3fe432223921319f437728f608854484e285243b0213203fc53ee9995f4155162ee0cb3711ba2788adf065284837b461b3897682d79ae481d2e539d28eb79
7
- data.tar.gz: 497636ea7d63117fa96d8d81eb1fc1b5512c89e2a3841dda42b4e1f92b930d57a51c9e9141f64d4645a059ff275565158dac27d04195fca232c5ee144d884766
6
+ metadata.gz: 639a7e016eebe9ceb24b5a5d56377acbf92cb035f2174e59a32564a156a0ecb38077a12b6d63cfe37420feef21c265a2d8a582c45f880ca81d5f2e01d9a6af6f
7
+ data.tar.gz: 5864abf3bd2cae94e56c8372092f2dde42b3068e0f1cf4b1261084254a477b6dcf0a5fb2a09dc235680a99c02ee841f114260cd855a7ad2a47810e0532e54e96
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.25.0 (2022-06-07)
4
+
5
+ * Regenerated from discovery document revision 20220602
6
+ * Regenerated using generator version 0.5.0
7
+ * Unspecified changes
8
+
9
+ ### v0.24.0 (2022-05-25)
10
+
11
+ * Regenerated from discovery document revision 20220520
12
+
13
+ ### v0.23.0 (2022-05-17)
14
+
15
+ * Regenerated from discovery document revision 20220516
16
+
3
17
  ### v0.22.0 (2022-05-10)
4
18
 
5
19
  * Regenerated from discovery document revision 20220506
@@ -73,6 +73,39 @@ module Google
73
73
  end
74
74
  end
75
75
 
76
+ # Contains compliance information about a security standard indicating unmet
77
+ # recommendations.
78
+ class Compliance
79
+ include Google::Apis::Core::Hashable
80
+
81
+ # Policies within the standard/benchmark e.g. A.12.4.1
82
+ # Corresponds to the JSON property `ids`
83
+ # @return [Array<String>]
84
+ attr_accessor :ids
85
+
86
+ # Refers to industry wide standards or benchmarks e.g. "cis", "pci", "owasp",
87
+ # etc.
88
+ # Corresponds to the JSON property `standard`
89
+ # @return [String]
90
+ attr_accessor :standard
91
+
92
+ # Version of the standard/benchmark e.g. 1.1
93
+ # Corresponds to the JSON property `version`
94
+ # @return [String]
95
+ attr_accessor :version
96
+
97
+ def initialize(**args)
98
+ update!(**args)
99
+ end
100
+
101
+ # Update properties of this object
102
+ def update!(**args)
103
+ @ids = args[:ids] if args.key?(:ids)
104
+ @standard = args[:standard] if args.key?(:standard)
105
+ @version = args[:version] if args.key?(:version)
106
+ end
107
+ end
108
+
76
109
  # Configuration of a module.
77
110
  class Config
78
111
  include Google::Apis::Core::Hashable
@@ -143,6 +176,44 @@ module Google
143
176
  end
144
177
  end
145
178
 
179
+ # Representa a single contact's email address
180
+ class Contact
181
+ include Google::Apis::Core::Hashable
182
+
183
+ # An email address e.g. "person123@company.com"
184
+ # Corresponds to the JSON property `email`
185
+ # @return [String]
186
+ attr_accessor :email
187
+
188
+ def initialize(**args)
189
+ update!(**args)
190
+ end
191
+
192
+ # Update properties of this object
193
+ def update!(**args)
194
+ @email = args[:email] if args.key?(:email)
195
+ end
196
+ end
197
+
198
+ # The details pertaining to specific contacts
199
+ class ContactDetails
200
+ include Google::Apis::Core::Hashable
201
+
202
+ # A list of contacts
203
+ # Corresponds to the JSON property `contacts`
204
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Contact>]
205
+ attr_accessor :contacts
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @contacts = args[:contacts] if args.key?(:contacts)
214
+ end
215
+ end
216
+
146
217
  # Resource capturing the settings for the Container Threat Detection service.
147
218
  class ContainerThreatDetectionSettings
148
219
  include Google::Apis::Core::Hashable
@@ -343,6 +414,32 @@ module Google
343
414
  end
344
415
  end
345
416
 
417
+ # EnvironmentVariable is a name-value pair to store environment variables for
418
+ # Process.
419
+ class EnvironmentVariable
420
+ include Google::Apis::Core::Hashable
421
+
422
+ # Environment variable name as a JSON encoded string.
423
+ # Corresponds to the JSON property `name`
424
+ # @return [String]
425
+ attr_accessor :name
426
+
427
+ # Environment variable value as a JSON encoded string.
428
+ # Corresponds to the JSON property `val`
429
+ # @return [String]
430
+ attr_accessor :val
431
+
432
+ def initialize(**args)
433
+ update!(**args)
434
+ end
435
+
436
+ # Update properties of this object
437
+ def update!(**args)
438
+ @name = args[:name] if args.key?(:name)
439
+ @val = args[:val] if args.key?(:val)
440
+ end
441
+ end
442
+
346
443
  # Resource capturing the settings for the Event Threat Detection service.
347
444
  class EventThreatDetectionSettings
348
445
  include Google::Apis::Core::Hashable
@@ -385,6 +482,118 @@ module Google
385
482
  end
386
483
  end
387
484
 
485
+ # Resource that has been exfiltrated or exfiltrated_to.
486
+ class ExfilResource
487
+ include Google::Apis::Core::Hashable
488
+
489
+ # Subcomponents of the asset that is exfiltrated - these could be URIs used
490
+ # during exfiltration, table names, databases, filenames, etc. For example,
491
+ # multiple tables may be exfiltrated from the same CloudSQL instance, or
492
+ # multiple files from the same Cloud Storage bucket.
493
+ # Corresponds to the JSON property `components`
494
+ # @return [Array<String>]
495
+ attr_accessor :components
496
+
497
+ # Resource's URI (https://google.aip.dev/122#full-resource-names)
498
+ # Corresponds to the JSON property `name`
499
+ # @return [String]
500
+ attr_accessor :name
501
+
502
+ def initialize(**args)
503
+ update!(**args)
504
+ end
505
+
506
+ # Update properties of this object
507
+ def update!(**args)
508
+ @components = args[:components] if args.key?(:components)
509
+ @name = args[:name] if args.key?(:name)
510
+ end
511
+ end
512
+
513
+ # Exfiltration represents a data exfiltration attempt of one or more sources to
514
+ # one or more targets. Sources represent the source of data that is exfiltrated,
515
+ # and Targets represents the destination the data was copied to.
516
+ class Exfiltration
517
+ include Google::Apis::Core::Hashable
518
+
519
+ # If there are multiple sources, then the data is considered "joined" between
520
+ # them. For instance, BigQuery can join multiple tables, and each table would be
521
+ # considered a source.
522
+ # Corresponds to the JSON property `sources`
523
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::ExfilResource>]
524
+ attr_accessor :sources
525
+
526
+ # If there are multiple targets, each target would get a complete copy of the "
527
+ # joined" source data.
528
+ # Corresponds to the JSON property `targets`
529
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::ExfilResource>]
530
+ attr_accessor :targets
531
+
532
+ def initialize(**args)
533
+ update!(**args)
534
+ end
535
+
536
+ # Update properties of this object
537
+ def update!(**args)
538
+ @sources = args[:sources] if args.key?(:sources)
539
+ @targets = args[:targets] if args.key?(:targets)
540
+ end
541
+ end
542
+
543
+ # File information about the related binary/library used by an executable, or
544
+ # the script used by a script interpreter
545
+ class File
546
+ include Google::Apis::Core::Hashable
547
+
548
+ # Prefix of the file contents as a JSON encoded string. (Currently only
549
+ # populated for Malicious Script Executed findings.)
550
+ # Corresponds to the JSON property `contents`
551
+ # @return [String]
552
+ attr_accessor :contents
553
+
554
+ # The length in bytes of the file prefix that was hashed. If hashed_size == size,
555
+ # any hashes reported represent the entire file.
556
+ # Corresponds to the JSON property `hashedSize`
557
+ # @return [Fixnum]
558
+ attr_accessor :hashed_size
559
+
560
+ # True when the hash covers only a prefix of the file.
561
+ # Corresponds to the JSON property `partiallyHashed`
562
+ # @return [Boolean]
563
+ attr_accessor :partially_hashed
564
+ alias_method :partially_hashed?, :partially_hashed
565
+
566
+ # Absolute path of the file as a JSON encoded string.
567
+ # Corresponds to the JSON property `path`
568
+ # @return [String]
569
+ attr_accessor :path
570
+
571
+ # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string.
572
+ # If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
573
+ # Corresponds to the JSON property `sha256`
574
+ # @return [String]
575
+ attr_accessor :sha256
576
+
577
+ # Size of the file in bytes.
578
+ # Corresponds to the JSON property `size`
579
+ # @return [Fixnum]
580
+ attr_accessor :size
581
+
582
+ def initialize(**args)
583
+ update!(**args)
584
+ end
585
+
586
+ # Update properties of this object
587
+ def update!(**args)
588
+ @contents = args[:contents] if args.key?(:contents)
589
+ @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
590
+ @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
591
+ @path = args[:path] if args.key?(:path)
592
+ @sha256 = args[:sha256] if args.key?(:sha256)
593
+ @size = args[:size] if args.key?(:size)
594
+ end
595
+ end
596
+
388
597
  # Security Command Center finding. A finding is a record of assessment data like
389
598
  # security, risk, health, or privacy, that is ingested into Security Command
390
599
  # Center for presentation, notification, analysis, policy testing, and
@@ -413,11 +622,27 @@ module Google
413
622
  # @return [String]
414
623
  attr_accessor :category
415
624
 
625
+ # Contains compliance information for security standards associated to the
626
+ # finding.
627
+ # Corresponds to the JSON property `compliances`
628
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Compliance>]
629
+ attr_accessor :compliances
630
+
416
631
  # Contains information about the IP connection associated with the finding.
417
632
  # Corresponds to the JSON property `connections`
418
633
  # @return [Array<Google::Apis::SecuritycenterV1beta2::Connection>]
419
634
  attr_accessor :connections
420
635
 
636
+ # Output only. Map containing the point of contacts for the given finding. The
637
+ # key represents the type of contact, while the value contains a list of all the
638
+ # contacts that pertain. Please refer to: https://cloud.google.com/resource-
639
+ # manager/docs/managing-notification-contacts#notification-categories ` “
640
+ # security”: `contact: `email: “person1@company.com”` contact: `email: “person2@
641
+ # company.com”` `
642
+ # Corresponds to the JSON property `contacts`
643
+ # @return [Hash<String,Google::Apis::SecuritycenterV1beta2::ContactDetails>]
644
+ attr_accessor :contacts
645
+
421
646
  # The time at which the finding was created in Security Command Center.
422
647
  # Corresponds to the JSON property `createTime`
423
648
  # @return [String]
@@ -438,6 +663,13 @@ module Google
438
663
  # @return [String]
439
664
  attr_accessor :event_time
440
665
 
666
+ # Exfiltration represents a data exfiltration attempt of one or more sources to
667
+ # one or more targets. Sources represent the source of data that is exfiltrated,
668
+ # and Targets represents the destination the data was copied to.
669
+ # Corresponds to the JSON property `exfiltration`
670
+ # @return [Google::Apis::SecuritycenterV1beta2::Exfiltration]
671
+ attr_accessor :exfiltration
672
+
441
673
  # Output only. Third party SIEM/SOAR fields within SCC, contains external system
442
674
  # information and external system finding fields.
443
675
  # Corresponds to the JSON property `externalSystems`
@@ -515,6 +747,11 @@ module Google
515
747
  # @return [String]
516
748
  attr_accessor :parent
517
749
 
750
+ # Represents operating system processes associated with the Finding.
751
+ # Corresponds to the JSON property `processes`
752
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Process>]
753
+ attr_accessor :processes
754
+
518
755
  # For findings on Google Cloud resources, the full resource name of the Google
519
756
  # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
520
757
  # resource_names#full_resource_name When the finding is for a non-Google Cloud
@@ -565,10 +802,13 @@ module Google
565
802
  @access = args[:access] if args.key?(:access)
566
803
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
567
804
  @category = args[:category] if args.key?(:category)
805
+ @compliances = args[:compliances] if args.key?(:compliances)
568
806
  @connections = args[:connections] if args.key?(:connections)
807
+ @contacts = args[:contacts] if args.key?(:contacts)
569
808
  @create_time = args[:create_time] if args.key?(:create_time)
570
809
  @description = args[:description] if args.key?(:description)
571
810
  @event_time = args[:event_time] if args.key?(:event_time)
811
+ @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
572
812
  @external_systems = args[:external_systems] if args.key?(:external_systems)
573
813
  @external_uri = args[:external_uri] if args.key?(:external_uri)
574
814
  @finding_class = args[:finding_class] if args.key?(:finding_class)
@@ -581,6 +821,7 @@ module Google
581
821
  @name = args[:name] if args.key?(:name)
582
822
  @next_steps = args[:next_steps] if args.key?(:next_steps)
583
823
  @parent = args[:parent] if args.key?(:parent)
824
+ @processes = args[:processes] if args.key?(:processes)
584
825
  @resource_name = args[:resource_name] if args.key?(:resource_name)
585
826
  @security_marks = args[:security_marks] if args.key?(:security_marks)
586
827
  @severity = args[:severity] if args.key?(:severity)
@@ -1440,6 +1681,77 @@ module Google
1440
1681
  end
1441
1682
  end
1442
1683
 
1684
+ # Represents an operating system process.
1685
+ class Process
1686
+ include Google::Apis::Core::Hashable
1687
+
1688
+ # Process arguments as JSON encoded strings.
1689
+ # Corresponds to the JSON property `args`
1690
+ # @return [Array<String>]
1691
+ attr_accessor :args
1692
+
1693
+ # True if `args` is incomplete.
1694
+ # Corresponds to the JSON property `argumentsTruncated`
1695
+ # @return [Boolean]
1696
+ attr_accessor :arguments_truncated
1697
+ alias_method :arguments_truncated?, :arguments_truncated
1698
+
1699
+ # File information about the related binary/library used by an executable, or
1700
+ # the script used by a script interpreter
1701
+ # Corresponds to the JSON property `binary`
1702
+ # @return [Google::Apis::SecuritycenterV1beta2::File]
1703
+ attr_accessor :binary
1704
+
1705
+ # Process environment variables.
1706
+ # Corresponds to the JSON property `envVariables`
1707
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::EnvironmentVariable>]
1708
+ attr_accessor :env_variables
1709
+
1710
+ # True if `env_variables` is incomplete.
1711
+ # Corresponds to the JSON property `envVariablesTruncated`
1712
+ # @return [Boolean]
1713
+ attr_accessor :env_variables_truncated
1714
+ alias_method :env_variables_truncated?, :env_variables_truncated
1715
+
1716
+ # File information for libraries loaded by the process.
1717
+ # Corresponds to the JSON property `libraries`
1718
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::File>]
1719
+ attr_accessor :libraries
1720
+
1721
+ # The parent process id.
1722
+ # Corresponds to the JSON property `parentPid`
1723
+ # @return [Fixnum]
1724
+ attr_accessor :parent_pid
1725
+
1726
+ # The process id.
1727
+ # Corresponds to the JSON property `pid`
1728
+ # @return [Fixnum]
1729
+ attr_accessor :pid
1730
+
1731
+ # File information about the related binary/library used by an executable, or
1732
+ # the script used by a script interpreter
1733
+ # Corresponds to the JSON property `script`
1734
+ # @return [Google::Apis::SecuritycenterV1beta2::File]
1735
+ attr_accessor :script
1736
+
1737
+ def initialize(**args)
1738
+ update!(**args)
1739
+ end
1740
+
1741
+ # Update properties of this object
1742
+ def update!(**args)
1743
+ @args = args[:args] if args.key?(:args)
1744
+ @arguments_truncated = args[:arguments_truncated] if args.key?(:arguments_truncated)
1745
+ @binary = args[:binary] if args.key?(:binary)
1746
+ @env_variables = args[:env_variables] if args.key?(:env_variables)
1747
+ @env_variables_truncated = args[:env_variables_truncated] if args.key?(:env_variables_truncated)
1748
+ @libraries = args[:libraries] if args.key?(:libraries)
1749
+ @parent_pid = args[:parent_pid] if args.key?(:parent_pid)
1750
+ @pid = args[:pid] if args.key?(:pid)
1751
+ @script = args[:script] if args.key?(:script)
1752
+ end
1753
+ end
1754
+
1443
1755
  # Additional Links
1444
1756
  class Reference
1445
1757
  include Google::Apis::Core::Hashable
@@ -1486,6 +1798,11 @@ module Google
1486
1798
  # @return [String]
1487
1799
  attr_accessor :name
1488
1800
 
1801
+ # Timestamp of when the customer organization was onboarded to SCC.
1802
+ # Corresponds to the JSON property `onboardingTime`
1803
+ # @return [String]
1804
+ attr_accessor :onboarding_time
1805
+
1489
1806
  # The organization level service account to be used for security center
1490
1807
  # components.
1491
1808
  # Corresponds to the JSON property `orgServiceAccount`
@@ -1500,6 +1817,7 @@ module Google
1500
1817
  def update!(**args)
1501
1818
  @log_sink_project = args[:log_sink_project] if args.key?(:log_sink_project)
1502
1819
  @name = args[:name] if args.key?(:name)
1820
+ @onboarding_time = args[:onboarding_time] if args.key?(:onboarding_time)
1503
1821
  @org_service_account = args[:org_service_account] if args.key?(:org_service_account)
1504
1822
  end
1505
1823
  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.22.0"
19
+ GEM_VERSION = "0.25.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.1"
22
+ GENERATOR_VERSION = "0.5.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220506"
25
+ REVISION = "20220602"
26
26
  end
27
27
  end
28
28
  end
@@ -28,6 +28,12 @@ module Google
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
+ class Compliance
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
31
37
  class Config
32
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
39
 
@@ -40,6 +46,18 @@ module Google
40
46
  include Google::Apis::Core::JsonObjectSupport
41
47
  end
42
48
 
49
+ class Contact
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class ContactDetails
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
43
61
  class ContainerThreatDetectionSettings
44
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
63
 
@@ -64,12 +82,36 @@ module Google
64
82
  include Google::Apis::Core::JsonObjectSupport
65
83
  end
66
84
 
85
+ class EnvironmentVariable
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
67
91
  class EventThreatDetectionSettings
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
70
94
  include Google::Apis::Core::JsonObjectSupport
71
95
  end
72
96
 
97
+ class ExfilResource
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class Exfiltration
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class File
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
73
115
  class Finding
74
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
117
 
@@ -196,6 +238,12 @@ module Google
196
238
  include Google::Apis::Core::JsonObjectSupport
197
239
  end
198
240
 
241
+ class Process
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
199
247
  class Reference
200
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
249
 
@@ -257,6 +305,15 @@ module Google
257
305
  end
258
306
  end
259
307
 
308
+ class Compliance
309
+ # @private
310
+ class Representation < Google::Apis::Core::JsonRepresentation
311
+ collection :ids, as: 'ids'
312
+ property :standard, as: 'standard'
313
+ property :version, as: 'version'
314
+ end
315
+ end
316
+
260
317
  class Config
261
318
  # @private
262
319
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -276,6 +333,21 @@ module Google
276
333
  end
277
334
  end
278
335
 
336
+ class Contact
337
+ # @private
338
+ class Representation < Google::Apis::Core::JsonRepresentation
339
+ property :email, as: 'email'
340
+ end
341
+ end
342
+
343
+ class ContactDetails
344
+ # @private
345
+ class Representation < Google::Apis::Core::JsonRepresentation
346
+ collection :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::Contact, decorator: Google::Apis::SecuritycenterV1beta2::Contact::Representation
347
+
348
+ end
349
+ end
350
+
279
351
  class ContainerThreatDetectionSettings
280
352
  # @private
281
353
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -324,6 +396,14 @@ module Google
324
396
  end
325
397
  end
326
398
 
399
+ class EnvironmentVariable
400
+ # @private
401
+ class Representation < Google::Apis::Core::JsonRepresentation
402
+ property :name, as: 'name'
403
+ property :val, as: 'val'
404
+ end
405
+ end
406
+
327
407
  class EventThreatDetectionSettings
328
408
  # @private
329
409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -335,6 +415,36 @@ module Google
335
415
  end
336
416
  end
337
417
 
418
+ class ExfilResource
419
+ # @private
420
+ class Representation < Google::Apis::Core::JsonRepresentation
421
+ collection :components, as: 'components'
422
+ property :name, as: 'name'
423
+ end
424
+ end
425
+
426
+ class Exfiltration
427
+ # @private
428
+ class Representation < Google::Apis::Core::JsonRepresentation
429
+ collection :sources, as: 'sources', class: Google::Apis::SecuritycenterV1beta2::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::ExfilResource::Representation
430
+
431
+ collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1beta2::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::ExfilResource::Representation
432
+
433
+ end
434
+ end
435
+
436
+ class File
437
+ # @private
438
+ class Representation < Google::Apis::Core::JsonRepresentation
439
+ property :contents, as: 'contents'
440
+ property :hashed_size, :numeric_string => true, as: 'hashedSize'
441
+ property :partially_hashed, as: 'partiallyHashed'
442
+ property :path, as: 'path'
443
+ property :sha256, as: 'sha256'
444
+ property :size, :numeric_string => true, as: 'size'
445
+ end
446
+ end
447
+
338
448
  class Finding
339
449
  # @private
340
450
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -342,11 +452,17 @@ module Google
342
452
 
343
453
  property :canonical_name, as: 'canonicalName'
344
454
  property :category, as: 'category'
455
+ collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1beta2::Compliance, decorator: Google::Apis::SecuritycenterV1beta2::Compliance::Representation
456
+
345
457
  collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta2::Connection, decorator: Google::Apis::SecuritycenterV1beta2::Connection::Representation
346
458
 
459
+ hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::ContactDetails, decorator: Google::Apis::SecuritycenterV1beta2::ContactDetails::Representation
460
+
347
461
  property :create_time, as: 'createTime'
348
462
  property :description, as: 'description'
349
463
  property :event_time, as: 'eventTime'
464
+ property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::Exfiltration::Representation
465
+
350
466
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem::Representation
351
467
 
352
468
  property :external_uri, as: 'externalUri'
@@ -363,6 +479,8 @@ module Google
363
479
  property :name, as: 'name'
364
480
  property :next_steps, as: 'nextSteps'
365
481
  property :parent, as: 'parent'
482
+ collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
483
+
366
484
  property :resource_name, as: 'resourceName'
367
485
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
368
486
 
@@ -579,6 +697,25 @@ module Google
579
697
  end
580
698
  end
581
699
 
700
+ class Process
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ collection :args, as: 'args'
704
+ property :arguments_truncated, as: 'argumentsTruncated'
705
+ property :binary, as: 'binary', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
706
+
707
+ collection :env_variables, as: 'envVariables', class: Google::Apis::SecuritycenterV1beta2::EnvironmentVariable, decorator: Google::Apis::SecuritycenterV1beta2::EnvironmentVariable::Representation
708
+
709
+ property :env_variables_truncated, as: 'envVariablesTruncated'
710
+ collection :libraries, as: 'libraries', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
711
+
712
+ property :parent_pid, :numeric_string => true, as: 'parentPid'
713
+ property :pid, :numeric_string => true, as: 'pid'
714
+ property :script, as: 'script', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
715
+
716
+ end
717
+ end
718
+
582
719
  class Reference
583
720
  # @private
584
721
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -592,6 +729,7 @@ module Google
592
729
  class Representation < Google::Apis::Core::JsonRepresentation
593
730
  property :log_sink_project, as: 'logSinkProject'
594
731
  property :name, as: 'name'
732
+ property :onboarding_time, as: 'onboardingTime'
595
733
  property :org_service_account, as: 'orgServiceAccount'
596
734
  end
597
735
  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.22.0
4
+ version: 0.25.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-05-16 00:00:00.000000000 Z
11
+ date: 2022-06-13 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.4'
19
+ version: '0.5'
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.4'
29
+ version: '0.5'
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.22.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.25.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.5
78
+ rubygems_version: 3.3.14
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Security Command Center API V1beta2