google-cloud-security_center-v1 0.7.0 → 0.7.1

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: 7a4802e5de4cd2e0dfb73d4ec8e449b23c30ae1b48a7e2fc8dddc9d26bdea014
4
- data.tar.gz: a336485043570eb96577c22c6a8737058c85492cfc5907812889b885e1d32be4
3
+ metadata.gz: 60f1f430d79f4d8359b3650131b4e9175878b27af37098281c6e02b25e333ab9
4
+ data.tar.gz: 3e9513ee1f2fa7d03efe58a098acd369d29a278bc98594352a1d79ec32cdfe90
5
5
  SHA512:
6
- metadata.gz: 9e20f85d514eff0df987074390f3171c817fd0260db835d55612fc26941eb6bf9b1f6190e722649361d9b6970d8b75f112218c1618e691df61f40fde4d1d8be8
7
- data.tar.gz: 46ef76e9f34c12f5ce921302ed917b0a7190ef284399a088a7279095ed9dad422fd182f37e9994323dd2844ff62fee20d5276f587eb883b6bec1b5db6b5e7457
6
+ metadata.gz: 994b5127276623fb54c2f9ab73f6c435f80dbe5dc9c0d28e2ff5a7b0676388fab63d5faae4eec005d197c2f12968929e7d1bdad563ec63629bf2d725db214943
7
+ data.tar.gz: 1107d79549caf1644e5d94232a56d8765e8ee483aa88ee7af0f27bc3281fbd9cf6a72ed0b8b8d0146591f8b9534886e7813796ff29141d12abf9f2ecc6b2d926
@@ -296,8 +296,8 @@ module Google
296
296
  # Required. Resource name of the new source's parent. Its format should be
297
297
  # "organizations/[organization_id]".
298
298
  # @param source [::Google::Cloud::SecurityCenter::V1::Source, ::Hash]
299
- # Required. The Source being created, only the display_name and description will be
300
- # used. All other fields will be ignored.
299
+ # Required. The Source being created, only the display_name and description
300
+ # will be used. All other fields will be ignored.
301
301
  #
302
302
  # @yield [response, operation] Access the result along with the RPC operation
303
303
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::Source]
@@ -371,8 +371,8 @@ module Google
371
371
  # It must be alphanumeric and less than or equal to 32 characters and
372
372
  # greater than 0 characters in length.
373
373
  # @param finding [::Google::Cloud::SecurityCenter::V1::Finding, ::Hash]
374
- # Required. The Finding being created. The name and security_marks will be ignored as
375
- # they are both output only fields on this resource.
374
+ # Required. The Finding being created. The name and security_marks will be
375
+ # ignored as they are both output only fields on this resource.
376
376
  #
377
377
  # @yield [response, operation] Access the result along with the RPC operation
378
378
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::Finding]
@@ -438,16 +438,17 @@ module Google
438
438
  # the default parameter values, pass an empty Hash as a request object (see above).
439
439
  #
440
440
  # @param parent [::String]
441
- # Required. Resource name of the new notification config's parent. Its format is
442
- # "organizations/[organization_id]".
441
+ # Required. Resource name of the new notification config's parent. Its format
442
+ # is "organizations/[organization_id]".
443
443
  # @param config_id [::String]
444
444
  # Required.
445
445
  # Unique identifier provided by the client within the parent scope.
446
446
  # It must be between 1 and 128 characters, and contains alphanumeric
447
447
  # characters, underscores or hyphens only.
448
448
  # @param notification_config [::Google::Cloud::SecurityCenter::V1::NotificationConfig, ::Hash]
449
- # Required. The notification config being created. The name and the service account
450
- # will be ignored as they are both output only fields on this resource.
449
+ # Required. The notification config being created. The name and the service
450
+ # account will be ignored as they are both output only fields on this
451
+ # resource.
451
452
  #
452
453
  # @yield [response, operation] Access the result along with the RPC operation
453
454
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::NotificationConfig]
@@ -717,8 +718,8 @@ module Google
717
718
  # the default parameter values, pass an empty Hash as a request object (see above).
718
719
  #
719
720
  # @param name [::String]
720
- # Required. Name of the organization to get organization settings for. Its format is
721
- # "organizations/[organization_id]/organizationSettings".
721
+ # Required. Name of the organization to get organization settings for. Its
722
+ # format is "organizations/[organization_id]/organizationSettings".
722
723
  #
