google-apis-securitycenter_v1beta2 0.43.0 → 0.45.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: 1ecf4ec52133cbbb9480f790088de5735834a7322fcdf4022662b26d7e29237e
4
- data.tar.gz: 027ff5ffdb222003ef37b31f0d9a7fcc9f6a811de1bbc65e09141bf152b346f1
3
+ metadata.gz: 3078ca2b6814ee03bd41f3a6b792c4b4054fd99da4ef97fd5d240bcd9e101a50
4
+ data.tar.gz: f02a3596312509be2f02f67b039754ea4df08a8279994ab14930e0fd05358202
5
5
  SHA512:
6
- metadata.gz: 834d9775801c396dc871c843f805c3c879a8c49865f2ffa7c8e21dfe566b8024c0b2c6e6a8169dbc13d52fa07c152c11437bdbc22ff2811c96487558f6083f22
7
- data.tar.gz: bc06e2551e8d03b8f334635f7290400c9382f799a7e2140147015ac9198b8434557bc7be673aafa8edefbcae651d8b22bfaf8edcd9d1d383e3cccc8f36673b79
6
+ metadata.gz: d81a4f9a9fc8e17a20af0764644afb1d0519ec75f161e03470afa090d90f88949d0d94fa35fdf210411efacd24d4be04b2542d49e6f2dc96f9542b56ffd06984
7
+ data.tar.gz: 872e09fec0d7c5d73fcc620caf79b4f7f41fd8d6a66aa90305ad10285ded871096e1a495c0a554285f4fded0e3345ddb0a94aed3cb842e95aac14ef191b6e79e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.45.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230321
6
+
7
+ ### v0.44.0 (2023-02-15)
8
+
9
+ * Regenerated using generator version 0.12.0
10
+
3
11
  ### v0.43.0 (2023-01-15)
4
12
 
5
13
  * Regenerated from discovery document revision 20230112
@@ -210,6 +210,69 @@ module Google
210
210
  end
211
211
  end
212
212
 
213
+ # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated
214
+ # with the finding.
215
+ class CloudDlpDataProfile
216
+ include Google::Apis::Core::Hashable
217
+
218
+ # Name of the data profile, for example, `projects/123/locations/europe/
219
+ # tableProfiles/8383929`.
220
+ # Corresponds to the JSON property `dataProfile`
221
+ # @return [String]
222
+ attr_accessor :data_profile
223
+
224
+ def initialize(**args)
225
+ update!(**args)
226
+ end
227
+
228
+ # Update properties of this object
229
+ def update!(**args)
230
+ @data_profile = args[:data_profile] if args.key?(:data_profile)
231
+ end
232
+ end
233
+
234
+ # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](
235
+ # https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the
236
+ # finding.
237
+ class CloudDlpInspection
238
+ include Google::Apis::Core::Hashable
239
+
240
+ # Whether Cloud DLP scanned the complete resource or a sampled subset.
241
+ # Corresponds to the JSON property `fullScan`
242
+ # @return [Boolean]
243
+ attr_accessor :full_scan
244
+ alias_method :full_scan?, :full_scan
245
+
246
+ # The [type of information](https://cloud.google.com/dlp/docs/infotypes-
247
+ # reference) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
248
+ # Corresponds to the JSON property `infoType`
249
+ # @return [String]
250
+ attr_accessor :info_type
251
+
252
+ # The number of times Cloud DLP found this infoType within this job and resource.
253
+ # Corresponds to the JSON property `infoTypeCount`
254
+ # @return [Fixnum]
255
+ attr_accessor :info_type_count
256
+
257
+ # Name of the inspection job, for example, `projects/123/locations/europe/
258
+ # dlpJobs/i-8383929`.
259
+ # Corresponds to the JSON property `inspectJob`
260
+ # @return [String]
261
+ attr_accessor :inspect_job
262
+
263
+ def initialize(**args)
264
+ update!(**args)
265
+ end
266
+
267
+ # Update properties of this object
268
+ def update!(**args)
269
+ @full_scan = args[:full_scan] if args.key?(:full_scan)
270
+ @info_type = args[:info_type] if args.key?(:info_type)
271
+ @info_type_count = args[:info_type_count] if args.key?(:info_type_count)
272
+ @inspect_job = args[:inspect_job] if args.key?(:inspect_job)
273
+ end
274
+ end
275
+
213
276
  # Contains compliance information about a security standard indicating unmet
