google-apis-securitycenter_v1beta1 0.47.0 → 0.49.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: b73cb77149668f7b38d318dc5797e05106dd4a8a5f4ce557a6d2476551425f0e
4
- data.tar.gz: fd24510b4ca641d91cc97da2ed8a30ecf45742d17139eaf1d43fb627290d4d05
3
+ metadata.gz: 3b0bc39da7a40d188d32e982bb57273373d73204e3bcd267190c403e6acbb684
4
+ data.tar.gz: 3cf3b08bf32f89b520a64d0be44b4145231ee3a7b2191e84d21ef2b602ddc02c
5
5
  SHA512:
6
- metadata.gz: 5c903481ef978ff6fa01748e2255647791672f1b8e667f46d5bd730f375625b501f95f43754d8034417204ee3e6814b1cd629eb073f7a8f538416371d6108f8f
7
- data.tar.gz: 6ee85305615b86b818f9367babab7e475d1efbcae76c91d8064a6c3731b232a1869ae92ff448b1b08e2037d3590c6e3f255efff2e11a78de8d9b3f120a0e1f29
6
+ metadata.gz: 14c5c8181b58cc4f436c44469416634be0eec32cebf2b00a17c2468c03df7d935d9f1476fff63e1f61fe5b29a4602c3a7722c8d2a42f33dd4b9e2bfcab9c05b9
7
+ data.tar.gz: 00f2d5da21360b7e9e6f1a9d194c87787fe1b6eab8543aba3dffd43c29d08d65be0f061f6c3f39ef7e0e3e86da65034dd4ef8c6617c8b2a9d75962ca71d648f0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-securitycenter_v1beta1
2
2
 
3
+ ### v0.49.0 (2023-03-26)
4
+
5
+ * Regenerated from discovery document revision 20230321
6
+
7
+ ### v0.48.0 (2023-03-12)
8
+
9
+ * Regenerated from discovery document revision 20230306
10
+
3
11
  ### v0.47.0 (2023-02-19)
4
12
 
5
13
  * Regenerated using generator version 0.12.0
@@ -456,6 +456,69 @@ module Google
456
456
  end
457
457
  end
458
458
 
459
+ # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated
460
+ # with the finding.
461
+ class CloudDlpDataProfile
462
+ include Google::Apis::Core::Hashable
463
+
464
+ # Name of the data profile, for example, `projects/123/locations/europe/
465
+ # tableProfiles/8383929`.
466
+ # Corresponds to the JSON property `dataProfile`
467
+ # @return [String]
468
+ attr_accessor :data_profile
469
+
470
+ def initialize(**args)
471
+ update!(**args)
472
+ end
473
+
474
+ # Update properties of this object
475
+ def update!(**args)
476
+ @data_profile = args[:data_profile] if args.key?(:data_profile)
477
+ end
478
+ end
479
+
480
+ # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](
481
+ # https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the
482
+ # finding.
483
+ class CloudDlpInspection
484
+ include Google::Apis::Core::Hashable
485
+
486
+ # Whether Cloud DLP scanned the complete resource or a sampled subset.
487
+ # Corresponds to the JSON property `fullScan`
488
+ # @return [Boolean]
489
+ attr_accessor :full_scan
490
+ alias_method :full_scan?, :full_scan
491
+
492
+ # The [type of information](https://cloud.google.com/dlp/docs/infotypes-
493
+ # reference) found, for example, `EMAIL_ADDRESS` or `STREET_ADDRESS`.
494
+ # Corresponds to the JSON property `infoType`
495
+ # @return [String]
496
+ attr_accessor :info_type
497
+
498
+ # The number of times Cloud DLP found this infoType within this job and resource.
499
+ # Corresponds to the JSON property `infoTypeCount`
500
+ # @return [Fixnum]
501
+ attr_accessor :info_type_count
502
+
503
+ # Name of the inspection job, for example, `projects/123/locations/europe/
504
+ # dlpJobs/i-8383929`.
505
+ # Corresponds to the JSON property `inspectJob`
506
+ # @return [String]
507
+ attr_accessor :inspect_job
508
+
509
+ def initialize(**args)
510
+ update!(**args)
511
+ end
512
+
513
+ # Update properties of this object
514
+ def update!(**args)
515
+ @full_scan = args[:full_scan] if args.key?(:full_scan)
516
+ @info_type = args[:info_type] if args.key?(:info_type)
517
+ @info_type_count = args[:info_type_count] if args.key?(:info_type_count)
518
+ @inspect_job = args[:inspect_job] if args.key?(:inspect_job)
519
+ end
520
+ end
521
+
459
522
  # Contains compliance information about a security standard indicating unmet