723
724
  # @yield [response, operation] Access the result along with the RPC operation
724
725
  # @yieldparam response [::Google::Cloud::SecurityCenter::V1::OrganizationSettings]
@@ -919,9 +920,9 @@ module Google
919
920
  # Use a negated partial match on the empty string to filter based on a
920
921
  # property not existing: `-resource_properties.my_property : ""`
921
922
  # @param group_by [::String]
922
- # Required. Expression that defines what assets fields to use for grouping. The string
923
- # value should follow SQL syntax: comma separated list of fields. For
924
- # example:
923
+ # Required. Expression that defines what assets fields to use for grouping.
924
+ # The string value should follow SQL syntax: comma separated list of fields.
925
+ # For example:
925
926
  # "security_center_properties.resource_project,security_center_properties.project".
926
927
  #
927
928
  # The following fields are supported when compare_duration is not set:
@@ -1090,27 +1091,36 @@ module Google
1090
1091
  # * category: `=`, `:`
1091
1092
  # * external_uri: `=`, `:`
1092
1093
  # * event_time: `=`, `>`, `<`, `>=`, `<=`
1093
- # * severity: `=`, `:`
1094
1094
  #
1095
1095
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
1096
1096
  # Examples:
1097
1097
  # `event_time = "2019-06-10T16:07:18-07:00"`
1098
1098
  # `event_time = 1560208038000`
1099
1099
  #
1100
+ # * severity: `=`, `:`
1101
+ # * workflow_state: `=`, `:`
1100
1102
  # * security_marks.marks: `=`, `:`
1101
1103
  # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1102
1104
  #
1103
- # For example, `source_properties.size = 100` is a valid filter string.
1105
+ # For example, `source_properties.size = 100` is a valid filter string.
1104
1106
  #
1105
- # Use a partial match on the empty string to filter based on a property
1106
- # existing: `source_properties.my_property : ""`
1107
+ # Use a partial match on the empty string to filter based on a property
1108
+ # existing: `source_properties.my_property : ""`
1107
1109
  #
1108
- # Use a negated partial match on the empty string to filter based on a
1109
- # property not existing: `-source_properties.my_property : ""`
1110
+ # Use a negated partial match on the empty string to filter based on a
1111
+ # property not existing: `-source_properties.my_property : ""`
1112
+ #
1113
+ # * resource:
1114
+ # * resource.name: `=`, `:`
1115
+ # * resource.parent_name: `=`, `:`
1116
+ # * resource.parent_display_name: `=`, `:`
1117
+ # * resource.project_name: `=`, `:`
1118
+ # * resource.project_display_name: `=`, `:`
1119
+ # * resource.type: `=`, `:`
1110
1120
  # @param group_by [::String]
1111
- # Required. Expression that defines what assets fields to use for grouping (including
1112
- # `state_change`). The string value should follow SQL syntax: comma separated
1113
- # list of fields. For example: "parent,resource_name".
1121
+ # Required. Expression that defines what assets fields to use for grouping
1122
+ # (including `state_change`). The string value should follow SQL syntax:
1123
+ # comma separated list of fields. For example: "parent,resource_name".
1114
1124
  #
1115
1125
  # The following fields are supported:
1116
1126
  #
@@ -1473,23 +1483,33 @@ module Google
1473
1483
  # * category: `=`, `:`
1474
1484
  # * external_uri: `=`, `:`
1475
1485
  # * event_time: `=`, `>`, `<`, `>=`, `<=`
1476
- # * severity: `=`, `:`
1477
1486
  #
1478
1487
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
1479
1488
  # Examples:
1480
1489
  # `event_time = "2019-06-10T16:07:18-07:00"`
1481
1490
  # `event_time = 1560208038000`
1482
1491
  #
1483
- # security_marks.marks: `=`, `:`
1484
- # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1492
+ # * severity: `=`, `:`
1493
+ # * workflow_state: `=`, `:`
1494
+ # * security_marks.marks: `=`, `:`
1495
+ # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
1485
1496
  #
1486
- # For example, `source_properties.size = 100` is a valid filter string.
1497
+ # For example, `source_properties.size = 100` is a valid filter string.
1487
1498
  #
1488
- # Use a partial match on the empty string to filter based on a property
1489
- # existing: `source_properties.my_property : ""`
1499
+ # Use a partial match on the empty string to filter based on a property
1500
+ # existing: `source_properties.my_property : ""`
1490
1501
  #