214
277
  # recommendations.
215
278
  class Compliance
@@ -900,6 +963,19 @@ module Google
900
963
  # @return [String]
901
964
  attr_accessor :category
902
965
 
966
+ # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated
967
+ # with the finding.
968
+ # Corresponds to the JSON property `cloudDlpDataProfile`
969
+ # @return [Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile]
970
+ attr_accessor :cloud_dlp_data_profile
971
+
972
+ # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](
973
+ # https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the
974
+ # finding.
975
+ # Corresponds to the JSON property `cloudDlpInspection`
976
+ # @return [Google::Apis::SecuritycenterV1beta2::CloudDlpInspection]
977
+ attr_accessor :cloud_dlp_inspection
978
+
903
979
  # Contains compliance information for security standards associated to the
904
980
  # finding.
905
981
  # Corresponds to the JSON property `compliances`
@@ -1017,6 +1093,12 @@ module Google
1017
1093
  # @return [Google::Apis::SecuritycenterV1beta2::MitreAttack]
1018
1094
  attr_accessor :mitre_attack
1019
1095
 
1096
+ # Unique identifier of the module which generated the finding. Example: folders/
1097
+ # 598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
1098
+ # Corresponds to the JSON property `moduleName`
1099
+ # @return [String]
1100
+ attr_accessor :module_name
1101
+
1020
1102
  # Indicates the mute state of a finding (either muted, unmuted or undefined).
1021
1103
  # Unlike other attributes of a finding, a finding provider shouldn't set the
1022
1104
  # value of mute.
@@ -1049,6 +1131,12 @@ module Google
1049
1131
  # @return [String]
1050
1132
  attr_accessor :next_steps
1051
1133
 
1134
+ # Contains information about the org policy constraints associated with the
1135
+ # finding.
1136
+ # Corresponds to the JSON property `orgPolicyConstraints`
1137
+ # @return [Array<Google::Apis::SecuritycenterV1beta2::OrgPolicyConstraint>]
1138
+ attr_accessor :org_policy_constraints
1139
+
1052
1140
  # The relative resource name of the source the finding belongs to. See: https://
1053
1141
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
1054
1142
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -1118,6 +1206,8 @@ module Google
1118
1206
  @access = args[:access] if args.key?(:access)
1119
1207
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
1120
1208
  @category = args[:category] if args.key?(:category)
1209
+ @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
1210
+ @cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
1121
1211
  @compliances = args[:compliances] if args.key?(:compliances)
1122
1212
  @connections = args[:connections] if args.key?(:connections)
1123
1213
  @contacts = args[:contacts] if args.key?(:contacts)
@@ -1136,11 +1226,13 @@ module Google
1136
1226
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1137
1227
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1138
1228
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1229
+ @module_name = args[:module_name] if args.key?(:module_name)
1139
1230
  @mute = args[:mute] if args.key?(:mute)
1140
1231
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
1141
1232
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
1142
1233
  @name = args[:name] if args.key?(:name)
1143
1234
  @next_steps = args[:next_steps] if args.key?(:next_steps)
1235
+ @org_policy_constraints = args[:org_policy_constraints] if args.key?(:org_policy_constraints)
1144
1236
  @parent = args[:parent] if args.key?(:parent)
1145
1237
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1146
1238
  @processes = args[:processes] if args.key?(:processes)
@@ -1646,11 +1738,29 @@ module Google
1646
1738
  class GoogleCloudSecuritycenterV1ResourceValueConfig
1647
1739
  include Google::Apis::Core::Hashable
1648
1740
 