460
523
  # recommendations.
461
524
  class Compliance
@@ -1065,6 +1128,19 @@ module Google
1065
1128
  # @return [String]
1066
1129
  attr_accessor :category
1067
1130
 
1131
+ # The [data profile](https://cloud.google.com/dlp/docs/data-profiles) associated
1132
+ # with the finding.
1133
+ # Corresponds to the JSON property `cloudDlpDataProfile`
1134
+ # @return [Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile]
1135
+ attr_accessor :cloud_dlp_data_profile
1136
+
1137
+ # Details about the Cloud Data Loss Prevention (Cloud DLP) [inspection job](
1138
+ # https://cloud.google.com/dlp/docs/concepts-job-triggers) that produced the
1139
+ # finding.
1140
+ # Corresponds to the JSON property `cloudDlpInspection`
1141
+ # @return [Google::Apis::SecuritycenterV1beta1::CloudDlpInspection]
1142
+ attr_accessor :cloud_dlp_inspection
1143
+
1068
1144
  # Contains compliance information for security standards associated to the
1069
1145
  # finding.
1070
1146
  # Corresponds to the JSON property `compliances`
@@ -1182,6 +1258,12 @@ module Google
1182
1258
  # @return [Google::Apis::SecuritycenterV1beta1::MitreAttack]
1183
1259
  attr_accessor :mitre_attack
1184
1260
 
1261
+ # Unique identifier of the module which generated the finding. Example: folders/
1262
+ # 598186756061/securityHealthAnalyticsSettings/customModules/56799441161885
1263
+ # Corresponds to the JSON property `moduleName`
1264
+ # @return [String]
1265
+ attr_accessor :module_name
1266
+
1185
1267
  # Indicates the mute state of a finding (either muted, unmuted or undefined).
1186
1268
  # Unlike other attributes of a finding, a finding provider shouldn't set the
1187
1269
  # value of mute.
@@ -1214,6 +1296,12 @@ module Google
1214
1296
  # @return [String]
1215
1297
  attr_accessor :next_steps
1216
1298
 
1299
+ # Contains information about the org policy constraints associated with the
1300
+ # finding.
1301
+ # Corresponds to the JSON property `orgPolicyConstraints`
1302
+ # @return [Array<Google::Apis::SecuritycenterV1beta1::OrgPolicyConstraint>]
1303
+ attr_accessor :org_policy_constraints
1304
+
1217
1305
  # The relative resource name of the source the finding belongs to. See: https://
1218
1306
  # cloud.google.com/apis/design/resource_names#relative_resource_name This field
1219
1307
  # is immutable after creation time. For example: "organizations/`organization_id`
@@ -1283,6 +1371,8 @@ module Google
1283
1371
  @access = args[:access] if args.key?(:access)
1284
1372
  @canonical_name = args[:canonical_name] if args.key?(:canonical_name)
1285
1373
  @category = args[:category] if args.key?(:category)
1374
+ @cloud_dlp_data_profile = args[:cloud_dlp_data_profile] if args.key?(:cloud_dlp_data_profile)
1375
+ @cloud_dlp_inspection = args[:cloud_dlp_inspection] if args.key?(:cloud_dlp_inspection)
1286
1376
  @compliances = args[:compliances] if args.key?(:compliances)
1287
1377
  @connections = args[:connections] if args.key?(:connections)
1288
1378
  @contacts = args[:contacts] if args.key?(:contacts)
@@ -1301,11 +1391,13 @@ module Google
1301
1391
  @kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
1302
1392
  @kubernetes = args[:kubernetes] if args.key?(:kubernetes)
1303
1393
  @mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
1394
+ @module_name = args[:module_name] if args.key?(:module_name)
1304
1395
  @mute = args[:mute] if args.key?(:mute)
1305
1396
  @mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
1306
1397
  @mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
1307
1398
  @name = args[:name] if args.key?(:name)
1308
1399
  @next_steps = args[:next_steps] if args.key?(:next_steps)
1400
+ @org_policy_constraints = args[:org_policy_constraints] if args.key?(:org_policy_constraints)
1309
1401
  @parent = args[:parent] if args.key?(:parent)
1310
1402
  @parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
1311
1403
  @processes = args[:processes] if args.key?(:processes)
@@ -1858,11 +1950,29 @@ module Google
1858
1950
  class GoogleCloudSecuritycenterV1ResourceValueConfig
1859
1951
  include Google::Apis::Core::Hashable
1860
1952
 
