google-apis-securitycenter_v1beta1 0.41.0 → 0.43.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: 149760ca33f2d66d5c990494b7a8522f2970d0fb9eefe3af281e0afe27a046d7
4
- data.tar.gz: 9fee1b7cbec7c0fb901ee4561745ef4bc545aeb9815040f4e4964c46e28a4f91
3
+ metadata.gz: 7eb48395645d854fe1406a599cf2d8b058e9c98dabcb4034e6d329a29673ad81
4
+ data.tar.gz: 14f6a190c248a55c70df6b6195645adb6e14ff1d7ef90d06689a71aacf40dc5a
5
5
  SHA512:
6
- metadata.gz: 40d6ec4dd0ed206aa9e0bfd0b50adffdb12bf5f2c8a0ed6dd08611af20c43a1c79b8102b50e9e1c3f385096f90a1d1471fa128b90a4b4b187ab850d087045e24
7
- data.tar.gz: 9c9a372e1b51e242e0c2dfa33141de94b183bbd859ed70d5160477ab4ffbce2df9fd1d25f3ee08f1611af3d5afd1e884f40fe6dc523b9e60239a42e101509754
6
+ metadata.gz: 83109cc30c4690025ba7897aa05bb894f4b469353c6bb7ab5801d843f052672d88bb38148df770f62c1f81b64a9db8ef4a109b814a6f2f6fe834b88b3f494bde
7
+ data.tar.gz: c0ab5cd2b64b56a7ae1c3ef3e97c2f705302ed5953598c789e42a4da066f4c76bf112d51f35b9e7b6bfebb1119f6ea5545166e85c8e63ac80a9149c47733076e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.43.0 (2022-12-07)
4
+
5
+ * Regenerated from discovery document revision 20221205
6
+
7
+ ### v0.42.0 (2022-11-04)
8
+
9
+ * Regenerated from discovery document revision 20221027
10
+
3
11
  ### v0.41.0 (2022-10-27)
4
12
 
5
13
  * Regenerated from discovery document revision 20221014
@@ -277,6 +277,11 @@ module Google
277
277
  # @return [String]
278
278
  attr_accessor :finding_category
279
279
 
280
+ # Full resource name of the finding.
281
+ # Corresponds to the JSON property `name`
282
+ # @return [String]
283
+ attr_accessor :name
284
+
280
285
  def initialize(**args)
281
286
  update!(**args)
282
287
  end
@@ -285,6 +290,7 @@ module Google
285
290
  def update!(**args)
286
291
  @canonical_finding_name = args[:canonical_finding_name] if args.key?(:canonical_finding_name)
287
292
  @finding_category = args[:finding_category] if args.key?(:finding_category)
293
+ @name = args[:name] if args.key?(:name)
288
294
  end
289
295
  end
290
296
 
@@ -1134,6 +1140,11 @@ module Google
1134
1140
  # @return [String]
1135
1141
  attr_accessor :external_uri
1136
1142
 
1143
+ # File associated with the finding.
1144
+ # Corresponds to the JSON property `files`
1145
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::File>]
1146
+ attr_accessor :files
1147
+
1137
1148
  # The class of the finding.
1138
1149
  # Corresponds to the JSON property `findingClass`
1139
1150
  # @return [String]
@@ -1152,6 +1163,11 @@ module Google
1152
1163
  # @return [Google::Apis::SecuritycenterV1beta1::Indicator]
1153
1164
  attr_accessor :indicator
1154
1165
 
1166
+ # Kernel mode rootkit signatures.
1167
+ # Corresponds to the JSON property `kernelRootkit`
1168
+ # @return [Google::Apis::SecuritycenterV1beta1::KernelRootkit]
1169
+ attr_accessor :kernel_rootkit
1170
+
1155
1171
  # Kubernetes related attributes.
1156
1172
  # Corresponds to the JSON property `kubernetes`
1157
1173
  # @return [Google::Apis::SecuritycenterV1beta1::Kubernetes]