1741
+ # Output only. Timestamp this resource value config was created.
1742
+ # Corresponds to the JSON property `createTime`
1743
+ # @return [String]
1744
+ attr_accessor :create_time
1745
+
1746
+ # Description of the resource value config.
1747
+ # Corresponds to the JSON property `description`
1748
+ # @return [String]
1749
+ attr_accessor :description
1750
+
1649
1751
  # Name for the resource value config
1650
1752
  # Corresponds to the JSON property `name`
1651
1753
  # @return [String]
1652
1754
  attr_accessor :name
1653
1755
 
1756
+ # List of resource labels to search for, evaluated with AND. E.g. "
1757
+ # resource_labels_selector": `"key": "value", "env": "prod"` will match
1758
+ # resources with labels "key": "value" AND "env": "prod" https://cloud.google.
1759
+ # com/resource-manager/docs/creating-managing-labels
1760
+ # Corresponds to the JSON property `resourceLabelsSelector`
1761
+ # @return [Hash<String,String>]
1762
+ attr_accessor :resource_labels_selector
1763
+
1654
1764
  # Apply resource_value only to resources that match resource_type. resource_type
1655
1765
  # will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
1656
1766
  # Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
@@ -1678,17 +1788,26 @@ module Google
1678
1788
  # @return [Array<String>]
1679
1789
  attr_accessor :tag_values
1680
1790
 
1791
+ # Output only. Timestamp this resource value config was last updated.
1792
+ # Corresponds to the JSON property `updateTime`
1793
+ # @return [String]
1794
+ attr_accessor :update_time
1795
+
1681
1796
  def initialize(**args)
1682
1797
  update!(**args)
1683
1798
  end
1684
1799
 
1685
1800
  # Update properties of this object
1686
1801
  def update!(**args)
1802
+ @create_time = args[:create_time] if args.key?(:create_time)
1803
+ @description = args[:description] if args.key?(:description)
1687
1804
  @name = args[:name] if args.key?(:name)
1805
+ @resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector)
1688
1806
  @resource_type = args[:resource_type] if args.key?(:resource_type)
1689
1807
  @resource_value = args[:resource_value] if args.key?(:resource_value)
1690
1808
  @scope = args[:scope] if args.key?(:scope)
1691
1809
  @tag_values = args[:tag_values] if args.key?(:tag_values)
1810
+ @update_time = args[:update_time] if args.key?(:update_time)
1692
1811
  end
1693
1812
  end
1694
1813
 
@@ -2426,6 +2545,26 @@ module Google
2426
2545
  end
2427
2546
  end
2428
2547
 
2548
+ # Encapsulates data about a constraint associated with an organization policy.
2549
+ class OrgPolicyConstraint
2550
+ include Google::Apis::Core::Hashable
2551
+
2552
+ # The resource name of the constraint. Example: "organizations/`organization_id`/
2553
+ # constraints/`constraint_name`"
2554
+ # Corresponds to the JSON property `name`
2555
+ # @return [String]
2556
+ attr_accessor :name
2557
+
2558
+ def initialize(**args)
2559
+ update!(**args)
2560
+ end
2561
+
2562
+ # Update properties of this object
2563
+ def update!(**args)
2564
+ @name = args[:name] if args.key?(:name)
2565
+ end
2566
+ end
2567
+
2429
2568
  # Represents one point that an attacker passes through in this exposure path.
2430
2569
  class PathNode
2431
2570
  include Google::Apis::Core::Hashable
@@ -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.43.0"
19
+ GEM_VERSION = "0.45.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.1"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230112"
25
+ REVISION = "20230321"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,18 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class CloudDlpDataProfile
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class CloudDlpInspection
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
43
55
  class Compliance
44
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
57
 
@@ -334,6 +346,12 @@ module Google
334
346
  include Google::Apis::Core::JsonObjectSupport
335
347
  end
336
348
 
349
+ class OrgPolicyConstraint
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
337
355
  class PathNode
338
356
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
357
 
@@ -476,6 +494,23 @@ module Google
476
494
  end
