google-apis-securitycenter_v1beta1 0.82.0 → 0.83.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: 2d2678ddd9766ce8def9aa589f20fcb9ca3d60d39b4ac0312cc1f3eb85bb2a8c
|
4
|
+
data.tar.gz: 974e4294b1b4e5cadf40c1ac05d6112f64fabfe3de4f83e3ce51e4bf1e48aef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 897e87c2bf2569825231c4825759b1c459af2ea86bf88cf76b1febed8fd9a9be6ed17146430668fea8ef9330a1e9dadd432ccd33c6df2ee0bfaee2fea207e5b4
|
7
|
+
data.tar.gz: cc797366ea7221683e15c1c2df14fdc84378d871b042f50ceeb1a7d9a9cee2b9a5b5de8a73c51cb849a5fbe6783d7dddd342d9dc8756b1d47f7307069f47584f
|
data/CHANGELOG.md
CHANGED
@@ -211,6 +211,25 @@ module Google
|
|
211
211
|
end
|
212
212
|
end
|
213
213
|
|
214
|
+
# Allowed IP rule.
|
215
|
+
class Allowed
|
216
|
+
include Google::Apis::Core::Hashable
|
217
|
+
|
218
|
+
# Optional. Optional list of allowed IP rules.
|
219
|
+
# Corresponds to the JSON property `ipRules`
|
220
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::IpRule>]
|
221
|
+
attr_accessor :ip_rules
|
222
|
+
|
223
|
+
def initialize(**args)
|
224
|
+
update!(**args)
|
225
|
+
end
|
226
|
+
|
227
|
+
# Update properties of this object
|
228
|
+
def update!(**args)
|
229
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
214
233
|
# Represents an application associated with a finding.
|
215
234
|
class Application
|
216
235
|
include Google::Apis::Core::Hashable
|
@@ -1713,6 +1732,25 @@ module Google
|
|
1713
1732
|
end
|
1714
1733
|
end
|
1715
1734
|
|
1735
|
+
# Denied IP rule.
|
1736
|
+
class Denied
|
1737
|
+
include Google::Apis::Core::Hashable
|
1738
|
+
|
1739
|
+
# Optional. Optional list of denied IP rules.
|
1740
|
+
# Corresponds to the JSON property `ipRules`
|
1741
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::IpRule>]
|
1742
|
+
attr_accessor :ip_rules
|
1743
|
+
|
1744
|
+
def initialize(**args)
|
1745
|
+
update!(**args)
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
# Update properties of this object
|
1749
|
+
def update!(**args)
|
1750
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
1751
|
+
end
|
1752
|
+
end
|
1753
|
+
|
1716
1754
|
# Memory hash detection contributing to the binary family match.
|
1717
1755
|
class Detection
|
1718
1756
|
include Google::Apis::Core::Hashable
|
@@ -2224,6 +2262,16 @@ module Google
|
|
2224
2262
|
# @return [Google::Apis::SecuritycenterV1beta1::Indicator]
|
2225
2263
|
attr_accessor :indicator
|
2226
2264
|
|
2265
|
+
# IP rules associated with the finding.
|
2266
|
+
# Corresponds to the JSON property `ipRules`
|
2267
|
+
# @return [Google::Apis::SecuritycenterV1beta1::IpRules]
|
2268
|
+
attr_accessor :ip_rules
|
2269
|
+
|
2270
|
+
# Describes a job
|
2271
|
+
# Corresponds to the JSON property `job`
|
2272
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Job]
|
2273
|
+
attr_accessor :job
|
2274
|
+
|
2227
2275
|
# Kernel mode rootkit signatures.
|
2228
2276
|
# Corresponds to the JSON property `kernelRootkit`
|
2229
2277
|
# @return [Google::Apis::SecuritycenterV1beta1::KernelRootkit]
|
@@ -2290,6 +2338,11 @@ module Google
|
|
2290
2338
|
# @return [String]
|
2291
2339
|
attr_accessor :name
|
2292
2340
|
|
2341
|
+
# Represents the VPC networks that the resource is attached to.
|
2342
|
+
# Corresponds to the JSON property `networks`
|
2343
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::Network>]
|
2344
|
+
attr_accessor :networks
|
2345
|
+
|
2293
2346
|
# Steps to address the finding.
|
2294
2347
|
# Corresponds to the JSON property `nextSteps`
|
2295
2348
|
# @return [String]
|
@@ -2417,6 +2470,8 @@ module Google
|
|
2417
2470
|
@group_memberships = args[:group_memberships] if args.key?(:group_memberships)
|
2418
2471
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
2419
2472
|
@indicator = args[:indicator] if args.key?(:indicator)
|
2473
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
2474
|
+
@job = args[:job] if args.key?(:job)
|
2420
2475
|
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
2421
2476
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
2422
2477
|
@load_balancers = args[:load_balancers] if args.key?(:load_balancers)
|
@@ -2428,6 +2483,7 @@ module Google
|
|
2428
2483
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
2429
2484
|
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
2430
2485
|
@name = args[:name] if args.key?(:name)
|
2486
|
+
@networks = args[:networks] if args.key?(:networks)
|
2431
2487
|
@next_steps = args[:next_steps] if args.key?(:next_steps)
|
2432
2488
|
@notebook = args[:notebook] if args.key?(:notebook)
|
2433
2489
|
@org_policies = args[:org_policies] if args.key?(:org_policies)
|
@@ -4146,6 +4202,25 @@ module Google
|
|
4146
4202
|
end
|
4147
4203
|
end
|
4148
4204
|
|
4205
|
+
# Allowed IP rule.
|
4206
|
+
class GoogleCloudSecuritycenterV2Allowed
|
4207
|
+
include Google::Apis::Core::Hashable
|
4208
|
+
|
4209
|
+
# Optional. Optional list of allowed IP rules.
|
4210
|
+
# Corresponds to the JSON property `ipRules`
|
4211
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule>]
|
4212
|
+
attr_accessor :ip_rules
|
4213
|
+
|
4214
|
+
def initialize(**args)
|
4215
|
+
update!(**args)
|
4216
|
+
end
|
4217
|
+
|
4218
|
+
# Update properties of this object
|
4219
|
+
def update!(**args)
|
4220
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
4221
|
+
end
|
4222
|
+
end
|
4223
|
+
|
4149
4224
|
# Represents an application associated with a finding.
|
4150
4225
|
class GoogleCloudSecuritycenterV2Application
|
4151
4226
|
include Google::Apis::Core::Hashable
|
@@ -5451,6 +5526,25 @@ module Google
|
|
5451
5526
|
end
|
5452
5527
|
end
|
5453
5528
|
|
5529
|
+
# Denied IP rule.
|
5530
|
+
class GoogleCloudSecuritycenterV2Denied
|
5531
|
+
include Google::Apis::Core::Hashable
|
5532
|
+
|
5533
|
+
# Optional. Optional list of denied IP rules.
|
5534
|
+
# Corresponds to the JSON property `ipRules`
|
5535
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule>]
|
5536
|
+
attr_accessor :ip_rules
|
5537
|
+
|
5538
|
+
def initialize(**args)
|
5539
|
+
update!(**args)
|
5540
|
+
end
|
5541
|
+
|
5542
|
+
# Update properties of this object
|
5543
|
+
def update!(**args)
|
5544
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
5545
|
+
end
|
5546
|
+
end
|
5547
|
+
|
5454
5548
|
# Memory hash detection contributing to the binary family match.
|
5455
5549
|
class GoogleCloudSecuritycenterV2Detection
|
5456
5550
|
include Google::Apis::Core::Hashable
|
@@ -5986,6 +6080,16 @@ module Google
|
|
5986
6080
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Indicator]
|
5987
6081
|
attr_accessor :indicator
|
5988
6082
|
|
6083
|
+
# IP rules associated with the finding.
|
6084
|
+
# Corresponds to the JSON property `ipRules`
|
6085
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRules]
|
6086
|
+
attr_accessor :ip_rules
|
6087
|
+
|
6088
|
+
# Describes a job
|
6089
|
+
# Corresponds to the JSON property `job`
|
6090
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Job]
|
6091
|
+
attr_accessor :job
|
6092
|
+
|
5989
6093
|
# Kernel mode rootkit signatures.
|
5990
6094
|
# Corresponds to the JSON property `kernelRootkit`
|
5991
6095
|
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2KernelRootkit]
|
@@ -6056,6 +6160,11 @@ module Google
|
|
6056
6160
|
# @return [String]
|
6057
6161
|
attr_accessor :name
|
6058
6162
|
|
6163
|
+
# Represents the VPC networks that the resource is attached to.
|
6164
|
+
# Corresponds to the JSON property `networks`
|
6165
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Network>]
|
6166
|
+
attr_accessor :networks
|
6167
|
+
|
6059
6168
|
# Steps to address the finding.
|
6060
6169
|
# Corresponds to the JSON property `nextSteps`
|
6061
6170
|
# @return [String]
|
@@ -6188,6 +6297,8 @@ module Google
|
|
6188
6297
|
@group_memberships = args[:group_memberships] if args.key?(:group_memberships)
|
6189
6298
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
6190
6299
|
@indicator = args[:indicator] if args.key?(:indicator)
|
6300
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
6301
|
+
@job = args[:job] if args.key?(:job)
|
6191
6302
|
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
6192
6303
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
6193
6304
|
@load_balancers = args[:load_balancers] if args.key?(:load_balancers)
|
@@ -6199,6 +6310,7 @@ module Google
|
|
6199
6310
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
6200
6311
|
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
6201
6312
|
@name = args[:name] if args.key?(:name)
|
6313
|
+
@networks = args[:networks] if args.key?(:networks)
|
6202
6314
|
@next_steps = args[:next_steps] if args.key?(:next_steps)
|
6203
6315
|
@notebook = args[:notebook] if args.key?(:notebook)
|
6204
6316
|
@org_policies = args[:org_policies] if args.key?(:org_policies)
|
@@ -6363,6 +6475,90 @@ module Google
|
|
6363
6475
|
end
|
6364
6476
|
end
|
6365
6477
|
|
6478
|
+
# IP rule information.
|
6479
|
+
class GoogleCloudSecuritycenterV2IpRule
|
6480
|
+
include Google::Apis::Core::Hashable
|
6481
|
+
|
6482
|
+
# Optional. An optional list of ports to which this rule applies. This field is
|
6483
|
+
# only applicable for the UDP or (S)TCP protocols. Each entry must be either an
|
6484
|
+
# integer or a range including a min and max port number.
|
6485
|
+
# Corresponds to the JSON property `portRanges`
|
6486
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2PortRange>]
|
6487
|
+
attr_accessor :port_ranges
|
6488
|
+
|
6489
|
+
# The IP protocol this rule applies to. This value can either be one of the
|
6490
|
+
# following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
|
6491
|
+
# a string representation of the integer value.
|
6492
|
+
# Corresponds to the JSON property `protocol`
|
6493
|
+
# @return [String]
|
6494
|
+
attr_accessor :protocol
|
6495
|
+
|
6496
|
+
def initialize(**args)
|
6497
|
+
update!(**args)
|
6498
|
+
end
|
6499
|
+
|
6500
|
+
# Update properties of this object
|
6501
|
+
def update!(**args)
|
6502
|
+
@port_ranges = args[:port_ranges] if args.key?(:port_ranges)
|
6503
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
6504
|
+
end
|
6505
|
+
end
|
6506
|
+
|
6507
|
+
# IP rules associated with the finding.
|
6508
|
+
class GoogleCloudSecuritycenterV2IpRules
|
6509
|
+
include Google::Apis::Core::Hashable
|
6510
|
+
|
6511
|
+
# Allowed IP rule.
|
6512
|
+
# Corresponds to the JSON property `allowed`
|
6513
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Allowed]
|
6514
|
+
attr_accessor :allowed
|
6515
|
+
|
6516
|
+
# Denied IP rule.
|
6517
|
+
# Corresponds to the JSON property `denied`
|
6518
|
+
# @return [Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Denied]
|
6519
|
+
attr_accessor :denied
|
6520
|
+
|
6521
|
+
# If destination IP ranges are specified, the firewall rule applies only to
|
6522
|
+
# traffic that has a destination IP address in these ranges. These ranges must
|
6523
|
+
# be expressed in CIDR format. Only supports IPv4.
|
6524
|
+
# Corresponds to the JSON property `destinationIpRanges`
|
6525
|
+
# @return [Array<String>]
|
6526
|
+
attr_accessor :destination_ip_ranges
|
6527
|
+
|
6528
|
+
# The direction that the rule is applicable to, one of ingress or egress.
|
6529
|
+
# Corresponds to the JSON property `direction`
|
6530
|
+
# @return [String]
|
6531
|
+
attr_accessor :direction
|
6532
|
+
|
6533
|
+
# Name of the network protocol service, such as FTP, that is exposed by the open
|
6534
|
+
# port. Follows the naming convention available at: https://www.iana.org/
|
6535
|
+
# assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
6536
|
+
# Corresponds to the JSON property `exposedServices`
|
6537
|
+
# @return [Array<String>]
|
6538
|
+
attr_accessor :exposed_services
|
6539
|
+
|
6540
|
+
# If source IP ranges are specified, the firewall rule applies only to traffic
|
6541
|
+
# that has a source IP address in these ranges. These ranges must be expressed
|
6542
|
+
# in CIDR format. Only supports IPv4.
|
6543
|
+
# Corresponds to the JSON property `sourceIpRanges`
|
6544
|
+
# @return [Array<String>]
|
6545
|
+
attr_accessor :source_ip_ranges
|
6546
|
+
|
6547
|
+
def initialize(**args)
|
6548
|
+
update!(**args)
|
6549
|
+
end
|
6550
|
+
|
6551
|
+
# Update properties of this object
|
6552
|
+
def update!(**args)
|
6553
|
+
@allowed = args[:allowed] if args.key?(:allowed)
|
6554
|
+
@denied = args[:denied] if args.key?(:denied)
|
6555
|
+
@destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
|
6556
|
+
@direction = args[:direction] if args.key?(:direction)
|
6557
|
+
@exposed_services = args[:exposed_services] if args.key?(:exposed_services)
|
6558
|
+
@source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
|
6559
|
+
end
|
6560
|
+
end
|
6561
|
+
|
6366
6562
|
# Security Command Center Issue.
|
6367
6563
|
class GoogleCloudSecuritycenterV2Issue
|
6368
6564
|
include Google::Apis::Core::Hashable
|
@@ -6842,6 +7038,43 @@ module Google
|
|
6842
7038
|
end
|
6843
7039
|
end
|
6844
7040
|
|
7041
|
+
# Describes a job
|
7042
|
+
class GoogleCloudSecuritycenterV2Job
|
7043
|
+
include Google::Apis::Core::Hashable
|
7044
|
+
|
7045
|
+
# Optional. If the job did not complete successfully, this field describes why.
|
7046
|
+
# Corresponds to the JSON property `errorCode`
|
7047
|
+
# @return [Fixnum]
|
7048
|
+
attr_accessor :error_code
|
7049
|
+
|
7050
|
+
# Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
7051
|
+
# Corresponds to the JSON property `location`
|
7052
|
+
# @return [String]
|
7053
|
+
attr_accessor :location
|
7054
|
+
|
7055
|
+
# The fully-qualified name for a job. e.g. `projects//jobs/`
|
7056
|
+
# Corresponds to the JSON property `name`
|
7057
|
+
# @return [String]
|
7058
|
+
attr_accessor :name
|
7059
|
+
|
7060
|
+
# Output only. State of the job, such as `RUNNING` or `PENDING`.
|
7061
|
+
# Corresponds to the JSON property `state`
|
7062
|
+
# @return [String]
|
7063
|
+
attr_accessor :state
|
7064
|
+
|
7065
|
+
def initialize(**args)
|
7066
|
+
update!(**args)
|
7067
|
+
end
|
7068
|
+
|
7069
|
+
# Update properties of this object
|
7070
|
+
def update!(**args)
|
7071
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
7072
|
+
@location = args[:location] if args.key?(:location)
|
7073
|
+
@name = args[:name] if args.key?(:name)
|
7074
|
+
@state = args[:state] if args.key?(:state)
|
7075
|
+
end
|
7076
|
+
end
|
7077
|
+
|
6845
7078
|
# Kernel mode rootkit signatures.
|
6846
7079
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
6847
7080
|
include Google::Apis::Core::Hashable
|
@@ -7243,6 +7476,26 @@ module Google
|
|
7243
7476
|
end
|
7244
7477
|
end
|
7245
7478
|
|
7479
|
+
# Contains information about a VPC network associated with the finding.
|
7480
|
+
class GoogleCloudSecuritycenterV2Network
|
7481
|
+
include Google::Apis::Core::Hashable
|
7482
|
+
|
7483
|
+
# The name of the VPC network resource, for example, `//compute.googleapis.com/
|
7484
|
+
# projects/my-project/global/networks/my-network`.
|
7485
|
+
# Corresponds to the JSON property `name`
|
7486
|
+
# @return [String]
|
7487
|
+
attr_accessor :name
|
7488
|
+
|
7489
|
+
def initialize(**args)
|
7490
|
+
update!(**args)
|
7491
|
+
end
|
7492
|
+
|
7493
|
+
# Update properties of this object
|
7494
|
+
def update!(**args)
|
7495
|
+
@name = args[:name] if args.key?(:name)
|
7496
|
+
end
|
7497
|
+
end
|
7498
|
+
|
7246
7499
|
# Kubernetes nodes associated with the finding.
|
7247
7500
|
class GoogleCloudSecuritycenterV2Node
|
7248
7501
|
include Google::Apis::Core::Hashable
|
@@ -7413,8 +7666,8 @@ module Google
|
|
7413
7666
|
class GoogleCloudSecuritycenterV2OrgPolicy
|
7414
7667
|
include Google::Apis::Core::Hashable
|
7415
7668
|
|
7416
|
-
# The resource name of the org policy. Example: "organizations/`
|
7417
|
-
# policies/`constraint_name`"
|
7669
|
+
# Identifier. The resource name of the org policy. Example: "organizations/`
|
7670
|
+
# organization_id`/policies/`constraint_name`"
|
7418
7671
|
# Corresponds to the JSON property `name`
|
7419
7672
|
# @return [String]
|
7420
7673
|
attr_accessor :name
|
@@ -7538,6 +7791,33 @@ module Google
|
|
7538
7791
|
end
|
7539
7792
|
end
|
7540
7793
|
|
7794
|
+
# A port range which is inclusive of the min and max values. Values are between
|
7795
|
+
# 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
|
7796
|
+
# If min and max are equal this indicates that it is a single port.
|
7797
|
+
class GoogleCloudSecuritycenterV2PortRange
|
7798
|
+
include Google::Apis::Core::Hashable
|
7799
|
+
|
7800
|
+
# Maximum port value.
|
7801
|
+
# Corresponds to the JSON property `max`
|
7802
|
+
# @return [Fixnum]
|
7803
|
+
attr_accessor :max
|
7804
|
+
|
7805
|
+
# Minimum port value.
|
7806
|
+
# Corresponds to the JSON property `min`
|
7807
|
+
# @return [Fixnum]
|
7808
|
+
attr_accessor :min
|
7809
|
+
|
7810
|
+
def initialize(**args)
|
7811
|
+
update!(**args)
|
7812
|
+
end
|
7813
|
+
|
7814
|
+
# Update properties of this object
|
7815
|
+
def update!(**args)
|
7816
|
+
@max = args[:max] if args.key?(:max)
|
7817
|
+
@min = args[:min] if args.key?(:min)
|
7818
|
+
end
|
7819
|
+
end
|
7820
|
+
|
7541
7821
|
# Represents an operating system process.
|
7542
7822
|
class GoogleCloudSecuritycenterV2Process
|
7543
7823
|
include Google::Apis::Core::Hashable
|
@@ -8770,6 +9050,127 @@ module Google
|
|
8770
9050
|
end
|
8771
9051
|
end
|
8772
9052
|
|
9053
|
+
# IP rule information.
|
9054
|
+
class IpRule
|
9055
|
+
include Google::Apis::Core::Hashable
|
9056
|
+
|
9057
|
+
# Optional. An optional list of ports to which this rule applies. This field is
|
9058
|
+
# only applicable for the UDP or (S)TCP protocols. Each entry must be either an
|
9059
|
+
# integer or a range including a min and max port number.
|
9060
|
+
# Corresponds to the JSON property `portRanges`
|
9061
|
+
# @return [Array<Google::Apis::SecuritycenterV1beta1::PortRange>]
|
9062
|
+
attr_accessor :port_ranges
|
9063
|
+
|
9064
|
+
# The IP protocol this rule applies to. This value can either be one of the
|
9065
|
+
# following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
|
9066
|
+
# a string representation of the integer value.
|
9067
|
+
# Corresponds to the JSON property `protocol`
|
9068
|
+
# @return [String]
|
9069
|
+
attr_accessor :protocol
|
9070
|
+
|
9071
|
+
def initialize(**args)
|
9072
|
+
update!(**args)
|
9073
|
+
end
|
9074
|
+
|
9075
|
+
# Update properties of this object
|
9076
|
+
def update!(**args)
|
9077
|
+
@port_ranges = args[:port_ranges] if args.key?(:port_ranges)
|
9078
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
9079
|
+
end
|
9080
|
+
end
|
9081
|
+
|
9082
|
+
# IP rules associated with the finding.
|
9083
|
+
class IpRules
|
9084
|
+
include Google::Apis::Core::Hashable
|
9085
|
+
|
9086
|
+
# Allowed IP rule.
|
9087
|
+
# Corresponds to the JSON property `allowed`
|
9088
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Allowed]
|
9089
|
+
attr_accessor :allowed
|
9090
|
+
|
9091
|
+
# Denied IP rule.
|
9092
|
+
# Corresponds to the JSON property `denied`
|
9093
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Denied]
|
9094
|
+
attr_accessor :denied
|
9095
|
+
|
9096
|
+
# If destination IP ranges are specified, the firewall rule applies only to
|
9097
|
+
# traffic that has a destination IP address in these ranges. These ranges must
|
9098
|
+
# be expressed in CIDR format. Only supports IPv4.
|
9099
|
+
# Corresponds to the JSON property `destinationIpRanges`
|
9100
|
+
# @return [Array<String>]
|
9101
|
+
attr_accessor :destination_ip_ranges
|
9102
|
+
|
9103
|
+
# The direction that the rule is applicable to, one of ingress or egress.
|
9104
|
+
# Corresponds to the JSON property `direction`
|
9105
|
+
# @return [String]
|
9106
|
+
attr_accessor :direction
|
9107
|
+
|
9108
|
+
# Name of the network protocol service, such as FTP, that is exposed by the open
|
9109
|
+
# port. Follows the naming convention available at: https://www.iana.org/
|
9110
|
+
# assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
9111
|
+
# Corresponds to the JSON property `exposedServices`
|
9112
|
+
# @return [Array<String>]
|
9113
|
+
attr_accessor :exposed_services
|
9114
|
+
|
9115
|
+
# If source IP ranges are specified, the firewall rule applies only to traffic
|
9116
|
+
# that has a source IP address in these ranges. These ranges must be expressed
|
9117
|
+
# in CIDR format. Only supports IPv4.
|
9118
|
+
# Corresponds to the JSON property `sourceIpRanges`
|
9119
|
+
# @return [Array<String>]
|
9120
|
+
attr_accessor :source_ip_ranges
|
9121
|
+
|
9122
|
+
def initialize(**args)
|
9123
|
+
update!(**args)
|
9124
|
+
end
|
9125
|
+
|
9126
|
+
# Update properties of this object
|
9127
|
+
def update!(**args)
|
9128
|
+
@allowed = args[:allowed] if args.key?(:allowed)
|
9129
|
+
@denied = args[:denied] if args.key?(:denied)
|
9130
|
+
@destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
|
9131
|
+
@direction = args[:direction] if args.key?(:direction)
|
9132
|
+
@exposed_services = args[:exposed_services] if args.key?(:exposed_services)
|
9133
|
+
@source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
|
9134
|
+
end
|
9135
|
+
end
|
9136
|
+
|
9137
|
+
# Describes a job
|
9138
|
+
class Job
|
9139
|
+
include Google::Apis::Core::Hashable
|
9140
|
+
|
9141
|
+
# Optional. If the job did not complete successfully, this field describes why.
|
9142
|
+
# Corresponds to the JSON property `errorCode`
|
9143
|
+
# @return [Fixnum]
|
9144
|
+
attr_accessor :error_code
|
9145
|
+
|
9146
|
+
# Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
9147
|
+
# Corresponds to the JSON property `location`
|
9148
|
+
# @return [String]
|
9149
|
+
attr_accessor :location
|
9150
|
+
|
9151
|
+
# The fully-qualified name for a job. e.g. `projects//jobs/`
|
9152
|
+
# Corresponds to the JSON property `name`
|
9153
|
+
# @return [String]
|
9154
|
+
attr_accessor :name
|
9155
|
+
|
9156
|
+
# Output only. State of the job, such as `RUNNING` or `PENDING`.
|
9157
|
+
# Corresponds to the JSON property `state`
|
9158
|
+
# @return [String]
|
9159
|
+
attr_accessor :state
|
9160
|
+
|
9161
|
+
def initialize(**args)
|
9162
|
+
update!(**args)
|
9163
|
+
end
|
9164
|
+
|
9165
|
+
# Update properties of this object
|
9166
|
+
def update!(**args)
|
9167
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
9168
|
+
@location = args[:location] if args.key?(:location)
|
9169
|
+
@name = args[:name] if args.key?(:name)
|
9170
|
+
@state = args[:state] if args.key?(:state)
|
9171
|
+
end
|
9172
|
+
end
|
9173
|
+
|
8773
9174
|
# Kernel mode rootkit signatures.
|
8774
9175
|
class KernelRootkit
|
8775
9176
|
include Google::Apis::Core::Hashable
|
@@ -9243,6 +9644,26 @@ module Google
|
|
9243
9644
|
end
|
9244
9645
|
end
|
9245
9646
|
|
9647
|
+
# Contains information about a VPC network associated with the finding.
|
9648
|
+
class Network
|
9649
|
+
include Google::Apis::Core::Hashable
|
9650
|
+
|
9651
|
+
# The name of the VPC network resource, for example, `//compute.googleapis.com/
|
9652
|
+
# projects/my-project/global/networks/my-network`.
|
9653
|
+
# Corresponds to the JSON property `name`
|
9654
|
+
# @return [String]
|
9655
|
+
attr_accessor :name
|
9656
|
+
|
9657
|
+
def initialize(**args)
|
9658
|
+
update!(**args)
|
9659
|
+
end
|
9660
|
+
|
9661
|
+
# Update properties of this object
|
9662
|
+
def update!(**args)
|
9663
|
+
@name = args[:name] if args.key?(:name)
|
9664
|
+
end
|
9665
|
+
end
|
9666
|
+
|
9246
9667
|
# Kubernetes nodes associated with the finding.
|
9247
9668
|
class Node
|
9248
9669
|
include Google::Apis::Core::Hashable
|
@@ -9697,6 +10118,33 @@ module Google
|
|
9697
10118
|
end
|
9698
10119
|
end
|
9699
10120
|
|
10121
|
+
# A port range which is inclusive of the min and max values. Values are between
|
10122
|
+
# 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
|
10123
|
+
# If min and max are equal this indicates that it is a single port.
|
10124
|
+
class PortRange
|
10125
|
+
include Google::Apis::Core::Hashable
|
10126
|
+
|
10127
|
+
# Maximum port value.
|
10128
|
+
# Corresponds to the JSON property `max`
|
10129
|
+
# @return [Fixnum]
|
10130
|
+
attr_accessor :max
|
10131
|
+
|
10132
|
+
# Minimum port value.
|
10133
|
+
# Corresponds to the JSON property `min`
|
10134
|
+
# @return [Fixnum]
|
10135
|
+
attr_accessor :min
|
10136
|
+
|
10137
|
+
def initialize(**args)
|
10138
|
+
update!(**args)
|
10139
|
+
end
|
10140
|
+
|
10141
|
+
# Update properties of this object
|
10142
|
+
def update!(**args)
|
10143
|
+
@max = args[:max] if args.key?(:max)
|
10144
|
+
@min = args[:min] if args.key?(:min)
|
10145
|
+
end
|
10146
|
+
end
|
10147
|
+
|
9700
10148
|
# Represents an operating system process.
|
9701
10149
|
class Process
|
9702
10150
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta1
|
18
18
|
# Version of the google-apis-securitycenter_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.83.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250218"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -40,6 +40,12 @@ module Google
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
41
41
|
end
|
42
42
|
|
43
|
+
class Allowed
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
43
49
|
class Application
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
51
|
|
@@ -250,6 +256,12 @@ module Google
|
|
250
256
|
include Google::Apis::Core::JsonObjectSupport
|
251
257
|
end
|
252
258
|
|
259
|
+
class Denied
|
260
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
261
|
+
|
262
|
+
include Google::Apis::Core::JsonObjectSupport
|
263
|
+
end
|
264
|
+
|
253
265
|
class Detection
|
254
266
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
267
|
|
@@ -514,6 +526,12 @@ module Google
|
|
514
526
|
include Google::Apis::Core::JsonObjectSupport
|
515
527
|
end
|
516
528
|
|
529
|
+
class GoogleCloudSecuritycenterV2Allowed
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
517
535
|
class GoogleCloudSecuritycenterV2Application
|
518
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
537
|
|
@@ -700,6 +718,12 @@ module Google
|
|
700
718
|
include Google::Apis::Core::JsonObjectSupport
|
701
719
|
end
|
702
720
|
|
721
|
+
class GoogleCloudSecuritycenterV2Denied
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
703
727
|
class GoogleCloudSecuritycenterV2Detection
|
704
728
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
705
729
|
|
@@ -790,6 +814,18 @@ module Google
|
|
790
814
|
include Google::Apis::Core::JsonObjectSupport
|
791
815
|
end
|
792
816
|
|
817
|
+
class GoogleCloudSecuritycenterV2IpRule
|
818
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
819
|
+
|
820
|
+
include Google::Apis::Core::JsonObjectSupport
|
821
|
+
end
|
822
|
+
|
823
|
+
class GoogleCloudSecuritycenterV2IpRules
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
825
|
+
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
827
|
+
end
|
828
|
+
|
793
829
|
class GoogleCloudSecuritycenterV2Issue
|
794
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
831
|
|
@@ -880,6 +916,12 @@ module Google
|
|
880
916
|
include Google::Apis::Core::JsonObjectSupport
|
881
917
|
end
|
882
918
|
|
919
|
+
class GoogleCloudSecuritycenterV2Job
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
883
925
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
884
926
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
927
|
|
@@ -934,6 +976,12 @@ module Google
|
|
934
976
|
include Google::Apis::Core::JsonObjectSupport
|
935
977
|
end
|
936
978
|
|
979
|
+
class GoogleCloudSecuritycenterV2Network
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
937
985
|
class GoogleCloudSecuritycenterV2Node
|
938
986
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
987
|
|
@@ -988,6 +1036,12 @@ module Google
|
|
988
1036
|
include Google::Apis::Core::JsonObjectSupport
|
989
1037
|
end
|
990
1038
|
|
1039
|
+
class GoogleCloudSecuritycenterV2PortRange
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1041
|
+
|
1042
|
+
include Google::Apis::Core::JsonObjectSupport
|
1043
|
+
end
|
1044
|
+
|
991
1045
|
class GoogleCloudSecuritycenterV2Process
|
992
1046
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
1047
|
|
@@ -1162,6 +1216,24 @@ module Google
|
|
1162
1216
|
include Google::Apis::Core::JsonObjectSupport
|
1163
1217
|
end
|
1164
1218
|
|
1219
|
+
class IpRule
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1221
|
+
|
1222
|
+
include Google::Apis::Core::JsonObjectSupport
|
1223
|
+
end
|
1224
|
+
|
1225
|
+
class IpRules
|
1226
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1227
|
+
|
1228
|
+
include Google::Apis::Core::JsonObjectSupport
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
class Job
|
1232
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1233
|
+
|
1234
|
+
include Google::Apis::Core::JsonObjectSupport
|
1235
|
+
end
|
1236
|
+
|
1165
1237
|
class KernelRootkit
|
1166
1238
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1167
1239
|
|
@@ -1240,6 +1312,12 @@ module Google
|
|
1240
1312
|
include Google::Apis::Core::JsonObjectSupport
|
1241
1313
|
end
|
1242
1314
|
|
1315
|
+
class Network
|
1316
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1317
|
+
|
1318
|
+
include Google::Apis::Core::JsonObjectSupport
|
1319
|
+
end
|
1320
|
+
|
1243
1321
|
class Node
|
1244
1322
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1245
1323
|
|
@@ -1306,6 +1384,12 @@ module Google
|
|
1306
1384
|
include Google::Apis::Core::JsonObjectSupport
|
1307
1385
|
end
|
1308
1386
|
|
1387
|
+
class PortRange
|
1388
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1389
|
+
|
1390
|
+
include Google::Apis::Core::JsonObjectSupport
|
1391
|
+
end
|
1392
|
+
|
1309
1393
|
class Process
|
1310
1394
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1311
1395
|
|
@@ -1513,6 +1597,14 @@ module Google
|
|
1513
1597
|
end
|
1514
1598
|
end
|
1515
1599
|
|
1600
|
+
class Allowed
|
1601
|
+
# @private
|
1602
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1603
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta1::IpRule, decorator: Google::Apis::SecuritycenterV1beta1::IpRule::Representation
|
1604
|
+
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1516
1608
|
class Application
|
1517
1609
|
# @private
|
1518
1610
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1878,6 +1970,14 @@ module Google
|
|
1878
1970
|
end
|
1879
1971
|
end
|
1880
1972
|
|
1973
|
+
class Denied
|
1974
|
+
# @private
|
1975
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1976
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta1::IpRule, decorator: Google::Apis::SecuritycenterV1beta1::IpRule::Representation
|
1977
|
+
|
1978
|
+
end
|
1979
|
+
end
|
1980
|
+
|
1881
1981
|
class Detection
|
1882
1982
|
# @private
|
1883
1983
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2020,6 +2120,10 @@ module Google
|
|
2020
2120
|
|
2021
2121
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
|
2022
2122
|
|
2123
|
+
property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta1::IpRules, decorator: Google::Apis::SecuritycenterV1beta1::IpRules::Representation
|
2124
|
+
|
2125
|
+
property :job, as: 'job', class: Google::Apis::SecuritycenterV1beta1::Job, decorator: Google::Apis::SecuritycenterV1beta1::Job::Representation
|
2126
|
+
|
2023
2127
|
property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta1::KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta1::KernelRootkit::Representation
|
2024
2128
|
|
2025
2129
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta1::Kubernetes, decorator: Google::Apis::SecuritycenterV1beta1::Kubernetes::Representation
|
@@ -2037,6 +2141,8 @@ module Google
|
|
2037
2141
|
property :mute_initiator, as: 'muteInitiator'
|
2038
2142
|
property :mute_update_time, as: 'muteUpdateTime'
|
2039
2143
|
property :name, as: 'name'
|
2144
|
+
collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1beta1::Network, decorator: Google::Apis::SecuritycenterV1beta1::Network::Representation
|
2145
|
+
|
2040
2146
|
property :next_steps, as: 'nextSteps'
|
2041
2147
|
property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta1::Notebook, decorator: Google::Apis::SecuritycenterV1beta1::Notebook::Representation
|
2042
2148
|
|
@@ -2446,6 +2552,14 @@ module Google
|
|
2446
2552
|
end
|
2447
2553
|
end
|
2448
2554
|
|
2555
|
+
class GoogleCloudSecuritycenterV2Allowed
|
2556
|
+
# @private
|
2557
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2558
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule::Representation
|
2559
|
+
|
2560
|
+
end
|
2561
|
+
end
|
2562
|
+
|
2449
2563
|
class GoogleCloudSecuritycenterV2Application
|
2450
2564
|
# @private
|
2451
2565
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2774,6 +2888,14 @@ module Google
|
|
2774
2888
|
end
|
2775
2889
|
end
|
2776
2890
|
|
2891
|
+
class GoogleCloudSecuritycenterV2Denied
|
2892
|
+
# @private
|
2893
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2894
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRule::Representation
|
2895
|
+
|
2896
|
+
end
|
2897
|
+
end
|
2898
|
+
|
2777
2899
|
class GoogleCloudSecuritycenterV2Detection
|
2778
2900
|
# @private
|
2779
2901
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2918,6 +3040,10 @@ module Google
|
|
2918
3040
|
|
2919
3041
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Indicator::Representation
|
2920
3042
|
|
3043
|
+
property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRules, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2IpRules::Representation
|
3044
|
+
|
3045
|
+
property :job, as: 'job', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Job, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Job::Representation
|
3046
|
+
|
2921
3047
|
property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2KernelRootkit, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2KernelRootkit::Representation
|
2922
3048
|
|
2923
3049
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Kubernetes, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Kubernetes::Representation
|
@@ -2935,6 +3061,8 @@ module Google
|
|
2935
3061
|
property :mute_initiator, as: 'muteInitiator'
|
2936
3062
|
property :mute_update_time, as: 'muteUpdateTime'
|
2937
3063
|
property :name, as: 'name'
|
3064
|
+
collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Network, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Network::Representation
|
3065
|
+
|
2938
3066
|
property :next_steps, as: 'nextSteps'
|
2939
3067
|
property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Notebook, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Notebook::Representation
|
2940
3068
|
|
@@ -3002,6 +3130,29 @@ module Google
|
|
3002
3130
|
end
|
3003
3131
|
end
|
3004
3132
|
|
3133
|
+
class GoogleCloudSecuritycenterV2IpRule
|
3134
|
+
# @private
|
3135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3136
|
+
collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2PortRange, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2PortRange::Representation
|
3137
|
+
|
3138
|
+
property :protocol, as: 'protocol'
|
3139
|
+
end
|
3140
|
+
end
|
3141
|
+
|
3142
|
+
class GoogleCloudSecuritycenterV2IpRules
|
3143
|
+
# @private
|
3144
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3145
|
+
property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Allowed, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Allowed::Representation
|
3146
|
+
|
3147
|
+
property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Denied, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Denied::Representation
|
3148
|
+
|
3149
|
+
collection :destination_ip_ranges, as: 'destinationIpRanges'
|
3150
|
+
property :direction, as: 'direction'
|
3151
|
+
collection :exposed_services, as: 'exposedServices'
|
3152
|
+
collection :source_ip_ranges, as: 'sourceIpRanges'
|
3153
|
+
end
|
3154
|
+
end
|
3155
|
+
|
3005
3156
|
class GoogleCloudSecuritycenterV2Issue
|
3006
3157
|
# @private
|
3007
3158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3154,6 +3305,16 @@ module Google
|
|
3154
3305
|
end
|
3155
3306
|
end
|
3156
3307
|
|
3308
|
+
class GoogleCloudSecuritycenterV2Job
|
3309
|
+
# @private
|
3310
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3311
|
+
property :error_code, as: 'errorCode'
|
3312
|
+
property :location, as: 'location'
|
3313
|
+
property :name, as: 'name'
|
3314
|
+
property :state, as: 'state'
|
3315
|
+
end
|
3316
|
+
end
|
3317
|
+
|
3157
3318
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
3158
3319
|
# @private
|
3159
3320
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3256,6 +3417,13 @@ module Google
|
|
3256
3417
|
end
|
3257
3418
|
end
|
3258
3419
|
|
3420
|
+
class GoogleCloudSecuritycenterV2Network
|
3421
|
+
# @private
|
3422
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3423
|
+
property :name, as: 'name'
|
3424
|
+
end
|
3425
|
+
end
|
3426
|
+
|
3259
3427
|
class GoogleCloudSecuritycenterV2Node
|
3260
3428
|
# @private
|
3261
3429
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3343,6 +3511,14 @@ module Google
|
|
3343
3511
|
end
|
3344
3512
|
end
|
3345
3513
|
|
3514
|
+
class GoogleCloudSecuritycenterV2PortRange
|
3515
|
+
# @private
|
3516
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3517
|
+
property :max, :numeric_string => true, as: 'max'
|
3518
|
+
property :min, :numeric_string => true, as: 'min'
|
3519
|
+
end
|
3520
|
+
end
|
3521
|
+
|
3346
3522
|
class GoogleCloudSecuritycenterV2Process
|
3347
3523
|
# @private
|
3348
3524
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3652,6 +3828,39 @@ module Google
|
|
3652
3828
|
end
|
3653
3829
|
end
|
3654
3830
|
|
3831
|
+
class IpRule
|
3832
|
+
# @private
|
3833
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3834
|
+
collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1beta1::PortRange, decorator: Google::Apis::SecuritycenterV1beta1::PortRange::Representation
|
3835
|
+
|
3836
|
+
property :protocol, as: 'protocol'
|
3837
|
+
end
|
3838
|
+
end
|
3839
|
+
|
3840
|
+
class IpRules
|
3841
|
+
# @private
|
3842
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3843
|
+
property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1beta1::Allowed, decorator: Google::Apis::SecuritycenterV1beta1::Allowed::Representation
|
3844
|
+
|
3845
|
+
property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1beta1::Denied, decorator: Google::Apis::SecuritycenterV1beta1::Denied::Representation
|
3846
|
+
|
3847
|
+
collection :destination_ip_ranges, as: 'destinationIpRanges'
|
3848
|
+
property :direction, as: 'direction'
|
3849
|
+
collection :exposed_services, as: 'exposedServices'
|
3850
|
+
collection :source_ip_ranges, as: 'sourceIpRanges'
|
3851
|
+
end
|
3852
|
+
end
|
3853
|
+
|
3854
|
+
class Job
|
3855
|
+
# @private
|
3856
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3857
|
+
property :error_code, as: 'errorCode'
|
3858
|
+
property :location, as: 'location'
|
3859
|
+
property :name, as: 'name'
|
3860
|
+
property :state, as: 'state'
|
3861
|
+
end
|
3862
|
+
end
|
3863
|
+
|
3655
3864
|
class KernelRootkit
|
3656
3865
|
# @private
|
3657
3866
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3789,6 +3998,13 @@ module Google
|
|
3789
3998
|
end
|
3790
3999
|
end
|
3791
4000
|
|
4001
|
+
class Network
|
4002
|
+
# @private
|
4003
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4004
|
+
property :name, as: 'name'
|
4005
|
+
end
|
4006
|
+
end
|
4007
|
+
|
3792
4008
|
class Node
|
3793
4009
|
# @private
|
3794
4010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3899,6 +4115,14 @@ module Google
|
|
3899
4115
|
end
|
3900
4116
|
end
|
3901
4117
|
|
4118
|
+
class PortRange
|
4119
|
+
# @private
|
4120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4121
|
+
property :max, :numeric_string => true, as: 'max'
|
4122
|
+
property :min, :numeric_string => true, as: 'min'
|
4123
|
+
end
|
4124
|
+
end
|
4125
|
+
|
3902
4126
|
class Process
|
3903
4127
|
# @private
|
3904
4128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.83.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-apis-core
|
@@ -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-securitycenter_v1beta1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.83.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.5
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Security Command Center API V1beta1
|
79
79
|
test_files: []
|