google-apis-securitycenter_v1 0.88.0 → 0.89.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: dad52aa81a0220290ee4bec48ae0f7d9c4bdcbd2f9e3728ee91353139a114959
|
|
4
|
+
data.tar.gz: 8bc5012aaf108da9e7ca17f0ceac585a18308082f6a8c17bcb1df5b7eee5a1e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f086d98b453feca679238232d761085a2dcf5646285ecedae9b08185f6f5d1b1ac1aacab59c7de210291d3ff379f1f8cc99fd3187fdb320a8b20f931c3c898a
|
|
7
|
+
data.tar.gz: 8c404a3c4331f549a99ef3ff5837d9a47dc5a8758cd0e7cc00ac89fb5e8cfd6ea47584a3bcb98e4030c617b1f1f2576c6d71454e10b27711d543a45570597107
|
data/CHANGELOG.md
CHANGED
|
@@ -1201,40 +1201,6 @@ module Google
|
|
|
1201
1201
|
end
|
|
1202
1202
|
end
|
|
1203
1203
|
|
|
1204
|
-
# YAML-based rule that uses CEL, which supports the declaration of variables and
|
|
1205
|
-
# a filtering predicate. A vulnerable resource is emitted if the evaluation is
|
|
1206
|
-
# false. Given: 1) the resource types as: - resource_types: "compute.googleapis.
|
|
1207
|
-
# com/Instance" - resource_types: "compute.googleapis.com/Firewall" 2) the CEL
|
|
1208
|
-
# policy spec as: name: bad_instance resource_filters: - name: instance
|
|
1209
|
-
# resource_type: compute.googleapis.com/Instance filter: > instance.status == '
|
|
1210
|
-
# RUNNING' && 'public' in instance.tags.items - name: firewall resource_type:
|
|
1211
|
-
# compute.googleapis.com/Firewall filter: > firewall.direction == 'INGRESS' && !
|
|
1212
|
-
# firewall.disabled && firewall.allowed.exists(rule, rule.IPProtocol.upperAscii()
|
|
1213
|
-
# in ['TCP', 'ALL'] && rule.ports.exists(port, network.portsInRange(port, '11-
|
|
1214
|
-
# 256'))) rule: match: - predicate: > instance.networkInterfaces.exists(net,
|
|
1215
|
-
# firewall.network == net.network) output: > `'message': 'Compute instance with
|
|
1216
|
-
# publicly accessible ports', 'instance': instance.name` Users are able to join
|
|
1217
|
-
# resource types together using the exact format as Kubernetes Validating
|
|
1218
|
-
# Admission policies.
|
|
1219
|
-
class CelPolicySpec
|
|
1220
|
-
include Google::Apis::Core::Hashable
|
|
1221
|
-
|
|
1222
|
-
# The CEL policy to evaluate to produce findings. A finding is generated when
|
|
1223
|
-
# the policy validation evaluates to false.
|
|
1224
|
-
# Corresponds to the JSON property `spec`
|
|
1225
|
-
# @return [String]
|
|
1226
|
-
attr_accessor :spec
|
|
1227
|
-
|
|
1228
|
-
def initialize(**args)
|
|
1229
|
-
update!(**args)
|
|
1230
|
-
end
|
|
1231
|
-
|
|
1232
|
-
# Update properties of this object
|
|
1233
|
-
def update!(**args)
|
|
1234
|
-
@spec = args[:spec] if args.key?(:spec)
|
|
1235
|
-
end
|
|
1236
|
-
end
|
|
1237
|
-
|
|
1238
1204
|
# Fields related to Google Cloud Armor findings.
|
|
1239
1205
|
class CloudArmor
|
|
1240
1206
|
include Google::Apis::Core::Hashable
|
|
@@ -3135,25 +3101,6 @@ module Google
|
|
|
3135
3101
|
class GoogleCloudSecuritycenterV1CustomConfig
|
|
3136
3102
|
include Google::Apis::Core::Hashable
|
|
3137
3103
|
|
|
3138
|
-
# YAML-based rule that uses CEL, which supports the declaration of variables and
|
|
3139
|
-
# a filtering predicate. A vulnerable resource is emitted if the evaluation is
|
|
3140
|
-
# false. Given: 1) the resource types as: - resource_types: "compute.googleapis.
|
|
3141
|
-
# com/Instance" - resource_types: "compute.googleapis.com/Firewall" 2) the CEL
|
|
3142
|
-
# policy spec as: name: bad_instance resource_filters: - name: instance
|
|
3143
|
-
# resource_type: compute.googleapis.com/Instance filter: > instance.status == '
|
|
3144
|
-
# RUNNING' && 'public' in instance.tags.items - name: firewall resource_type:
|
|
3145
|
-
# compute.googleapis.com/Firewall filter: > firewall.direction == 'INGRESS' && !
|
|
3146
|
-
# firewall.disabled && firewall.allowed.exists(rule, rule.IPProtocol.upperAscii()
|
|
3147
|
-
# in ['TCP', 'ALL'] && rule.ports.exists(port, network.portsInRange(port, '11-
|
|
3148
|
-
# 256'))) rule: match: - predicate: > instance.networkInterfaces.exists(net,
|
|
3149
|
-
# firewall.network == net.network) output: > `'message': 'Compute instance with
|
|
3150
|
-
# publicly accessible ports', 'instance': instance.name` Users are able to join
|
|
3151
|
-
# resource types together using the exact format as Kubernetes Validating
|
|
3152
|
-
# Admission policies.
|
|
3153
|
-
# Corresponds to the JSON property `celPolicy`
|
|
3154
|
-
# @return [Google::Apis::SecuritycenterV1::CelPolicySpec]
|
|
3155
|
-
attr_accessor :cel_policy
|
|
3156
|
-
|
|
3157
3104
|
# A set of optional name-value pairs that define custom source properties to
|
|
3158
3105
|
# return with each finding that is generated by the custom module. The custom
|
|
3159
3106
|
# source properties that are defined here are included in the finding JSON under
|
|
@@ -3212,7 +3159,6 @@ module Google
|
|
|
3212
3159
|
|
|
3213
3160
|
# Update properties of this object
|
|
3214
3161
|
def update!(**args)
|
|
3215
|
-
@cel_policy = args[:cel_policy] if args.key?(:cel_policy)
|
|
3216
3162
|
@custom_output = args[:custom_output] if args.key?(:custom_output)
|
|
3217
3163
|
@description = args[:description] if args.key?(:description)
|
|
3218
3164
|
@predicate = args[:predicate] if args.key?(:predicate)
|
|
@@ -10669,7 +10615,8 @@ module Google
|
|
|
10669
10615
|
class SetFindingStateRequest
|
|
10670
10616
|
include Google::Apis::Core::Hashable
|
|
10671
10617
|
|
|
10672
|
-
#
|
|
10618
|
+
# Optional. The time at which the updated state takes effect. If unset, defaults
|
|
10619
|
+
# to the request time.
|
|
10673
10620
|
# Corresponds to the JSON property `startTime`
|
|
10674
10621
|
# @return [String]
|
|
10675
10622
|
attr_accessor :start_time
|
|
@@ -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.89.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20241018"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -190,12 +190,6 @@ module Google
|
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
191
191
|
end
|
|
192
192
|
|
|
193
|
-
class CelPolicySpec
|
|
194
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
-
|
|
196
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
-
end
|
|
198
|
-
|
|
199
193
|
class CloudArmor
|
|
200
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
201
195
|
|
|
@@ -1882,13 +1876,6 @@ module Google
|
|
|
1882
1876
|
end
|
|
1883
1877
|
end
|
|
1884
1878
|
|
|
1885
|
-
class CelPolicySpec
|
|
1886
|
-
# @private
|
|
1887
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1888
|
-
property :spec, as: 'spec'
|
|
1889
|
-
end
|
|
1890
|
-
end
|
|
1891
|
-
|
|
1892
1879
|
class CloudArmor
|
|
1893
1880
|
# @private
|
|
1894
1881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2366,8 +2353,6 @@ module Google
|
|
|
2366
2353
|
class GoogleCloudSecuritycenterV1CustomConfig
|
|
2367
2354
|
# @private
|
|
2368
2355
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2369
|
-
property :cel_policy, as: 'celPolicy', class: Google::Apis::SecuritycenterV1::CelPolicySpec, decorator: Google::Apis::SecuritycenterV1::CelPolicySpec::Representation
|
|
2370
|
-
|
|
2371
2356
|
property :custom_output, as: 'customOutput', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1CustomOutputSpec::Representation
|
|
2372
2357
|
|
|
2373
2358
|
property :description, as: 'description'
|
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.89.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: 2024-10-
|
|
11
|
+
date: 2024-10-27 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.89.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.5.
|
|
78
|
+
rubygems_version: 3.5.21
|
|
79
79
|
signing_key:
|
|
80
80
|
specification_version: 4
|
|
81
81
|
summary: Simple REST client for Security Command Center API V1
|