google-apis-securitycenter_v1beta2 0.14.0 → 0.17.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: ef7fa24d106bfa87f1b631a40fd68ae955e6d2646376d2f08e5953b1a9f40de7
4
- data.tar.gz: df78d03cab7d0d997ab1cdc03d27ffc6e3dc9e23f8639daa69800bab961cab95
3
+ metadata.gz: bb065002c475e9a804d0fd7d454fe84cbb55b503b6bf99fe76d92b62843ce12c
4
+ data.tar.gz: 46c794af2b772852b93e30c7cf675127ac6ae34dec8889ebd2125e6cca74e228
5
5
  SHA512:
6
- metadata.gz: 76072218cf8082f510782f1a141b0e758131e2e778e53e807171aad73775cfb9a8d5b65a0e6b83b04e856b75a9767748cb316b3a50fd6ee7210b69e50ae304b3
7
- data.tar.gz: 49e0bf11e89f0b31d53e04c1180bf36d4c4304161e7ee41df12e6730af06f3798d6d6eca172858093796038e1deed919466789aa8386b7785d780f8c06a4c26d
6
+ metadata.gz: df6f54dc8078d1ddad2522a71939405afb1fd997d098109e2086698c83096199b7a257b8d25102b7cec8fe7559473f7107848adcef6b6cb1a56f72e80a39a04c
7
+ data.tar.gz: 02a796932763e39e9a43fe508bd98c34d8d71fec5674f2d1d69e5650079a1cded356a5022e520cb677e2fef7fce8822796fabc7b32fa7b2c1a5278c57862b996
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # Release history for google-apis-securitycenter_v1beta2
2
2
 
3
+ ### v0.17.0 (2022-03-08)
4
+
5
+ * Regenerated from discovery document revision 20220303
6
+
7
+ ### v0.16.0 (2022-02-23)
8
+
9
+ * Regenerated from discovery document revision 20220219
10
+
11
+ ### v0.15.0 (2022-02-15)
12
+
13
+ * Regenerated from discovery document revision 20220210
14
+
3
15
  ### v0.14.0 (2022-02-01)
4
16
 
5
17
  * Regenerated from discovery document revision 20220127
@@ -172,6 +172,12 @@ module Google
172
172
  # @return [Array<Google::Apis::SecuritycenterV1beta2::Reference>]
173
173
  attr_accessor :references
174
174
 
175
+ # Whether upstream fix is available for the CVE.
176
+ # Corresponds to the JSON property `upstreamFixAvailable`
177
+ # @return [Boolean]
178
+ attr_accessor :upstream_fix_available
179
+ alias_method :upstream_fix_available?, :upstream_fix_available
180
+
175
181
  def initialize(**args)
176
182
  update!(**args)
177
183
  end
@@ -181,6 +187,7 @@ module Google
181
187
  @cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
182
188
  @id = args[:id] if args.key?(:id)
183
189
  @references = args[:references] if args.key?(:references)
190
+ @upstream_fix_available = args[:upstream_fix_available] if args.key?(:upstream_fix_available)
184
191
  end
185
192
  end
186
193
 
@@ -560,6 +567,93 @@ module Google
560
567
  end
561
568
  end
562
569
 