1491
- # Use a negated partial match on the empty string to filter based on a
1492
- # property not existing: `-source_properties.my_property : ""`
1502
+ # Use a negated partial match on the empty string to filter based on a
1503
+ # property not existing: `-source_properties.my_property : ""`
1504
+ #
1505
+ # * resource:
1506
+ # * resource.name: `=`, `:`
1507
+ # * resource.parent_name: `=`, `:`
1508
+ # * resource.parent_display_name: `=`, `:`
1509
+ # * resource.project_name: `=`, `:`
1510
+ # * resource.project_display_name: `=`, `:`
1511
+ # * resource.type: `=`, `:`
1512
+ # * resource.folders.resource_folder: `=`, `:`
1493
1513
  # @param order_by [::String]
1494
1514
  # Expression that defines what fields and order to use for sorting. The
1495
1515
  # string value should follow SQL syntax: comma separated list of fields. For
@@ -1696,8 +1716,8 @@ module Google
1696
1716
  # the default parameter values, pass an empty Hash as a request object (see above).
1697
1717
  #
1698
1718
  # @param parent [::String]
1699
- # Required. Resource name of the parent of sources to list. Its format should be
1700
- # "organizations/[organization_id], folders/[folder_id], or
1719
+ # Required. Resource name of the parent of sources to list. Its format should
1720
+ # be "organizations/[organization_id], folders/[folder_id], or
1701
1721
  # projects/[project_id]".
1702
1722
  # @param page_token [::String]
1703
1723
  # The value returned by the last `ListSourcesResponse`; indicates
@@ -1777,8 +1797,8 @@ module Google
1777
1797
  # the default parameter values, pass an empty Hash as a request object (see above).
1778
1798
  #
1779
1799
  # @param parent [::String]
1780
- # Required. Name of the organization to run asset discovery for. Its format is
1781
- # "organizations/[organization_id]".
1800
+ # Required. Name of the organization to run asset discovery for. Its format
1801
+ # is "organizations/[organization_id]".
1782
1802
  #
1783
1803
  # @yield [response, operation] Access the result along with the RPC operation
1784
1804
  # @yieldparam response [::Gapic::Operation]
@@ -2063,8 +2083,8 @@ module Google
2063
2083
  # the default parameter values, pass an empty Hash as a request object (see above).
2064
2084
  #
2065
2085
  # @param finding [::Google::Cloud::SecurityCenter::V1::Finding, ::Hash]
2066
- # Required. The finding resource to update or create if it does not already exist.
2067
- # parent, security_marks, and update_time will be ignored.
2086
+ # Required. The finding resource to update or create if it does not already
2087
+ # exist. parent, security_marks, and update_time will be ignored.
2068
2088
  #
2069
2089
  # In the case of creation, the finding id portion of the name must be
2070
2090
  # alphanumeric and less than or equal to 32 characters and greater than 0
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecurityCenter
23
23
  module V1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.7.1"
25
25
  end
26
26
  end
27
27
  end
@@ -33,8 +33,8 @@ module Google
33
33
  # greater than 0 characters in length.
34
34
  # @!attribute [rw] finding
35
35
  # @return [::Google::Cloud::SecurityCenter::V1::Finding]
36
- # Required. The Finding being created. The name and security_marks will be ignored as
37
- # they are both output only fields on this resource.
36
+ # Required. The Finding being created. The name and security_marks will be
37
+ # ignored as they are both output only fields on this resource.
38
38
  class CreateFindingRequest
39
39
  include ::Google::Protobuf::MessageExts
40
40
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -43,8 +43,8 @@ module Google
43
43
  # Request message for creating a notification config.
44
44
  # @!attribute [rw] parent
45
45
  # @return [::String]
46
- # Required. Resource name of the new notification config's parent. Its format is
47
- # "organizations/[organization_id]".
46
+ # Required. Resource name of the new notification config's parent. Its format
47
+ # is "organizations/[organization_id]".
48
48
  # @!attribute [rw] config_id
49
49
  # @return [::String]
50
50
  # Required.
@@ -53,8 +53,9 @@ module Google
53
53
  # characters, underscores or hyphens only.
54
54
  # @!attribute [rw] notification_config
55
55
  # @return [::Google::Cloud::SecurityCenter::V1::NotificationConfig]