1953
+ # Output only. Timestamp this resource value config was created.
1954
+ # Corresponds to the JSON property `createTime`
1955
+ # @return [String]
1956
+ attr_accessor :create_time
1957
+
1958
+ # Description of the resource value config.
1959
+ # Corresponds to the JSON property `description`
1960
+ # @return [String]
1961
+ attr_accessor :description
1962
+
1861
1963
  # Name for the resource value config
1862
1964
  # Corresponds to the JSON property `name`
1863
1965
  # @return [String]
1864
1966
  attr_accessor :name
1865
1967
 
1968
+ # List of resource labels to search for, evaluated with AND. E.g. "
1969
+ # resource_labels_selector": `"key": "value", "env": "prod"` will match
1970
+ # resources with labels "key": "value" AND "env": "prod" https://cloud.google.
1971
+ # com/resource-manager/docs/creating-managing-labels
1972
+ # Corresponds to the JSON property `resourceLabelsSelector`
1973
+ # @return [Hash<String,String>]
1974
+ attr_accessor :resource_labels_selector
1975
+
1866
1976
  # Apply resource_value only to resources that match resource_type. resource_type
1867
1977
  # will be checked with "AND" of other resources. E.g. "storage.googleapis.com/
1868
1978
  # Bucket" with resource_value "HIGH" will apply "HIGH" value only to "storage.
@@ -1890,17 +2000,26 @@ module Google
1890
2000
  # @return [Array<String>]
1891
2001
  attr_accessor :tag_values
1892
2002
 
2003
+ # Output only. Timestamp this resource value config was last updated.
2004
+ # Corresponds to the JSON property `updateTime`
2005
+ # @return [String]
2006
+ attr_accessor :update_time
2007
+
1893
2008
  def initialize(**args)
1894
2009
  update!(**args)
1895
2010
  end
1896
2011
 
1897
2012
  # Update properties of this object
1898
2013
  def update!(**args)
2014
+ @create_time = args[:create_time] if args.key?(:create_time)
2015
+ @description = args[:description] if args.key?(:description)
1899
2016
  @name = args[:name] if args.key?(:name)
2017
+ @resource_labels_selector = args[:resource_labels_selector] if args.key?(:resource_labels_selector)
1900
2018
  @resource_type = args[:resource_type] if args.key?(:resource_type)
1901
2019
  @resource_value = args[:resource_value] if args.key?(:resource_value)
1902
2020
  @scope = args[:scope] if args.key?(:scope)
1903
2021
  @tag_values = args[:tag_values] if args.key?(:tag_values)
2022
+ @update_time = args[:update_time] if args.key?(:update_time)
1904
2023
  end
1905
2024
  end
1906
2025
 
@@ -3200,6 +3319,26 @@ module Google
3200
3319
  end
3201
3320
  end
3202
3321
 
3322
+ # Encapsulates data about a constraint associated with an organization policy.
3323
+ class OrgPolicyConstraint
3324
+ include Google::Apis::Core::Hashable
3325
+
3326
+ # The resource name of the constraint. Example: "organizations/`organization_id`/
3327
+ # constraints/`constraint_name`"
3328
+ # Corresponds to the JSON property `name`
3329
+ # @return [String]
3330
+ attr_accessor :name
3331
+
3332
+ def initialize(**args)
3333
+ update!(**args)
3334
+ end
3335
+
3336
+ # Update properties of this object
3337
+ def update!(**args)
3338
+ @name = args[:name] if args.key?(:name)
3339
+ end
3340
+ end
3341
+
3203
3342
  # User specified settings that are attached to the Security Command Center
3204
3343
  # organization.
3205
3344
  class OrganizationSettings
@@ -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.47.0"
19
+ GEM_VERSION = "0.49.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230126"
25
+ REVISION = "20230321"
26
26
  end
27
27
  end
28
28
  end
@@ -76,6 +76,18 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class CloudDlpDataProfile
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class CloudDlpInspection
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class Compliance
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -442,6 +454,12 @@ module Google
442
454
  include Google::Apis::Core::JsonObjectSupport
443
455
  end
444
456
 
457
+ class OrgPolicyConstraint
458
+ class Representation < Google::Apis::Core::JsonRepresentation; end
459
+
460
+ include Google::Apis::Core::JsonObjectSupport
461
+ end
462
+
445
463
  class OrganizationSettings
446
464
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
465
 
@@ -663,6 +681,23 @@ module Google
663
681
  end
664
682
  end
665
683
 
