google-apis-securityposture_v1 0.8.0 → 0.9.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b4f9d57a8894b6242ce0fbf2fdaa99307f0bbebfd48399443dd27495952e51a
|
|
4
|
+
data.tar.gz: 959264b350d4353699e7f69d467e16fad6a42aa9ab4e5770a3bc9d8031683415
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fe1d8a92b62fda6471bca6f81b49df75224529933c2901586e4d0a65e571c6c886604f76a3948c323c7577cb864733100c4fce23a599a4dc3d6f1ca922795795
|
|
7
|
+
data.tar.gz: f780bc039ddddc63bf2c93b5e97a8fafd2e4d19e69649fe7ab578026ca56f9e2c939b472a840aeec6a4403f2d283a9c3314801123462d744b7e9298c0354b871
|
data/CHANGELOG.md
CHANGED
|
@@ -595,6 +595,51 @@ module Google
|
|
|
595
595
|
end
|
|
596
596
|
end
|
|
597
597
|
|
|
598
|
+
# Represents the criteria for considering an IaC validation as a failure.
|
|
599
|
+
class IacValidationFailureCriteria
|
|
600
|
+
include Google::Apis::Core::Hashable
|
|
601
|
+
|
|
602
|
+
# Output only. The time at which the resource was created.
|
|
603
|
+
# Corresponds to the JSON property `createTime`
|
|
604
|
+
# @return [String]
|
|
605
|
+
attr_accessor :create_time
|
|
606
|
+
|
|
607
|
+
# Optional. The etag for optimistic concurrency.
|
|
608
|
+
# Corresponds to the JSON property `etag`
|
|
609
|
+
# @return [String]
|
|
610
|
+
attr_accessor :etag
|
|
611
|
+
|
|
612
|
+
# Identifier. The resource name of the IacValidationFailureCriteria. Format:
|
|
613
|
+
# organizations/`organization`/locations/`location`/iacValidationFailureCriteria
|
|
614
|
+
# Corresponds to the JSON property `name`
|
|
615
|
+
# @return [String]
|
|
616
|
+
attr_accessor :name
|
|
617
|
+
|
|
618
|
+
# Optional. A list of severity thresholds. An IaC validation fails if any
|
|
619
|
+
# threshold is exceeded.
|
|
620
|
+
# Corresponds to the JSON property `severityCountThresholds`
|
|
621
|
+
# @return [Array<Google::Apis::SecuritypostureV1::SeverityCountThreshold>]
|
|
622
|
+
attr_accessor :severity_count_thresholds
|
|
623
|
+
|
|
624
|
+
# Output only. The time at which the resource was last updated.
|
|
625
|
+
# Corresponds to the JSON property `updateTime`
|
|
626
|
+
# @return [String]
|
|
627
|
+
attr_accessor :update_time
|
|
628
|
+
|
|
629
|
+
def initialize(**args)
|
|
630
|
+
update!(**args)
|
|
631
|
+
end
|
|
632
|
+
|
|
633
|
+
# Update properties of this object
|
|
634
|
+
def update!(**args)
|
|
635
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
636
|
+
@etag = args[:etag] if args.key?(:etag)
|
|
637
|
+
@name = args[:name] if args.key?(:name)
|
|
638
|
+
@severity_count_thresholds = args[:severity_count_thresholds] if args.key?(:severity_count_thresholds)
|
|
639
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
640
|
+
end
|
|
641
|
+
end
|
|
642
|
+
|
|
598
643
|
# The response message for Locations.ListLocations.
|
|
599
644
|
class ListLocationsResponse
|
|
600
645
|
include Google::Apis::Core::Hashable
|
|
@@ -1642,6 +1687,31 @@ module Google
|
|
|
1642
1687
|
end
|
|
1643
1688
|
end
|
|
1644
1689
|
|
|
1690
|
+
# Represents a threshold for a specific severity.
|
|
1691
|
+
class SeverityCountThreshold
|
|
1692
|
+
include Google::Apis::Core::Hashable
|
|
1693
|
+
|
|
1694
|
+
# Optional. The severity level, reusing the existing Violation.Severity.
|
|
1695
|
+
# Corresponds to the JSON property `severity`
|
|
1696
|
+
# @return [String]
|
|
1697
|
+
attr_accessor :severity
|
|
1698
|
+
|
|
1699
|
+
# Optional. If violation count meets or exceeds this threshold, validation fails.
|
|
1700
|
+
# Corresponds to the JSON property `thresholdCount`
|
|
1701
|
+
# @return [Fixnum]
|
|
1702
|
+
attr_accessor :threshold_count
|
|
1703
|
+
|
|
1704
|
+
def initialize(**args)
|
|
1705
|
+
update!(**args)
|
|
1706
|
+
end
|
|
1707
|
+
|
|
1708
|
+
# Update properties of this object
|
|
1709
|
+
def update!(**args)
|
|
1710
|
+
@severity = args[:severity] if args.key?(:severity)
|
|
1711
|
+
@threshold_count = args[:threshold_count] if args.key?(:threshold_count)
|
|
1712
|
+
end
|
|
1713
|
+
end
|
|
1714
|
+
|
|
1645
1715
|
# The `Status` type defines a logical error model that is suitable for different
|
|
1646
1716
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
1647
1717
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module SecuritypostureV1
|
|
18
18
|
# Version of the google-apis-securityposture_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.9.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260205"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -112,6 +112,12 @@ module Google
|
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
113
|
end
|
|
114
114
|
|
|
115
|
+
class IacValidationFailureCriteria
|
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
+
|
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
+
end
|
|
120
|
+
|
|
115
121
|
class ListLocationsResponse
|
|
116
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
123
|
|
|
@@ -262,6 +268,12 @@ module Google
|
|
|
262
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
263
269
|
end
|
|
264
270
|
|
|
271
|
+
class SeverityCountThreshold
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
265
277
|
class Status
|
|
266
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
279
|
|
|
@@ -419,6 +431,18 @@ module Google
|
|
|
419
431
|
end
|
|
420
432
|
end
|
|
421
433
|
|
|
434
|
+
class IacValidationFailureCriteria
|
|
435
|
+
# @private
|
|
436
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
437
|
+
property :create_time, as: 'createTime'
|
|
438
|
+
property :etag, as: 'etag'
|
|
439
|
+
property :name, as: 'name'
|
|
440
|
+
collection :severity_count_thresholds, as: 'severityCountThresholds', class: Google::Apis::SecuritypostureV1::SeverityCountThreshold, decorator: Google::Apis::SecuritypostureV1::SeverityCountThreshold::Representation
|
|
441
|
+
|
|
442
|
+
property :update_time, as: 'updateTime'
|
|
443
|
+
end
|
|
444
|
+
end
|
|
445
|
+
|
|
422
446
|
class ListLocationsResponse
|
|
423
447
|
# @private
|
|
424
448
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -690,6 +714,14 @@ module Google
|
|
|
690
714
|
end
|
|
691
715
|
end
|
|
692
716
|
|
|
717
|
+
class SeverityCountThreshold
|
|
718
|
+
# @private
|
|
719
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
720
|
+
property :severity, as: 'severity'
|
|
721
|
+
property :threshold_count, as: 'thresholdCount'
|
|
722
|
+
end
|
|
723
|
+
end
|
|
724
|
+
|
|
693
725
|
class Status
|
|
694
726
|
# @private
|
|
695
727
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-securityposture_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securityposture_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securityposture_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securityposture_v1/v0.9.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securityposture_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|