56
- # Required. The notification config being created. The name and the service account
57
- # will be ignored as they are both output only fields on this resource.
56
+ # Required. The notification config being created. The name and the service
57
+ # account will be ignored as they are both output only fields on this
58
+ # resource.
58
59
  class CreateNotificationConfigRequest
59
60
  include ::Google::Protobuf::MessageExts
60
61
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -67,8 +68,8 @@ module Google
67
68
  # "organizations/[organization_id]".
68
69
  # @!attribute [rw] source
69
70
  # @return [::Google::Cloud::SecurityCenter::V1::Source]
70
- # Required. The Source being created, only the display_name and description will be
71
- # used. All other fields will be ignored.
71
+ # Required. The Source being created, only the display_name and description
72
+ # will be used. All other fields will be ignored.
72
73
  class CreateSourceRequest
73
74
  include ::Google::Protobuf::MessageExts
74
75
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -97,8 +98,8 @@ module Google
97
98
  # Request message for getting organization settings.
98
99
  # @!attribute [rw] name
99
100
  # @return [::String]
100
- # Required. Name of the organization to get organization settings for. Its format is
101
- # "organizations/[organization_id]/organizationSettings".
101
+ # Required. Name of the organization to get organization settings for. Its
102
+ # format is "organizations/[organization_id]/organizationSettings".
102
103
  class GetOrganizationSettingsRequest
103
104
  include ::Google::Protobuf::MessageExts
104
105
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -186,9 +187,9 @@ module Google
186
187
  # property not existing: `-resource_properties.my_property : ""`
187
188
  # @!attribute [rw] group_by
188
189
  # @return [::String]
189
- # Required. Expression that defines what assets fields to use for grouping. The string
190
- # value should follow SQL syntax: comma separated list of fields. For
191
- # example:
190
+ # Required. Expression that defines what assets fields to use for grouping.
191
+ # The string value should follow SQL syntax: comma separated list of fields.
192
+ # For example:
192
193
  # "security_center_properties.resource_project,security_center_properties.project".
193
194
  #
194
195
  # The following fields are supported when compare_duration is not set:
@@ -319,28 +320,37 @@ module Google
319
320
  # * category: `=`, `:`
320
321
  # * external_uri: `=`, `:`
321
322
  # * event_time: `=`, `>`, `<`, `>=`, `<=`
322
- # * severity: `=`, `:`
323
323
  #
324
324
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
325
325
  # Examples:
326
326
  # `event_time = "2019-06-10T16:07:18-07:00"`
327
327
  # `event_time = 1560208038000`
328
328
  #
329
+ # * severity: `=`, `:`
330
+ # * workflow_state: `=`, `:`
329
331
  # * security_marks.marks: `=`, `:`
330
332
  # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
331
333
  #
332
- # For example, `source_properties.size = 100` is a valid filter string.
334
+ # For example, `source_properties.size = 100` is a valid filter string.
333
335
  #
334
- # Use a partial match on the empty string to filter based on a property
335
- # existing: `source_properties.my_property : ""`
336
+ # Use a partial match on the empty string to filter based on a property
337
+ # existing: `source_properties.my_property : ""`
336
338
  #
337
- # Use a negated partial match on the empty string to filter based on a
338
- # property not existing: `-source_properties.my_property : ""`
339
+ # Use a negated partial match on the empty string to filter based on a
340
+ # property not existing: `-source_properties.my_property : ""`
341
+ #
342
+ # * resource:
343
+ # * resource.name: `=`, `:`
344
+ # * resource.parent_name: `=`, `:`
345
+ # * resource.parent_display_name: `=`, `:`
346
+ # * resource.project_name: `=`, `:`
347
+ # * resource.project_display_name: `=`, `:`
348
+ # * resource.type: `=`, `:`
339
349
  # @!attribute [rw] group_by
340
350
  # @return [::String]
341
- # Required. Expression that defines what assets fields to use for grouping (including
342
- # `state_change`). The string value should follow SQL syntax: comma separated
343
- # list of fields. For example: "parent,resource_name".
351
+ # Required. Expression that defines what assets fields to use for grouping
352
+ # (including `state_change`). The string value should follow SQL syntax:
353
+ # comma separated list of fields. For example: "parent,resource_name".
344
354
  #
345
355
  # The following fields are supported:
346
356
  #
@@ -484,8 +494,8 @@ module Google
484
494
  # Request message for listing sources.
485
495
  # @!attribute [rw] parent
486
496
  # @return [::String]