@@ -1275,9 +1291,11 @@ module Google
1275
1291
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
1276
1292
  @external_systems = args[:external_systems] if args.key?(:external_systems)
1277
1293
  @external_uri = args[:external_uri] if args.key?(:external_uri)
1294
+ @files = args[:files] if args.key?(:files)
1278
1295
  @finding_class = args[:finding_class] if args.key?(:finding_class)
1279
1296
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
1280
1297
  @indicator = args[:indicator] if args.key?(:indicator)
1298
+ @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1281
1299
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1282
1300
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1283
1301
  @mute = args[:mute] if args.key?(:mute)
@@ -1633,10 +1651,10 @@ module Google
1633
1651
  # @return [String]
1634
1652
  attr_accessor :external_uid
1635
1653
 
1636
- # External System Name e.g. jira, demisto, etc. e.g.: `organizations/1234/
1637
- # sources/5678/findings/123456/externalSystems/jira` `folders/1234/sources/5678/
1638
- # findings/123456/externalSystems/jira` `projects/1234/sources/5678/findings/
1639
- # 123456/externalSystems/jira`
1654
+ # Full resource name of the external system, for example: "organizations/1234/
1655
+ # sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
1656
+ # findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
1657
+ # 123456/externalSystems/jira"
1640
1658
  # Corresponds to the JSON property `name`
1641
1659
  # @return [String]
1642
1660
  attr_accessor :name
@@ -1842,11 +1860,26 @@ module Google
1842
1860
  # @return [String]
1843
1861
  attr_accessor :name
1844
1862
 
1863
+ # Apply resource_value only to resources that match resource_type. resource_type
1864
+ # will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
1865
+ # Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
1866
+ # googleapis.com/Bucket" resources.
1867
+ # Corresponds to the JSON property `resourceType`
1868
+ # @return [String]
1869
+ attr_accessor :resource_type
1870
+
1845
1871
  # Required. Resource value level this expression represents
1846
1872
  # Corresponds to the JSON property `resourceValue`
1847
1873
  # @return [String]
1848
1874
  attr_accessor :resource_value
1849
1875
 
1876
+ # Project or folder to scope this config to. For example, "project/456" would
1877
+ # apply this config only to resources in "project/456" scope will be checked
1878
+ # with "AND" of other resources.
1879
+ # Corresponds to the JSON property `scope`
1880
+ # @return [String]
1881
+ attr_accessor :scope
1882
+
1850
1883
  # Required. Tag values combined with AND to check against. Values in the form "
1851
1884
  # tagValues/123" E.g. [ "tagValues/123", "tagValues/456", "tagValues/789" ]
1852
1885
  # https://cloud.google.com/resource-manager/docs/tags/tags-creating-and-managing
@@ -1861,7 +1894,9 @@ module Google
1861
1894
  # Update properties of this object
1862
1895
  def update!(**args)
1863
1896
  @name = args[:name] if args.key?(:name)
1897
+ @resource_type = args[:resource_type] if args.key?(:resource_type)
1864
1898
  @resource_value = args[:resource_value] if args.key?(:resource_value)
1899
+ @scope = args[:scope] if args.key?(:scope)
1865
1900
  @tag_values = args[:tag_values] if args.key?(:tag_values)
1866
1901
  end
1867
1902
  end
@@ -2663,6 +2698,87 @@ module Google
2663
2698
  end
2664
2699
  end
2665
2700
 
