google-apis-securitycenter_v1 0.17.0 → 0.21.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 +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/securitycenter_v1/classes.rb +17 -8
- data/lib/google/apis/securitycenter_v1/gem_version.rb +3 -3
- data/lib/google/apis/securitycenter_v1/representations.rb +1 -0
- data/lib/google/apis/securitycenter_v1/service.rb +12 -6
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74e5eb1c047c50fe7fb9a7523b337079f9ad81a2884c3547e256083913a3af8b
|
4
|
+
data.tar.gz: 30e638ed6cc5c62936ac03173e23a0f2f9e031e91838e2784a4b57ed94f01b6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2749cdc51c8a321e65b9e8f6dee3584e70a2cc8fb129d98a1e0a6e57d869c873a36117f02b203ade501864739e1d1d8bb42d86ad21cad8bc60e86e1429a5845c
|
7
|
+
data.tar.gz: 69952bf3dd5838e3ce8eecd5427d7eeb1cb07e575574d3465c50958e476e0ba9d001e7796f08f1b5dbe6305d4d76939ace02aa1d7a70a5fd74bf3f6e2a92c7a7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.21.0 (2022-02-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220210
|
6
|
+
|
7
|
+
### v0.20.0 (2022-02-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220127
|
10
|
+
|
11
|
+
### v0.19.0 (2022-01-19)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220113
|
14
|
+
* Regenerated using generator version 0.4.1
|
15
|
+
|
16
|
+
### v0.18.0 (2021-12-16)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
3
20
|
### v0.17.0 (2021-12-09)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211207
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/securitycenter_v1"
|
|
51
51
|
client = Google::Apis::SecuritycenterV1::SecurityCommandCenterService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -381,6 +381,12 @@ module Google
|
|
381
381
|
# @return [Array<Google::Apis::SecuritycenterV1::Reference>]
|
382
382
|
attr_accessor :references
|
383
383
|
|
384
|
+
# Whether upstream fix is available for the CVE.
|
385
|
+
# Corresponds to the JSON property `upstreamFixAvailable`
|
386
|
+
# @return [Boolean]
|
387
|
+
attr_accessor :upstream_fix_available
|
388
|
+
alias_method :upstream_fix_available?, :upstream_fix_available
|
389
|
+
|
384
390
|
def initialize(**args)
|
385
391
|
update!(**args)
|
386
392
|
end
|
@@ -390,6 +396,7 @@ module Google
|
|
390
396
|
@cvssv3 = args[:cvssv3] if args.key?(:cvssv3)
|
391
397
|
@id = args[:id] if args.key?(:id)
|
392
398
|
@references = args[:references] if args.key?(:references)
|
399
|
+
@upstream_fix_available = args[:upstream_fix_available] if args.key?(:upstream_fix_available)
|
393
400
|
end
|
394
401
|
end
|
395
402
|
|
@@ -574,12 +581,12 @@ module Google
|
|
574
581
|
# @return [String]
|
575
582
|
attr_accessor :create_time
|
576
583
|
|
577
|
-
# The time
|
578
|
-
# occurred. For example, if the finding
|
579
|
-
#
|
580
|
-
#
|
581
|
-
#
|
582
|
-
# value greater than the current timestamp.
|
584
|
+
# The time the finding was first detected. If an existing finding is updated,
|
585
|
+
# then this is the time the update occurred. For example, if the finding
|
586
|
+
# represents an open firewall, this property captures the time the detector
|
587
|
+
# believes the firewall became open. The accuracy is determined by the detector.
|
588
|
+
# If the finding is later resolved, then this time reflects when the finding was
|
589
|
+
# resolved. This must not be set to a value greater than the current timestamp.
|
583
590
|
# Corresponds to the JSON property `eventTime`
|
584
591
|
# @return [String]
|
585
592
|
attr_accessor :event_time
|
@@ -617,14 +624,16 @@ module Google
|
|
617
624
|
attr_accessor :mitre_attack
|
618
625
|
|
619
626
|
# Indicates the mute state of a finding (either unspecified, muted, unmuted or
|
620
|
-
# undefined).
|
627
|
+
# undefined). Unlike other attributes of a finding, a finding provider shouldn't
|
628
|
+
# set the value of mute.
|
621
629
|
# Corresponds to the JSON property `mute`
|
622
630
|
# @return [String]
|
623
631
|
attr_accessor :mute
|
624
632
|
|
625
633
|
# First known as mute_annotation. Records additional information about the mute
|
626
634
|
# operation e.g. mute config that muted the finding, user who muted the finding,
|
627
|
-
# etc.
|
635
|
+
# etc. Unlike other attributes of a finding, a finding provider shouldn't set
|
636
|
+
# the value of mute.
|
628
637
|
# Corresponds to the JSON property `muteInitiator`
|
629
638
|
# @return [String]
|
630
639
|
attr_accessor :mute_initiator
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1
|
18
18
|
# Version of the google-apis-securitycenter_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220210"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -482,6 +482,7 @@ module Google
|
|
482
482
|
property :id, as: 'id'
|
483
483
|
collection :references, as: 'references', class: Google::Apis::SecuritycenterV1::Reference, decorator: Google::Apis::SecuritycenterV1::Reference::Representation
|
484
484
|
|
485
|
+
property :upstream_fix_available, as: 'upstreamFixAvailable'
|
485
486
|
end
|
486
487
|
end
|
487
488
|
|
@@ -211,7 +211,8 @@ module Google
|
|
211
211
|
# @param [String] start_time
|
212
212
|
# The time at which the updated SecurityMarks take effect. If not set uses
|
213
213
|
# current server time. Updates will be applied to the SecurityMarks that are
|
214
|
-
# active immediately preceding this time.
|
214
|
+
# active immediately preceding this time. Must be smaller or equal to the server
|
215
|
+
# time.
|
215
216
|
# @param [String] update_mask
|
216
217
|
# The FieldMask to use when updating the security marks resource. The field mask
|
217
218
|
# must not contain duplicate fields. If empty or set to "marks", all marks will
|
@@ -789,7 +790,8 @@ module Google
|
|
789
790
|
# @param [String] start_time
|
790
791
|
# The time at which the updated SecurityMarks take effect. If not set uses
|
791
792
|
# current server time. Updates will be applied to the SecurityMarks that are
|
792
|
-
# active immediately preceding this time.
|
793
|
+
# active immediately preceding this time. Must be smaller or equal to the server
|
794
|
+
# time.
|
793
795
|
# @param [String] update_mask
|
794
796
|
# The FieldMask to use when updating the security marks resource. The field mask
|
795
797
|
# must not contain duplicate fields. If empty or set to "marks", all marks will
|
@@ -1132,7 +1134,8 @@ module Google
|
|
1132
1134
|
# @param [String] start_time
|
1133
1135
|
# The time at which the updated SecurityMarks take effect. If not set uses
|
1134
1136
|
# current server time. Updates will be applied to the SecurityMarks that are
|
1135
|
-
# active immediately preceding this time.
|
1137
|
+
# active immediately preceding this time. Must be smaller or equal to the server
|
1138
|
+
# time.
|
1136
1139
|
# @param [String] update_mask
|
1137
1140
|
# The FieldMask to use when updating the security marks resource. The field mask
|
1138
1141
|
# must not contain duplicate fields. If empty or set to "marks", all marks will
|
@@ -2284,7 +2287,8 @@ module Google
|
|
2284
2287
|
# @param [String] start_time
|
2285
2288
|
# The time at which the updated SecurityMarks take effect. If not set uses
|
2286
2289
|
# current server time. Updates will be applied to the SecurityMarks that are
|
2287
|
-
# active immediately preceding this time.
|
2290
|
+
# active immediately preceding this time. Must be smaller or equal to the server
|
2291
|
+
# time.
|
2288
2292
|
# @param [String] update_mask
|
2289
2293
|
# The FieldMask to use when updating the security marks resource. The field mask
|
2290
2294
|
# must not contain duplicate fields. If empty or set to "marks", all marks will
|
@@ -2521,7 +2525,8 @@ module Google
|
|
2521
2525
|
# @param [String] start_time
|
2522
2526
|
# The time at which the updated SecurityMarks take effect. If not set uses
|
2523
2527
|
# current server time. Updates will be applied to the SecurityMarks that are
|
2524
|
-
# active immediately preceding this time.
|
2528
|
+
# active immediately preceding this time. Must be smaller or equal to the server
|
2529
|
+
# time.
|
2525
2530
|
# @param [String] update_mask
|
2526
2531
|
# The FieldMask to use when updating the security marks resource. The field mask
|
2527
2532
|
# must not contain duplicate fields. If empty or set to "marks", all marks will
|
@@ -3099,7 +3104,8 @@ module Google
|
|
3099
3104
|
# @param [String] start_time
|
3100
3105
|
# The time at which the updated SecurityMarks take effect. If not set uses
|
3101
3106
|
# current server time. Updates will be applied to the SecurityMarks that are
|
3102
|
-
# active immediately preceding this time.
|
3107
|
+
# active immediately preceding this time. Must be smaller or equal to the server
|
3108
|
+
# time.
|
3103
3109
|
# @param [String] update_mask
|
3104
3110
|
# The FieldMask to use when updating the security marks resource. The field mask
|
3105
3111
|
# must not contain duplicate fields. If empty or set to "marks", all marks will
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.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:
|
11
|
+
date: 2022-02-21 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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.5
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Security Command Center API V1
|