570
+ # Configures how to deliver Findings to BigQuery Instance.
571
+ class GoogleCloudSecuritycenterV1BigQueryExport
572
+ include Google::Apis::Core::Hashable
573
+
574
+ # Output only. The time at which the big query export was created. This field is
575
+ # set by the server and will be ignored if provided on export on creation.
576
+ # Corresponds to the JSON property `createTime`
577
+ # @return [String]
578
+ attr_accessor :create_time
579
+
580
+ # The dataset to write findings' updates to. Its format is "projects/[project_id]
581
+ # /datasets/[bigquery_dataset_id]". BigQuery Dataset unique ID must contain only
582
+ # letters (a-z, A-Z), numbers (0-9), or underscores (_).
583
+ # Corresponds to the JSON property `dataset`
584
+ # @return [String]
585
+ attr_accessor :dataset
586
+
587
+ # The description of the export (max of 1024 characters).
588
+ # Corresponds to the JSON property `description`
589
+ # @return [String]
590
+ attr_accessor :description
591
+
592
+ # Expression that defines the filter to apply across create/update events of
593
+ # findings. The expression is a list of zero or more restrictions combined via
594
+ # logical operators `AND` and `OR`. Parentheses are supported, and `OR` has
595
+ # higher precedence than `AND`. Restrictions have the form ` ` and may have a `-`
596
+ # character in front of them to indicate negation. The fields map to those
597
+ # defined in the corresponding resource. The supported operators are: * `=` for
598
+ # all value types. * `>`, `<`, `>=`, `<=` for integer values. * `:`, meaning
599
+ # substring matching, for strings. The supported value types are: * string
600
+ # literals in quotes. * integer literals without quotes. * boolean literals `
601
+ # true` and `false` without quotes. Please see the proto documentation in the
602
+ # finding (https://source.corp.google.com/piper///depot/google3/google/cloud/
603
+ # securitycenter/v1/finding.proto) and in the ListFindingsRequest for valid
604
+ # filter syntax. (https://source.corp.google.com/piper///depot/google3/google/
605
+ # cloud/securitycenter/v1/securitycenter_service.proto).
606
+ # Corresponds to the JSON property `filter`
607
+ # @return [String]
608
+ attr_accessor :filter
609
+
610
+ # Output only. Email address of the user who last edited the big query export.
611
+ # This field is set by the server and will be ignored if provided on export
612
+ # creation or update.
613
+ # Corresponds to the JSON property `mostRecentEditor`
614
+ # @return [String]
615
+ attr_accessor :most_recent_editor
616
+
617
+ # The relative resource name of this export. See: https://cloud.google.com/apis/
618
+ # design/resource_names#relative_resource_name. Example format: "organizations/`
619
+ # organization_id`/bigQueryExports/`export_id`" Example format: "folders/`
620
+ # folder_id`/bigQueryExports/`export_id`" Example format: "projects/`project_id`/
621
+ # bigQueryExports/`export_id`" This field is provided in responses, and is
622
+ # ignored when provided in create requests.
623
+ # Corresponds to the JSON property `name`
624
+ # @return [String]
625
+ attr_accessor :name
626
+
627
+ # Output only. The service account that needs permission to create table, upload
628
+ # data to the big query dataset.
629
+ # Corresponds to the JSON property `principal`
630
+ # @return [String]
631
+ attr_accessor :principal
632
+
633
+ # Output only. The most recent time at which the big export was updated. This
634
+ # field is set by the server and will be ignored if provided on export creation
635
+ # or update.
636
+ # Corresponds to the JSON property `updateTime`
637
+ # @return [String]
638
+ attr_accessor :update_time
639
+
640
+ def initialize(**args)
641
+ update!(**args)
642
+ end
643
+
644
+ # Update properties of this object
645
+ def update!(**args)
646
+ @create_time = args[:create_time] if args.key?(:create_time)
647
+ @dataset = args[:dataset] if args.key?(:dataset)
648
+ @description = args[:description] if args.key?(:description)
649
+ @filter = args[:filter] if args.key?(:filter)
650
+ @most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
651
+ @name = args[:name] if args.key?(:name)
652
+ @principal = args[:principal] if args.key?(:principal)
653
+ @update_time = args[:update_time] if args.key?(:update_time)
654
+ end
655
+ end
656
+
563
657
  # The response to a BulkMute request. Contains the LRO information.
564
658
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
565
659
  include Google::Apis::Core::Hashable
@@ -593,10 +687,10 @@ module Google
593
687
  # @return [String]
594
688
  attr_accessor :external_uid
595
689
 
