google-apis-securitycenter_v1beta2 0.23.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: 92a6cd216cff33987e19d87f4dc041ea6481f8dfba2d8dd3f18254e5ed2fb818
4
- data.tar.gz: bd04dfef9eb2849908bf375f5fc3795e6e158581067346e994bf87e92d02e792
3
+ metadata.gz: df58de0dab855adc920079444a0b66452574b044496b45cdfd8166a6a3718f99
4
+ data.tar.gz: 21d114f1da69469df3e10a6baed83e735038b87495da8b43a35ad9749e0ce46b
5
5
  SHA512:
6
- metadata.gz: 9efc4750982b0a167bee0710de34c1cadfbcdf2b03d2d3132710c385e516847748059d9b747953d85b95ee1639a5c79f817ce86365a1a7353f15158ec4ae938b
7
- data.tar.gz: 4915462f36815ffbbc5e587003a833c05b969882a5346dc9a8a84e9914688fc1561f9980b321d9e3d822f7acdb20b6f4e9ca7c66b8d51b4f5a6d4c5ef7c1fbe5
6
+ metadata.gz: 310e2420d1555d6e958edcbbc75839b383303e7f25c671719f40d42d43bfebe24894480ba3aeae64ab56274d5b335b2979064b6c55dc7c1ae55deed298d754b2
7
+ data.tar.gz: 9df0d6da61e3de63852be8357929e3f40d3db122dd7e879a1574d1faa067f4844d552879cb074d9af9ee23b9776f3aa938a4b3342787bc2c5db6f3886c6bc45b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
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
+
8
+ ### v0.25.0 (2022-06-07)
9
+
10
+ * Regenerated from discovery document revision 20220602
11
+ * Regenerated using generator version 0.5.0
12
+ * Unspecified changes
13
+
14
+ ### v0.24.0 (2022-05-25)
15
+
16
+ * Regenerated from discovery document revision 20220520
17
+
3
18
  ### v0.23.0 (2022-05-17)
4
19
 
5
20
  * Regenerated from discovery document revision 20220516
@@ -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,57 @@ module Google
343
414
  end
344
415
  end
345
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
+
442
+ # EnvironmentVariable is a name-value pair to store environment variables for
443
+ # Process.
444
+ class EnvironmentVariable
445
+ include Google::Apis::Core::Hashable
446
+
447
+ # Environment variable name as a JSON encoded string.
448
+ # Corresponds to the JSON property `name`
449
+ # @return [String]
450
+ attr_accessor :name
451
+
452
+ # Environment variable value as a JSON encoded string.
453
+ # Corresponds to the JSON property `val`
454
+ # @return [String]
455
+ attr_accessor :val
456
+
457
+ def initialize(**args)
458
+ update!(**args)
459
+ end
460
+
461
+ # Update properties of this object
462
+ def update!(**args)
463
+ @name = args[:name] if args.key?(:name)
464
+ @val = args[:val] if args.key?(:val)
465
+ end
466
+ end
467
+
346
468
  # Resource capturing the settings for the Event Threat Detection service.
347
469
  class EventThreatDetectionSettings
348
470
  include Google::Apis::Core::Hashable
@@ -385,6 +507,118 @@ module Google
385
507
  end
386
508
  end
387
509
 