2701
+ # Kernel mode rootkit signatures.
2702
+ class KernelRootkit
2703
+ include Google::Apis::Core::Hashable
2704
+
2705
+ # Rootkit name when available.
2706
+ # Corresponds to the JSON property `name`
2707
+ # @return [String]
2708
+ attr_accessor :name
2709
+
2710
+ # True when unexpected modifications of kernel read-only data memory are present.
2711
+ # Corresponds to the JSON property `unexpectedCodeModification`
2712
+ # @return [Boolean]
2713
+ attr_accessor :unexpected_code_modification
2714
+ alias_method :unexpected_code_modification?, :unexpected_code_modification
2715
+
2716
+ # True when `ftrace` points are present with callbacks pointing to regions that
2717
+ # are not in the expected kernel or module code range.
2718
+ # Corresponds to the JSON property `unexpectedFtraceHandler`
2719
+ # @return [Boolean]
2720
+ attr_accessor :unexpected_ftrace_handler
2721
+ alias_method :unexpected_ftrace_handler?, :unexpected_ftrace_handler
2722
+
2723
+ # True when interrupt handlers that are are not in the expected kernel or module
2724
+ # code regions are present.
2725
+ # Corresponds to the JSON property `unexpectedInterruptHandler`
2726
+ # @return [Boolean]
2727
+ attr_accessor :unexpected_interrupt_handler
2728
+ alias_method :unexpected_interrupt_handler?, :unexpected_interrupt_handler
2729
+
2730
+ # True when kernel code pages that are not in the expected kernel or module code
2731
+ # regions are present.
2732
+ # Corresponds to the JSON property `unexpectedKernelCodePages`
2733
+ # @return [Boolean]
2734
+ attr_accessor :unexpected_kernel_code_pages
2735
+ alias_method :unexpected_kernel_code_pages?, :unexpected_kernel_code_pages
2736
+
2737
+ # True when `kprobe` points are present with callbacks pointing to regions that
2738
+ # are not in the expected kernel or module code range.
2739
+ # Corresponds to the JSON property `unexpectedKprobeHandler`
2740
+ # @return [Boolean]
2741
+ attr_accessor :unexpected_kprobe_handler
2742
+ alias_method :unexpected_kprobe_handler?, :unexpected_kprobe_handler
2743
+
2744
+ # True when unexpected processes in the scheduler run queue are present. Such
2745
+ # processes are in the run queue, but not in the process task list.
2746
+ # Corresponds to the JSON property `unexpectedProcessesInRunqueue`
2747
+ # @return [Boolean]
2748
+ attr_accessor :unexpected_processes_in_runqueue
2749
+ alias_method :unexpected_processes_in_runqueue?, :unexpected_processes_in_runqueue
2750
+
2751
+ # Flag indicating unexpected modifications of kernel read-only data memory.
2752
+ # Corresponds to the JSON property `unexpectedReadOnlyDataModification`
2753
+ # @return [Boolean]
2754
+ attr_accessor :unexpected_read_only_data_modification
2755
+ alias_method :unexpected_read_only_data_modification?, :unexpected_read_only_data_modification
2756
+
2757
+ # True when system call handlers that are are not in the expected kernel or
2758
+ # module code regions are present.
2759
+ # Corresponds to the JSON property `unexpectedSystemCallHandler`
2760
+ # @return [Boolean]
2761
+ attr_accessor :unexpected_system_call_handler
2762
+ alias_method :unexpected_system_call_handler?, :unexpected_system_call_handler
2763
+
2764
+ def initialize(**args)
2765
+ update!(**args)
2766
+ end
2767
+
2768
+ # Update properties of this object
2769
+ def update!(**args)
2770
+ @name = args[:name] if args.key?(:name)
2771
+ @unexpected_code_modification = args[:unexpected_code_modification] if args.key?(:unexpected_code_modification)
2772
+ @unexpected_ftrace_handler = args[:unexpected_ftrace_handler] if args.key?(:unexpected_ftrace_handler)
2773
+ @unexpected_interrupt_handler = args[:unexpected_interrupt_handler] if args.key?(:unexpected_interrupt_handler)
2774
+ @unexpected_kernel_code_pages = args[:unexpected_kernel_code_pages] if args.key?(:unexpected_kernel_code_pages)
2775
+ @unexpected_kprobe_handler = args[:unexpected_kprobe_handler] if args.key?(:unexpected_kprobe_handler)
2776
+ @unexpected_processes_in_runqueue = args[:unexpected_processes_in_runqueue] if args.key?(:unexpected_processes_in_runqueue)
2777
+ @unexpected_read_only_data_modification = args[:unexpected_read_only_data_modification] if args.key?(:unexpected_read_only_data_modification)
2778
+ @unexpected_system_call_handler = args[:unexpected_system_call_handler] if args.key?(:unexpected_system_call_handler)
2779
+ end
2780
+ end
2781
+
2666
2782
  # Kubernetes related attributes.