596
- # External System Name e.g. jira, demisto, etc. e.g.: organizations/1234/sources/
597
- # 5678/findings/123456/externalSystems/jira folders/1234/sources/5678/findings/
598
- # 123456/externalSystems/jira projects/1234/sources/5678/findings/123456/
599
- # externalSystems/jira
690
+ # External System Name e.g. jira, demisto, etc. e.g.: `organizations/1234/
691
+ # sources/5678/findings/123456/externalSystems/jira` `folders/1234/sources/5678/
692
+ # findings/123456/externalSystems/jira` `projects/1234/sources/5678/findings/
693
+ # 123456/externalSystems/jira`
600
694
  # Corresponds to the JSON property `name`
601
695
  # @return [String]
602
696
  attr_accessor :name
@@ -765,7 +859,7 @@ module Google
765
859
  # @return [String]
766
860
  attr_accessor :project
767
861
 
768
- # The human readable name of project that the resource belongs to.
862
+ # The project id that the resource belongs to.
769
863
  # Corresponds to the JSON property `projectDisplayName`
770
864
  # @return [String]
771
865
  attr_accessor :project_display_name
@@ -1050,7 +1144,7 @@ module Google
1050
1144
  # @return [String]
1051
1145
  attr_accessor :project
1052
1146
 
1053
- # The human readable name of project that the resource belongs to.
1147
+ # The project id that the resource belongs to.
1054
1148
  # Corresponds to the JSON property `projectDisplayName`
1055
1149
  # @return [String]
1056
1150
  attr_accessor :project_display_name
@@ -1194,9 +1288,9 @@ module Google
1194
1288
  # The MITRE ATT&CK technique most closely represented by this finding, if any.
1195
1289
  # primary_techniques is a repeated field because there are multiple levels of
1196
1290
  # MITRE ATT&CK techniques. If the technique most closely represented by this
1197
- # finding is a sub-technique (e.g. SCANNING_IP_BLOCKS), both the sub-technique
1198
- # and its parent technique(s) will be listed (e.g. SCANNING_IP_BLOCKS,
1199
- # ACTIVE_SCANNING).
1291
+ # finding is a sub-technique (e.g. `SCANNING_IP_BLOCKS`), both the sub-technique
1292
+ # and its parent technique(s) will be listed (e.g. `SCANNING_IP_BLOCKS`, `
1293
+ # ACTIVE_SCANNING`).
1200
1294
  # Corresponds to the JSON property `primaryTechniques`
1201
1295
  # @return [Array<String>]
1202
1296
  attr_accessor :primary_techniques
@@ -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.14.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220127"
25
+ REVISION = "20220303"
26
26
  end
27
27
  end
28
28
  end
@@ -82,6 +82,12 @@ module Google
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
+ class GoogleCloudSecuritycenterV1BigQueryExport
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
85
91
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
86
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
93
 
@@ -261,6 +267,7 @@ module Google
261
267
  property :id, as: 'id'
262
268
  collection :references, as: 'references', class: Google::Apis::SecuritycenterV1beta2::Reference, decorator: Google::Apis::SecuritycenterV1beta2::Reference::Representation
263
269
 
270
+ property :upstream_fix_available, as: 'upstreamFixAvailable'
264
271
  end
265
272
  end
266
273
 
@@ -347,6 +354,20 @@ module Google
347
354
  end
348
355
  end
349
356
 
357
+ class GoogleCloudSecuritycenterV1BigQueryExport
358
+ # @private
359
+ class Representation < Google::Apis::Core::JsonRepresentation
360
+ property :create_time, as: 'createTime'
361
+ property :dataset, as: 'dataset'
362
+ property :description, as: 'description'
363
+ property :filter, as: 'filter'
364
+ property :most_recent_editor, as: 'mostRecentEditor'
365
+ property :name, as: 'name'
366
+ property :principal, as: 'principal'
367
+ property :update_time, as: 'updateTime'
368
+ end
369
+ end
370
+
350
371
  class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
351
372
  # @private
352
373
  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.14.0
4
+ version: 0.17.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-02-07 00:00:00.000000000 Z
11
+ date: 2022-03-14 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_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta2/v0.17.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: []