510
+ # Resource that has been exfiltrated or exfiltrated_to.
511
+ class ExfilResource
512
+ include Google::Apis::Core::Hashable
513
+
514
+ # Subcomponents of the asset that is exfiltrated - these could be URIs used
515
+ # during exfiltration, table names, databases, filenames, etc. For example,
516
+ # multiple tables may be exfiltrated from the same CloudSQL instance, or
517
+ # multiple files from the same Cloud Storage bucket.
518
+ # Corresponds to the JSON property `components`
519
+ # @return [Array<String>]
520
+ attr_accessor :components
521
+
522
+ # Resource's URI (https://google.aip.dev/122#full-resource-names)
523
+ # Corresponds to the JSON property `name`
524
+ # @return [String]
525
+ attr_accessor :name
526
+
527
+ def initialize(**args)
528
+ update!(**args)
529
+ end
530
+
531
+ # Update properties of this object
532
+ def update!(**args)
533
+ @components = args[:components] if args.key?(:components)
534
+ @name = args[:name] if args.key?(:name)
535
+ end
536
+ end
537
+
538
+ # Exfiltration represents a data exfiltration attempt of one or more sources to
539
+ # one or more targets. Sources represent the source of data that is exfiltrated,
540
+ # and Targets represents the destination the data was copied to.
541
+ class Exfiltration
542
+ include Google::Apis::Core::Hashable
543
+
544
+ # If there are multiple sources, then the data is considered "joined" between
545
+ # them. For instance, BigQuery can join multiple tables, and each table would be
546
+ # considered a source.
547
+ # Corresponds to the JSON property `sources`
548
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::ExfilResource>]
549
+ attr_accessor :sources
550
+
551
+ # If there are multiple targets, each target would get a complete copy of the "
552
+ # joined" source data.
553
+ # Corresponds to the JSON property `targets`
554
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::ExfilResource>]
555
+ attr_accessor :targets
556
+
557
+ def initialize(**args)
558
+ update!(**args)
559
+ end
560
+
561
+ # Update properties of this object
562
+ def update!(**args)
563
+ @sources = args[:sources] if args.key?(:sources)
564
+ @targets = args[:targets] if args.key?(:targets)
565
+ end
566
+ end
567
+
568
+ # File information about the related binary/library used by an executable, or
569
+ # the script used by a script interpreter
570
+ class File
571
+ include Google::Apis::Core::Hashable
572
+
573
+ # Prefix of the file contents as a JSON encoded string. (Currently only
574
+ # populated for Malicious Script Executed findings.)
575
+ # Corresponds to the JSON property `contents`
576
+ # @return [String]
577
+ attr_accessor :contents
578
+
579
+ # The length in bytes of the file prefix that was hashed. If hashed_size == size,
580
+ # any hashes reported represent the entire file.
581
+ # Corresponds to the JSON property `hashedSize`
582
+ # @return [Fixnum]
583
+ attr_accessor :hashed_size
584
+
585
+ # True when the hash covers only a prefix of the file.
586
+ # Corresponds to the JSON property `partiallyHashed`
587
+ # @return [Boolean]
588
+ attr_accessor :partially_hashed
589
+ alias_method :partially_hashed?, :partially_hashed
590
+
591
+ # Absolute path of the file as a JSON encoded string.
592
+ # Corresponds to the JSON property `path`
593
+ # @return [String]
594
+ attr_accessor :path
595
+
596
+ # SHA256 hash of the first hashed_size bytes of the file encoded as a hex string.
597
+ # If hashed_size == size, sha256 represents the SHA256 hash of the entire file.
598
+ # Corresponds to the JSON property `sha256`
599
+ # @return [String]
600
+ attr_accessor :sha256
601
+
602
+ # Size of the file in bytes.
603
+ # Corresponds to the JSON property `size`
604
+ # @return [Fixnum]
605
+ attr_accessor :size
606
+
607
+ def initialize(**args)
608
+ update!(**args)
609
+ end
610
+
611
+ # Update properties of this object
612
+ def update!(**args)
613
+ @contents = args[:contents] if args.key?(:contents)
614
+ @hashed_size = args[:hashed_size] if args.key?(:hashed_size)
615
+ @partially_hashed = args[:partially_hashed] if args.key?(:partially_hashed)
616
+ @path = args[:path] if args.key?(:path)
617
+ @sha256 = args[:sha256] if args.key?(:sha256)
618
+ @size = args[:size] if args.key?(:size)
619
+ end
620
+ end
621
+
388
622
  # Security Command Center finding. A finding is a record of assessment data like
389
623
  # security, risk, health, or privacy, that is ingested into Security Command