2667
2783
  class Kubernetes
2668
2784
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecuritycenterV1beta1
18
18
  # Version of the google-apis-securitycenter_v1beta1 gem
19
- GEM_VERSION = "0.41.0"
19
+ GEM_VERSION = "0.43.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221014"
25
+ REVISION = "20221205"
26
26
  end
27
27
  end
28
28
  end
@@ -364,6 +364,12 @@ module Google
364
364
  include Google::Apis::Core::JsonObjectSupport
365
365
  end
366
366
 
367
+ class KernelRootkit
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
367
373
  class Kubernetes
368
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
369
375
 
@@ -620,6 +626,7 @@ module Google
620
626
  class Representation < Google::Apis::Core::JsonRepresentation
621
627
  property :canonical_finding_name, as: 'canonicalFindingName'
622
628
  property :finding_category, as: 'findingCategory'
629
+ property :name, as: 'name'
623
630
  end
624
631
  end
625
632
 
@@ -835,11 +842,15 @@ module Google
835
842
  hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
836
843
 
837
844
  property :external_uri, as: 'externalUri'
845
+ collection :files, as: 'files', class: Google::Apis::SecuritycenterV1beta1::File, decorator: Google::Apis::SecuritycenterV1beta1::File::Representation
846
+
838
847
  property :finding_class, as: 'findingClass'
839
848
  collection :iam_bindings, as: 'iamBindings', class: Google::Apis::SecuritycenterV1beta1::IamBinding, decorator: Google::Apis::SecuritycenterV1beta1::IamBinding::Representation
840
849
 
841
850
  property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
842
851
 
852
+ property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta1::KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta1::KernelRootkit::Representation
853
+
843
854
  property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta1::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta1::Kubernetes::Representation
844
855
 
845
856
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
@@ -1005,7 +1016,9 @@ module Google
1005
1016
  # @private
1006
1017
  class Representation < Google::Apis::Core::JsonRepresentation
1007
1018
  property :name, as: 'name'
1019
+ property :resource_type, as: 'resourceType'
1008
1020
  property :resource_value, as: 'resourceValue'
1021
+ property :scope, as: 'scope'
1009
1022
  collection :tag_values, as: 'tagValues'
1010
1023
  end
1011
1024
  end
@@ -1190,6 +1203,21 @@ module Google
1190
1203
  end
1191
1204
  end
1192
1205
 
1206
+ class KernelRootkit
1207
+ # @private
1208
+ class Representation < Google::Apis::Core::JsonRepresentation
1209
+ property :name, as: 'name'
1210
+ property :unexpected_code_modification, as: 'unexpectedCodeModification'
1211
+ property :unexpected_ftrace_handler, as: 'unexpectedFtraceHandler'
1212
+ property :unexpected_interrupt_handler, as: 'unexpectedInterruptHandler'
1213
+ property :unexpected_kernel_code_pages, as: 'unexpectedKernelCodePages'
1214
+ property :unexpected_kprobe_handler, as: 'unexpectedKprobeHandler'
1215
+ property :unexpected_processes_in_runqueue, as: 'unexpectedProcessesInRunqueue'
1216
+ property :unexpected_read_only_data_modification, as: 'unexpectedReadOnlyDataModification'
1217
+ property :unexpected_system_call_handler, as: 'unexpectedSystemCallHandler'
1218
+ end
1219
+ end
1220
+
1193
1221
  class Kubernetes
1194
1222
  # @private
1195
1223
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-securitycenter_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.0
4
+ version: 0.43.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-10-31 00:00:00.000000000 Z
11
+ date: 2022-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -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_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.41.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.43.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []