google-apis-securitycenter_v1beta1 0.42.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d8b4d18d5a9936855791ddd5750027d2d6e34e050aa6987070b8ee57fad4871
4
- data.tar.gz: 62bd1dacc690a5fc8db62a7d588ddc0235776409d341de1dadb13933f5bcc00e
3
+ metadata.gz: 6e2f2320ec0ca47f712c75642eadf85edd3256988ae523c29d8ff37f82182a4a
4
+ data.tar.gz: 07edd1be22aabdf39d02d10a74666276002f3e3906064543bf32cf4f015219fd
5
5
  SHA512:
6
- metadata.gz: fd312c11628bf516b0eb594b37e554add4feece59059abeae7f0de77e30db390056f90aeff2bf30ec42acc80cdd521fe43b7fa9296ddf56135e2d5e3392cf61e
7
- data.tar.gz: 135c985ef25ab7c2c86581368ca5f4f18c833729e293570adae7a912ed2ee63ca4084a08fcc1628ed3c09ed1c7986b91205fa83de8645574aeebb3dbdbd93f63
6
+ metadata.gz: '0921a2cc3041d785f25d4247838ed97ea1ffae8a7319716d918f5d2c9290c39b05b2d87286fffba143693f7fad3c0f634454733f9f755220363afbe75423ba05'
7
+ data.tar.gz: 253befc93b2ef7cbab54e09b19f31d87a6db0d031513d4caf7837b5276454853357732041af88323cc604be116f99be43e0f81802cba2e7e0f18ee0be13f67a9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.44.0 (2023-01-04)
4
+
5
+ * Regenerated from discovery document revision 20221220
6
+
7
+ ### v0.43.0 (2022-12-07)
8
+
9
+ * Regenerated from discovery document revision 20221205
10
+
3
11
  ### v0.42.0 (2022-11-04)
4
12
 
5
13
  * Regenerated from discovery document revision 20221027
@@ -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
 
@@ -525,11 +531,11 @@ module Google
525
531
  end
526
532
  end
527
533
 
528
- # Representa a single contact's email address
534
+ # The email address of a contact.
529
535
  class Contact
530
536
  include Google::Apis::Core::Hashable
531
537
 
532
- # An email address e.g. "person123@company.com"
538
+ # An email address. For example, "`person123@company.com`".
533
539
  # Corresponds to the JSON property `email`
534
540
  # @return [String]
535
541
  attr_accessor :email
@@ -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]
@@ -1144,15 +1155,21 @@ module Google
1144
1155
  # @return [Array<Google::Apis::SecuritycenterV1beta1::IamBinding>]
1145
1156
  attr_accessor :iam_bindings
1146
1157
 
1147
- # Represents what's commonly known as an Indicator of compromise (IoC) in
1158
+ # Represents what's commonly known as an _indicator of compromise_ (IoC) in
1148
1159
  # computer forensics. This is an artifact observed on a network or in an
1149
1160
  # operating system that, with high confidence, indicates a computer intrusion.
1150
- # Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
1161
+ # For more information, see [Indicator of compromise](https://en.wikipedia.org/
1162
+ # wiki/Indicator_of_compromise).
1151
1163
  # Corresponds to the JSON property `indicator`
1152
1164
  # @return [Google::Apis::SecuritycenterV1beta1::Indicator]
1153
1165
  attr_accessor :indicator
1154
1166
 
1155
- # Kubernetes related attributes.
1167
+ # Kernel mode rootkit signatures.
1168
+ # Corresponds to the JSON property `kernelRootkit`
1169
+ # @return [Google::Apis::SecuritycenterV1beta1::KernelRootkit]
1170
+ attr_accessor :kernel_rootkit
1171
+
1172
+ # Kubernetes-related attributes.
1156
1173
  # Corresponds to the JSON property `kubernetes`
1157
1174
  # @return [Google::Apis::SecuritycenterV1beta1::Kubernetes]
1158
1175
  attr_accessor :kubernetes
@@ -1275,9 +1292,11 @@ module Google
1275
1292
  @exfiltration = args[:exfiltration] if args.key?(:exfiltration)
1276
1293
  @external_systems = args[:external_systems] if args.key?(:external_systems)
1277
1294
  @external_uri = args[:external_uri] if args.key?(:external_uri)
1295
+ @files = args[:files] if args.key?(:files)
1278
1296
  @finding_class = args[:finding_class] if args.key?(:finding_class)
1279
1297
  @iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
1280
1298
  @indicator = args[:indicator] if args.key?(:indicator)
1299
+ @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1281
1300
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1282
1301
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1283
1302
  @mute = args[:mute] if args.key?(:mute)
@@ -1393,7 +1412,7 @@ module Google
1393
1412
  class GoogleCloudSecuritycenterV1BigQueryExport
1394
1413
  include Google::Apis::Core::Hashable