390
624
  # Center for presentation, notification, analysis, policy testing, and
@@ -413,11 +647,27 @@ module Google
413
647
  # @return [String]
414
648
  attr_accessor :category
415
649
 
650
+ # Contains compliance information for security standards associated to the
651
+ # finding.
652
+ # Corresponds to the JSON property `compliances`
653
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Compliance>]
654
+ attr_accessor :compliances
655
+
416
656
  # Contains information about the IP connection associated with the finding.
417
657
  # Corresponds to the JSON property `connections`
418
658
  # @return [Array<Google::Apis::SecuritycenterV1beta2::Connection>]
419
659
  attr_accessor :connections
420
660
 
661
+ # Output only. Map containing the point of contacts for the given finding. The
662
+ # key represents the type of contact, while the value contains a list of all the
663
+ # contacts that pertain. Please refer to: https://cloud.google.com/resource-
664
+ # manager/docs/managing-notification-contacts#notification-categories ` “
665
+ # security”: `contact: `email: “person1@company.com”` contact: `email: “person2@
666
+ # company.com”` `
667
+ # Corresponds to the JSON property `contacts`
668
+ # @return [Hash<String,Google::Apis::SecuritycenterV1beta2::ContactDetails>]
669
+ attr_accessor :contacts
670
+
421
671
  # The time at which the finding was created in Security Command Center.
422
672
  # Corresponds to the JSON property `createTime`
423
673
  # @return [String]
@@ -438,6 +688,13 @@ module Google
438
688
  # @return [String]
439
689
  attr_accessor :event_time
440
690
 
691
+ # Exfiltration represents a data exfiltration attempt of one or more sources to
692
+ # one or more targets. Sources represent the source of data that is exfiltrated,
693
+ # and Targets represents the destination the data was copied to.
694
+ # Corresponds to the JSON property `exfiltration`
695
+ # @return [Google::Apis::SecuritycenterV1beta2::Exfiltration]
696
+ attr_accessor :exfiltration
697
+
441
698
  # Output only. Third party SIEM/SOAR fields within SCC, contains external system
442
699
  # information and external system finding fields.
443
700
  # Corresponds to the JSON property `externalSystems`
@@ -515,6 +772,11 @@ module Google
515
772
  # @return [String]
516
773
  attr_accessor :parent
517
774
 
775
+ # Represents operating system processes associated with the Finding.
776
+ # Corresponds to the JSON property `processes`
777
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::Process>]
778
+ attr_accessor :processes
779
+
518
780
  # For findings on Google Cloud resources, the full resource name of the Google
519
781
  # Cloud resource this finding is for. See: https://cloud.google.com/apis/design/
520
782
  # resource_names#full_resource_name When the finding is for a non-Google Cloud
@@ -565,10 +827,13 @@ module Google
565
827
  @access = args[:access] if args.key?(:access)
566
828
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
567
829
  @category = args[:category] if args.key?(:category)
830
+ @compliances = args[:compliances] if args.key?(:compliances)
568
831
  @connections = args[:connections] if args.key?(:connections)
832
+ @contacts = args[:contacts] if args.key?(:contacts)
569
833
  @create_time = args[:create_time] if args.key?(:create_time)
570
834
  @description = args[:description] if args.key?(:description)
571
835
  @event_time = args[:event_time] if args.key?(:event_time)
836
+ @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
572
837
  @external_systems = args[:external_systems] if args.key?(:external_systems)
573
838
  @external_uri = args[:external_uri] if args.key?(:external_uri)
574
839
  @finding_class = args[:finding_class] if args.key?(:finding_class)
@@ -581,6 +846,7 @@ module Google
581
846
  @name = args[:name] if args.key?(:name)
582
847
  @next_steps = args[:next_steps] if args.key?(:next_steps)
583
848
  @parent = args[:parent] if args.key?(:parent)