477
495
  end
478
496
 
497
+ class CloudDlpDataProfile
498
+ # @private
499
+ class Representation < Google::Apis::Core::JsonRepresentation
500
+ property :data_profile, as: 'dataProfile'
501
+ end
502
+ end
503
+
504
+ class CloudDlpInspection
505
+ # @private
506
+ class Representation < Google::Apis::Core::JsonRepresentation
507
+ property :full_scan, as: 'fullScan'
508
+ property :info_type, as: 'infoType'
509
+ property :info_type_count, :numeric_string => true, as: 'infoTypeCount'
510
+ property :inspect_job, as: 'inspectJob'
511
+ end
512
+ end
513
+
479
514
  class Compliance
480
515
  # @private
481
516
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -661,6 +696,10 @@ module Google
661
696
 
662
697
  property :canonical_name, as: 'canonicalName'
663
698
  property :category, as: 'category'
699
+ property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta2::CloudDlpDataProfile::Representation
700
+
701
+ property :cloud_dlp_inspection, as: 'cloudDlpInspection', class: Google::Apis::SecuritycenterV1beta2::CloudDlpInspection, decorator: Google::Apis::SecuritycenterV1beta2::CloudDlpInspection::Representation
702
+
664
703
  collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1beta2::Compliance, decorator: Google::Apis::SecuritycenterV1beta2::Compliance::Representation
665
704
 
666
705
  collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta2::Connection, decorator: Google::Apis::SecuritycenterV1beta2::Connection::Representation
@@ -692,11 +731,14 @@ module Google
692
731
 
693
732
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta2::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta2::MitreAttack::Representation
694
733
 
734
+ property :module_name, as: 'moduleName'
695
735
  property :mute, as: 'mute'
696
736
  property :mute_initiator, as: 'muteInitiator'
697
737
  property :mute_update_time, as: 'muteUpdateTime'
698
738
  property :name, as: 'name'
699
739
  property :next_steps, as: 'nextSteps'
740
+ collection :org_policy_constraints, as: 'orgPolicyConstraints', class: Google::Apis::SecuritycenterV1beta2::OrgPolicyConstraint, decorator: Google::Apis::SecuritycenterV1beta2::OrgPolicyConstraint::Representation
741
+
700
742
  property :parent, as: 'parent'
701
743
  property :parent_display_name, as: 'parentDisplayName'
702
744
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta2::Process, decorator: Google::Apis::SecuritycenterV1beta2::Process::Representation
@@ -837,11 +879,15 @@ module Google
837
879
  class GoogleCloudSecuritycenterV1ResourceValueConfig
838
880
  # @private
839
881
  class Representation < Google::Apis::Core::JsonRepresentation
882
+ property :create_time, as: 'createTime'
883
+ property :description, as: 'description'
840
884
  property :name, as: 'name'
885
+ hash :resource_labels_selector, as: 'resourceLabelsSelector'
841
886
  property :resource_type, as: 'resourceType'
842
887
  property :resource_value, as: 'resourceValue'
843
888
  property :scope, as: 'scope'
844
889
  collection :tag_values, as: 'tagValues'
890
+ property :update_time, as: 'updateTime'
845
891
  end
846
892
  end
847
893
 
@@ -1034,6 +1080,13 @@ module Google
1034
1080
  end
1035
1081
  end
1036
1082
 
1083
+ class OrgPolicyConstraint
1084
+ # @private
1085
+ class Representation < Google::Apis::Core::JsonRepresentation
1086
+ property :name, as: 'name'
1087
+ end
1088
+ end
1089
+
1037
1090
  class PathNode
1038
1091
  # @private
1039
1092
  class Representation < Google::Apis::Core::JsonRepresentation
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.43.0
4
+ version: 0.45.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: 2023-01-15 00:00:00.000000000 Z
11
+ date: 2023-03-26 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.9.1
19
+ version: 0.11.0
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.9.1
29
+ version: 0.11.0
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.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.45.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: []