1395
1414
 
1396
- # Output only. The time at which the big query export was created. This field is
1415
+ # Output only. The time at which the BigQuery export was created. This field is
1397
1416
  # set by the server and will be ignored if provided on export on creation.
1398
1417
  # Corresponds to the JSON property `createTime`
1399
1418
  # @return [String]
@@ -1425,7 +1444,7 @@ module Google
1425
1444
  # @return [String]
1426
1445
  attr_accessor :filter
1427
1446
 
1428
- # Output only. Email address of the user who last edited the big query export.
1447
+ # Output only. Email address of the user who last edited the BigQuery export.
1429
1448
  # This field is set by the server and will be ignored if provided on export
1430
1449
  # creation or update.
1431
1450
  # Corresponds to the JSON property `mostRecentEditor`
@@ -1442,15 +1461,15 @@ module Google
1442
1461
  # @return [String]
1443
1462
  attr_accessor :name
1444
1463
 
1445
- # Output only. The service account that needs permission to create table, upload
1446
- # data to the big query dataset.
1464
+ # Output only. The service account that needs permission to create table and
1465
+ # upload data to the BigQuery dataset.
1447
1466
  # Corresponds to the JSON property `principal`
1448
1467
  # @return [String]
1449
1468
  attr_accessor :principal
1450
1469
 
1451
- # Output only. The most recent time at which the big export was updated. This
1452
- # field is set by the server and will be ignored if provided on export creation
1453
- # or update.
1470
+ # Output only. The most recent time at which the BigQuery export was updated.
1471
+ # This field is set by the server and will be ignored if provided on export
1472
+ # creation or update.
1454
1473
  # Corresponds to the JSON property `updateTime`
1455
1474
  # @return [String]
1456
1475
  attr_accessor :update_time
@@ -1491,8 +1510,8 @@ module Google
1491
1510
  # @return [Google::Apis::SecuritycenterV1beta1::Role]
1492
1511
  attr_accessor :role
1493
1512
 
1494
- # Represents the subjects(s) bound to the role. Not always available for PATCH
1495
- # requests.
1513
+ # Represents one or more subjects that are bound to the role. Not always
1514
+ # available for PATCH requests.
1496
1515
  # Corresponds to the JSON property `subjects`
1497
1516
  # @return [Array<Google::Apis::SecuritycenterV1beta1::Subject>]
1498
1517
  attr_accessor :subjects
@@ -1633,10 +1652,10 @@ module Google
1633
1652
  # @return [String]
1634
1653
  attr_accessor :external_uid