849
+ @processes = args[:processes] if args.key?(:processes)
584
850
  @resource_name = args[:resource_name] if args.key?(:resource_name)
585
851
  @security_marks = args[:security_marks] if args.key?(:security_marks)
586
852
  @severity = args[:severity] if args.key?(:severity)
@@ -1351,6 +1617,12 @@ module Google
1351
1617
  # @return [Array<String>]
1352
1618
  attr_accessor :ip_addresses
1353
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
+
1354
1626
  def initialize(**args)
1355
1627
  update!(**args)
1356
1628
  end
@@ -1359,6 +1631,32 @@ module Google
1359
1631
  def update!(**args)
1360
1632
  @domains = args[:domains] if args.key?(:domains)
1361
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)
1362
1660
  end
1363
1661
  end
1364
1662
 
@@ -1440,6 +1738,109 @@ module Google
1440
1738
  end
1441
1739
  end
1442
1740
 
1741
+ # Represents an operating system process.
1742
+ class Process
1743
+ include Google::Apis::Core::Hashable
1744
+
1745
+ # Process arguments as JSON encoded strings.
1746
+ # Corresponds to the JSON property `args`
1747
+ # @return [Array<String>]
1748
+ attr_accessor :args
1749
+
1750
+ # True if `args` is incomplete.
1751
+ # Corresponds to the JSON property `argumentsTruncated`
1752
+ # @return [Boolean]
1753
+ attr_accessor :arguments_truncated
1754
+ alias_method :arguments_truncated?, :arguments_truncated
1755
+
1756
+ # File information about the related binary/library used by an executable, or
1757
+ # the script used by a script interpreter
1758
+ # Corresponds to the JSON property `binary`
1759
+ # @return [Google::Apis::SecuritycenterV1beta2::File]
1760
+ attr_accessor :binary
1761
+
1762
+ # Process environment variables.
1763
+ # Corresponds to the JSON property `envVariables`
1764
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::EnvironmentVariable>]
1765
+ attr_accessor :env_variables
1766
+
1767
+ # True if `env_variables` is incomplete.
1768
+ # Corresponds to the JSON property `envVariablesTruncated`
1769
+ # @return [Boolean]
1770
+ attr_accessor :env_variables_truncated
1771
+ alias_method :env_variables_truncated?, :env_variables_truncated
1772
+
1773
+ # File information for libraries loaded by the process.
1774
+ # Corresponds to the JSON property `libraries`
1775
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::File>]
1776
+ attr_accessor :libraries
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
+
1784
+ # The parent process id.
1785
+ # Corresponds to the JSON property `parentPid`
1786
+ # @return [Fixnum]
1787
+ attr_accessor :parent_pid
1788
+
1789
+ # The process id.
1790
+ # Corresponds to the JSON property `pid`
1791
+ # @return [Fixnum]
1792
+ attr_accessor :pid
1793
+
1794
+ # File information about the related binary/library used by an executable, or
1795
+ # the script used by a script interpreter
1796
+ # Corresponds to the JSON property `script`
1797
+ # @return [Google::Apis::SecuritycenterV1beta2::File]
1798
+ attr_accessor :script
1799
+
1800
+ def initialize(**args)
1801
+ update!(**args)
1802
+ end
1803
+
1804
+ # Update properties of this object
1805
+ def update!(**args)
1806
+ @args = args[:args] if args.key?(:args)
1807
+ @arguments_truncated = args[:arguments_truncated] if args.key?(:arguments_truncated)
1808
+ @binary = args[:binary] if args.key?(:binary)
1809
+ @env_variables = args[:env_variables] if args.key?(:env_variables)
1810
+ @env_variables_truncated = args[:env_variables_truncated] if args.key?(:env_variables_truncated)
1811
+ @libraries = args[:libraries] if args.key?(:libraries)
1812
+ @name = args[:name] if args.key?(:name)
1813
+ @parent_pid = args[:parent_pid] if args.key?(:parent_pid)
1814
+ @pid = args[:pid] if args.key?(:pid)
1815
+ @script = args[:script] if args.key?(:script)
1816
+ end
1817
+ end
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
+
1443
1844
  # Additional Links
1444
1845
  class Reference
1445
1846
  include Google::Apis::Core::Hashable
@@ -1750,6 +2151,25 @@ module Google
1750
2151
  @update_time = args[:update_time] if args.key?(:update_time)
1751
2152
  end
1752
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
1753
2173
  end
1754
2174
  end
1755
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.23.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.4.1"
22
+ GENERATOR_VERSION = "0.7.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220516"
25
+ REVISION = "20220609"
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,42 @@ module Google
64
82
  include Google::Apis::Core::JsonObjectSupport
65
83
  end
66
84
 
85
+ class Detection
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class EnvironmentVariable
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
67
97
  class EventThreatDetectionSettings
68
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
99
 
70
100
  include Google::Apis::Core::JsonObjectSupport
71
101
  end
72
102
 
103
+ class ExfilResource
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class Exfiltration
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class File
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
73
121
  class Finding
74
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
123
 
@@ -184,6 +232,12 @@ module Google
184
232
  include Google::Apis::Core::JsonObjectSupport
185
233
  end
186
234
 
235
+ class MemoryHashSignature
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
187
241
  class MitreAttack
188
242
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
243
 
@@ -196,6 +250,18 @@ module Google
196
250
  include Google::Apis::Core::JsonObjectSupport
197
251
  end
198
252
 
253
+ class Process
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class ProcessSignature
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
199
265
  class Reference
200
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
267
 
@@ -244,6 +310,12 @@ module Google
244
310
  include Google::Apis::Core::JsonObjectSupport
245
311
  end
246
312
 
313
+ class YaraRuleSignature
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
247
319
  class Access
248
320
  # @private
249
321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -257,6 +329,15 @@ module Google
257
329
  end
258
330
  end
259
331
 
332
+ class Compliance
333
+ # @private
334
+ class Representation < Google::Apis::Core::JsonRepresentation
335
+ collection :ids, as: 'ids'
336
+ property :standard, as: 'standard'
337
+ property :version, as: 'version'
338
+ end
339
+ end
340
+
260
341
  class Config
261
342
  # @private
262
343
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -276,6 +357,21 @@ module Google
276
357
  end
277
358
  end
278
359
 
360
+ class Contact
361
+ # @private
362
+ class Representation < Google::Apis::Core::JsonRepresentation
363
+ property :email, as: 'email'
364
+ end
365
+ end
366
+
367
+ class ContactDetails
368
+ # @private
369
+ class Representation < Google::Apis::Core::JsonRepresentation
370
+ collection :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::Contact, decorator: Google::Apis::SecuritycenterV1beta2::Contact::Representation
371
+
372
+ end
373
+ end
374
+
279
375
  class ContainerThreatDetectionSettings
280
376
  # @private
281
377
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -324,6 +420,22 @@ module Google
324
420
  end
325
421
  end
326
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
+
431
+ class EnvironmentVariable
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :name, as: 'name'
435
+ property :val, as: 'val'
436
+ end
437
+ end
438
+
327
439
  class EventThreatDetectionSettings
328
440
  # @private
329
441
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -335,6 +447,36 @@ module Google
335
447
  end
336
448
  end
337
449
 
450
+ class ExfilResource
451
+ # @private
452
+ class Representation < Google::Apis::Core::JsonRepresentation
453
+ collection :components, as: 'components'
454
+ property :name, as: 'name'
455
+ end
456
+ end
457
+
458
+ class Exfiltration
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ collection :sources, as: 'sources', class: Google::Apis::SecuritycenterV1beta2::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::ExfilResource::Representation
462
+
463
+ collection :targets, as: 'targets', class: Google::Apis::SecuritycenterV1beta2::ExfilResource, decorator: Google::Apis::SecuritycenterV1beta2::ExfilResource::Representation
464
+
465
+ end
466
+ end
467
+
468
+ class File
469
+ # @private
470
+ class Representation < Google::Apis::Core::JsonRepresentation
471
+ property :contents, as: 'contents'
472
+ property :hashed_size, :numeric_string => true, as: 'hashedSize'
473
+ property :partially_hashed, as: 'partiallyHashed'
474
+ property :path, as: 'path'
475
+ property :sha256, as: 'sha256'
476
+ property :size, :numeric_string => true, as: 'size'
477
+ end
478
+ end
479
+
338
480
  class Finding