487
- # Required. Resource name of the parent of sources to list. Its format should be
488
- # "organizations/[organization_id], folders/[folder_id], or
497
+ # Required. Resource name of the parent of sources to list. Its format should
498
+ # be "organizations/[organization_id], folders/[folder_id], or
489
499
  # projects/[project_id]".
490
500
  # @!attribute [rw] page_token
491
501
  # @return [::String]
@@ -754,23 +764,33 @@ module Google
754
764
  # * category: `=`, `:`
755
765
  # * external_uri: `=`, `:`
756
766
  # * event_time: `=`, `>`, `<`, `>=`, `<=`
757
- # * severity: `=`, `:`
758
767
  #
759
768
  # Usage: This should be milliseconds since epoch or an RFC3339 string.
760
769
  # Examples:
761
770
  # `event_time = "2019-06-10T16:07:18-07:00"`
762
771
  # `event_time = 1560208038000`
763
772
  #
764
- # security_marks.marks: `=`, `:`
765
- # source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
773
+ # * severity: `=`, `:`
774
+ # * workflow_state: `=`, `:`
775
+ # * security_marks.marks: `=`, `:`
776
+ # * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
766
777
  #
767
- # For example, `source_properties.size = 100` is a valid filter string.
778
+ # For example, `source_properties.size = 100` is a valid filter string.
768
779
  #
769
- # Use a partial match on the empty string to filter based on a property
770
- # existing: `source_properties.my_property : ""`
780
+ # Use a partial match on the empty string to filter based on a property
781
+ # existing: `source_properties.my_property : ""`
771
782
  #
772
- # Use a negated partial match on the empty string to filter based on a
773
- # property not existing: `-source_properties.my_property : ""`
783
+ # Use a negated partial match on the empty string to filter based on a
784
+ # property not existing: `-source_properties.my_property : ""`
785
+ #
786
+ # * resource:
787
+ # * resource.name: `=`, `:`
788
+ # * resource.parent_name: `=`, `:`
789
+ # * resource.parent_display_name: `=`, `:`
790
+ # * resource.project_name: `=`, `:`
791
+ # * resource.project_display_name: `=`, `:`
792
+ # * resource.type: `=`, `:`
793
+ # * resource.folders.resource_folder: `=`, `:`
774
794
  # @!attribute [rw] order_by
775
795
  # @return [::String]
776
796
  # Expression that defines what fields and order to use for sorting. The
@@ -958,8 +978,8 @@ module Google
958
978
  # Request message for running asset discovery for an organization.
959
979
  # @!attribute [rw] parent
960
980
  # @return [::String]
961
- # Required. Name of the organization to run asset discovery for. Its format is
962
- # "organizations/[organization_id]".
981
+ # Required. Name of the organization to run asset discovery for. Its format
982
+ # is "organizations/[organization_id]".
963
983
  class RunAssetDiscoveryRequest
964
984
  include ::Google::Protobuf::MessageExts
965
985
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -968,8 +988,8 @@ module Google
968
988
  # Request message for updating or creating a finding.
969
989
  # @!attribute [rw] finding
970
990
  # @return [::Google::Cloud::SecurityCenter::V1::Finding]
971
- # Required. The finding resource to update or create if it does not already exist.
972
- # parent, security_marks, and update_time will be ignored.
991
+ # Required. The finding resource to update or create if it does not already
992
+ # exist. parent, security_marks, and update_time will be ignored.
973
993
  #
974
994
  # In the case of creation, the finding id portion of the name must be
975
995
  # alphanumeric and less than or equal to 32 characters and greater than 0
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-security_center-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-18 00:00:00.000000000 Z
11
+ date: 2021-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0.5'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '0.4'
22
+ version: 2.a
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '0.5'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '0.4'
32
+ version: 2.a
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: google-cloud-errors
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,7 +53,7 @@ dependencies:
47
53
  version: 0.6.10
48
54
  - - "<"
49
55
  - !ruby/object:Gem::Version
50
- version: '2.0'
56
+ version: 2.a
51
57
  type: :runtime
52
58
  prerelease: false
53
59
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +63,7 @@ dependencies:
57
63
  version: 0.6.10
58
64
  - - "<"
59
65
  - !ruby/object:Gem::Version
60
- version: '2.0'
66
+ version: 2.a
61
67
  - !ruby/object:Gem::Dependency
62
68
  name: google-style
63
69
  requirement: !ruby/object:Gem::Requirement