1635
1654
 
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`
1655
+ # Full resource name of the external system, for example: "organizations/1234/
1656
+ # sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/
1657
+ # findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/
1658
+ # 123456/externalSystems/jira"
1640
1659
  # Corresponds to the JSON property `name`
1641
1660
  # @return [String]
1642
1661
  attr_accessor :name
@@ -2639,10 +2658,11 @@ module Google
2639
2658
  end
2640
2659
  end
2641
2660
 
2642
- # Represents what's commonly known as an Indicator of compromise (IoC) in
2661
+ # Represents what's commonly known as an _indicator of compromise_ (IoC) in
2643
2662
  # computer forensics. This is an artifact observed on a network or in an
2644
2663
  # operating system that, with high confidence, indicates a computer intrusion.
2645
- # Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
2664
+ # For more information, see [Indicator of compromise](https://en.wikipedia.org/
2665
+ # wiki/Indicator_of_compromise).
2646
2666
  class Indicator
2647
2667
  include Google::Apis::Core::Hashable
2648
2668
 
@@ -2651,7 +2671,7 @@ module Google
2651
2671
  # @return [Array<String>]
2652
2672
  attr_accessor :domains
2653
2673
 
2654
- # List of ip addresses associated to the Finding.
2674
+ # The list of IP addresses that are associated with the finding.
2655
2675
  # Corresponds to the JSON property `ipAddresses`
2656
2676
  # @return [Array<String>]
2657
2677
  attr_accessor :ip_addresses
@@ -2680,7 +2700,88 @@ module Google
2680
2700
  end
2681
2701
  end
2682
2702
 
2683
- # Kubernetes related attributes.
2703
+ # Kernel mode rootkit signatures.
2704
+ class KernelRootkit
2705
+ include Google::Apis::Core::Hashable
2706
+
2707
+ # Rootkit name when available.
2708
+ # Corresponds to the JSON property `name`
2709
+ # @return [String]
2710
+ attr_accessor :name
2711
+
2712
+ # True when unexpected modifications of kernel code memory are present.
2713
+ # Corresponds to the JSON property `unexpectedCodeModification`
2714
+ # @return [Boolean]
2715
+ attr_accessor :unexpected_code_modification
2716
+ alias_method :unexpected_code_modification?, :unexpected_code_modification
2717
+
2718
+ # True when `ftrace` points are present with callbacks pointing to regions that
2719
+ # are not in the expected kernel or module code range.
2720
+ # Corresponds to the JSON property `unexpectedFtraceHandler`
2721
+ # @return [Boolean]
2722
+ attr_accessor :unexpected_ftrace_handler
2723
+ alias_method :unexpected_ftrace_handler?, :unexpected_ftrace_handler
2724
+
2725
+ # True when interrupt handlers that are are not in the expected kernel or module
2726
+ # code regions are present.
2727
+ # Corresponds to the JSON property `unexpectedInterruptHandler`
2728
+ # @return [Boolean]
2729
+ attr_accessor :unexpected_interrupt_handler
2730
+ alias_method :unexpected_interrupt_handler?, :unexpected_interrupt_handler
2731
+
2732
+ # True when kernel code pages that are not in the expected kernel or module code
2733
+ # regions are present.
2734
+ # Corresponds to the JSON property `unexpectedKernelCodePages`
2735
+ # @return [Boolean]
2736
+ attr_accessor :unexpected_kernel_code_pages
2737
+ alias_method :unexpected_kernel_code_pages?, :unexpected_kernel_code_pages
2738
+
2739
+ # True when `kprobe` points are present with callbacks pointing to regions that
2740
+ # are not in the expected kernel or module code range.
2741
+ # Corresponds to the JSON property `unexpectedKprobeHandler`
2742
+ # @return [Boolean]
2743
+ attr_accessor :unexpected_kprobe_handler
2744
+ alias_method :unexpected_kprobe_handler?, :unexpected_kprobe_handler
2745
+
2746
+ # True when unexpected processes in the scheduler run queue are present. Such
2747
+ # processes are in the run queue, but not in the process task list.
2748
+ # Corresponds to the JSON property `unexpectedProcessesInRunqueue`
2749
+ # @return [Boolean]
2750
+ attr_accessor :unexpected_processes_in_runqueue
2751
+ alias_method :unexpected_processes_in_runqueue?, :unexpected_processes_in_runqueue
2752
+
2753
+ # True when unexpected modifications of kernel read-only data memory are present.
2754
+ # Corresponds to the JSON property `unexpectedReadOnlyDataModification`
2755
+ # @return [Boolean]
2756
+ attr_accessor :unexpected_read_only_data_modification
2757
+ alias_method :unexpected_read_only_data_modification?, :unexpected_read_only_data_modification
2758
+
2759
+ # True when system call handlers that are are not in the expected kernel or
2760
+ # module code regions are present.
2761
+ # Corresponds to the JSON property `unexpectedSystemCallHandler`
2762
+ # @return [Boolean]
2763
+ attr_accessor :unexpected_system_call_handler
2764
+ alias_method :unexpected_system_call_handler?, :unexpected_system_call_handler
2765
+
2766
+ def initialize(**args)
2767
+ update!(**args)
2768
+ end
2769
+
2770
+ # Update properties of this object
2771
+ def update!(**args)
2772
+ @name = args[:name] if args.key?(:name)
2773
+ @unexpected_code_modification = args[:unexpected_code_modification] if args.key?(:unexpected_code_modification)
2774
+ @unexpected_ftrace_handler = args[:unexpected_ftrace_handler] if args.key?(:unexpected_ftrace_handler)
2775
+ @unexpected_interrupt_handler = args[:unexpected_interrupt_handler] if args.key?(:unexpected_interrupt_handler)
2776
+ @unexpected_kernel_code_pages = args[:unexpected_kernel_code_pages] if args.key?(:unexpected_kernel_code_pages)
2777
+ @unexpected_kprobe_handler = args[:unexpected_kprobe_handler] if args.key?(:unexpected_kprobe_handler)
2778
+ @unexpected_processes_in_runqueue = args[:unexpected_processes_in_runqueue] if args.key?(:unexpected_processes_in_runqueue)
2779
+ @unexpected_read_only_data_modification = args[:unexpected_read_only_data_modification] if args.key?(:unexpected_read_only_data_modification)
2780
+ @unexpected_system_call_handler = args[:unexpected_system_call_handler] if args.key?(:unexpected_system_call_handler)
2781
+ end
2782
+ end
2783
+
2784
+ # Kubernetes-related attributes.
2684
2785
  class Kubernetes
2685
2786
  include Google::Apis::Core::Hashable
2686
2787
 
@@ -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.42.0"
19
+ GEM_VERSION = "0.44.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 = "20221027"
25
+ REVISION = "20221220"
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
@@ -1192,6 +1203,21 @@ module Google
1192
1203
  end
1193
1204
  end
1194
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
+
1195
1221
  class Kubernetes
1196
1222
  # @private
1197
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.42.0
4
+ version: 0.44.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-11-07 00:00:00.000000000 Z
11
+ date: 2023-01-04 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.42.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.44.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: []