339
481
  # @private
340
482
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -342,11 +484,17 @@ module Google
342
484
 
343
485
  property :canonical_name, as: 'canonicalName'
344
486
  property :category, as: 'category'
487
+ collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1beta2::Compliance, decorator: Google::Apis::SecuritycenterV1beta2::Compliance::Representation
488
+
345
489
  collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta2::Connection, decorator: Google::Apis::SecuritycenterV1beta2::Connection::Representation
346
490
 
491
+ hash :contacts, as: 'contacts', class: Google::Apis::SecuritycenterV1beta2::ContactDetails, decorator: Google::Apis::SecuritycenterV1beta2::ContactDetails::Representation
492
+
347
493
  property :create_time, as: 'createTime'
348
494
  property :description, as: 'description'
349
495
  property :event_time, as: 'eventTime'
496
+ property :exfiltration, as: 'exfiltration', class: Google::Apis::SecuritycenterV1beta2::Exfiltration, decorator: Google::Apis::SecuritycenterV1beta2::Exfiltration::Representation
497
+
350
498
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem::Representation
351
499
 
352
500
  property :external_uri, as: 'externalUri'
@@ -363,6 +511,8 @@ module Google
363
511
  property :name, as: 'name'
364
512
  property :next_steps, as: 'nextSteps'
365
513
  property :parent, as: 'parent'
514
+ collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
515
+
366
516
  property :resource_name, as: 'resourceName'
367
517
  property :security_marks, as: 'securityMarks', class: Google::Apis::SecuritycenterV1beta2::SecurityMarks, decorator: Google::Apis::SecuritycenterV1beta2::SecurityMarks::Representation
368
518
 
@@ -557,6 +707,17 @@ module Google
557
707
  class Representation < Google::Apis::Core::JsonRepresentation
558
708
  collection :domains, as: 'domains'
559
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
+
560
721
  end
561
722
  end
562
723
 
@@ -579,6 +740,36 @@ module Google
579
740
  end
580
741
  end
581
742
 
743
+ class Process
744
+ # @private
745
+ class Representation < Google::Apis::Core::JsonRepresentation
746
+ collection :args, as: 'args'
747
+ property :arguments_truncated, as: 'argumentsTruncated'
748
+ property :binary, as: 'binary', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
749
+
750
+ collection :env_variables, as: 'envVariables', class: Google::Apis::SecuritycenterV1beta2::EnvironmentVariable, decorator: Google::Apis::SecuritycenterV1beta2::EnvironmentVariable::Representation
751
+
752
+ property :env_variables_truncated, as: 'envVariablesTruncated'
753
+ collection :libraries, as: 'libraries', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
754
+
755
+ property :name, as: 'name'
756
+ property :parent_pid, :numeric_string => true, as: 'parentPid'
757
+ property :pid, :numeric_string => true, as: 'pid'
758
+ property :script, as: 'script', class: Google::Apis::SecuritycenterV1beta2::File, decorator: Google::Apis::SecuritycenterV1beta2::File::Representation
759
+
760
+ end
761
+ end
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
+
582
773
  class Reference
583
774
  # @private
584
775
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -658,6 +849,13 @@ module Google
658
849
  property :update_time, as: 'updateTime'
659
850
  end
660
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
661
859
  end
662
860
  end
663
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.23.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-05-23 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.4'
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.4'
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.23.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: []
@@ -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