684
+ class CloudDlpDataProfile
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :data_profile, as: 'dataProfile'
688
+ end
689
+ end
690
+
691
+ class CloudDlpInspection
692
+ # @private
693
+ class Representation < Google::Apis::Core::JsonRepresentation
694
+ property :full_scan, as: 'fullScan'
695
+ property :info_type, as: 'infoType'
696
+ property :info_type_count, :numeric_string => true, as: 'infoTypeCount'
697
+ property :inspect_job, as: 'inspectJob'
698
+ end
699
+ end
700
+
666
701
  class Compliance
667
702
  # @private
668
703
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -824,6 +859,10 @@ module Google
824
859
 
825
860
  property :canonical_name, as: 'canonicalName'
826
861
  property :category, as: 'category'
862
+ property :cloud_dlp_data_profile, as: 'cloudDlpDataProfile', class: Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile, decorator: Google::Apis::SecuritycenterV1beta1::CloudDlpDataProfile::Representation
863
+
864
+ property :cloud_dlp_inspection, as: 'cloudDlpInspection', class: Google::Apis::SecuritycenterV1beta1::CloudDlpInspection, decorator: Google::Apis::SecuritycenterV1beta1::CloudDlpInspection::Representation
865
+
827
866
  collection :compliances, as: 'compliances', class: Google::Apis::SecuritycenterV1beta1::Compliance, decorator: Google::Apis::SecuritycenterV1beta1::Compliance::Representation
828
867
 
829
868
  collection :connections, as: 'connections', class: Google::Apis::SecuritycenterV1beta1::Connection, decorator: Google::Apis::SecuritycenterV1beta1::Connection::Representation
@@ -855,11 +894,14 @@ module Google
855
894
 
856
895
  property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
857
896
 
897
+ property :module_name, as: 'moduleName'
858
898
  property :mute, as: 'mute'
859
899
  property :mute_initiator, as: 'muteInitiator'
860
900
  property :mute_update_time, as: 'muteUpdateTime'
861
901
  property :name, as: 'name'
862
902
  property :next_steps, as: 'nextSteps'
903
+ collection :org_policy_constraints, as: 'orgPolicyConstraints', class: Google::Apis::SecuritycenterV1beta1::OrgPolicyConstraint, decorator: Google::Apis::SecuritycenterV1beta1::OrgPolicyConstraint::Representation
904
+
863
905
  property :parent, as: 'parent'
864
906
  property :parent_display_name, as: 'parentDisplayName'
865
907
  collection :processes, as: 'processes', class: Google::Apis::SecuritycenterV1beta1::Process, decorator: Google::Apis::SecuritycenterV1beta1::Process::Representation
@@ -1015,11 +1057,15 @@ module Google
1015
1057
  class GoogleCloudSecuritycenterV1ResourceValueConfig
1016
1058
  # @private
1017
1059
  class Representation < Google::Apis::Core::JsonRepresentation
1060
+ property :create_time, as: 'createTime'
1061
+ property :description, as: 'description'
1018
1062
  property :name, as: 'name'
1063
+ hash :resource_labels_selector, as: 'resourceLabelsSelector'
1019
1064
  property :resource_type, as: 'resourceType'
1020
1065
  property :resource_value, as: 'resourceValue'
1021
1066
  property :scope, as: 'scope'
1022
1067
  collection :tag_values, as: 'tagValues'
1068
+ property :update_time, as: 'updateTime'
1023
1069
  end
1024
1070
  end
1025
1071
 
@@ -1341,6 +1387,13 @@ module Google
1341
1387
  end
1342
1388
  end
1343
1389
 
1390
+ class OrgPolicyConstraint
1391
+ # @private
1392
+ class Representation < Google::Apis::Core::JsonRepresentation
1393
+ property :name, as: 'name'
1394
+ end
1395
+ end
1396
+
1344
1397
  class OrganizationSettings
1345
1398
  # @private
1346
1399
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -426,13 +426,7 @@ module Google
426
426
  end
427
427
 
428
428
  # Lists operations that match the specified filter in the request. If the server
429
- # doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
430
- # binding allows API services to override the binding to use different resource
431
- # name schemes, such as `users/*/operations`. To override the binding, API
432
- # services can add a binding such as `"/v1/`name=users/*`/operations"` to their
433
- # service configuration. For backwards compatibility, the default name includes
434
- # the operations collection id, however overriding users must ensure the name
435
- # binding is the parent resource, without the operations collection id.
429
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
436
430
  # @param [String] name
437
431
  # The name of the operation's parent resource.
438
432
  # @param [String] filter
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.47.0
4
+ version: 0.49.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-02-19 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
@@ -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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.49.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: []