google-apis-securitycenter_v1 0.92.0 → 0.93.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: 29ea2a9f8707a8898a121a01151cb2ea2408d06304d00976618dc78f930177e7
|
4
|
+
data.tar.gz: '08e5dd663d09776416e1d447e8f176bd861f0d131f390379701118e64fd6ab60'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb52a3de3b14652290ab3916ca78fb4cb8edda5d03470fef9e815c0e7eaf471a0a91b63e037fae28fce09159b930afba1178609c14fa734054c76f63cc75c0c8
|
7
|
+
data.tar.gz: fc91f57189426e9af5970584073f39abd2eebff90e4e4e4241a5e2823ec09d3eef796b558dd3476882c3676a92380b8cb4423e7aba03c40762ad498bbcf54c0e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1
|
2
2
|
|
3
|
+
### v0.93.0 (2025-02-26)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250218
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
3
8
|
### v0.92.0 (2025-01-08)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20250103
|
@@ -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::SecuritycenterV1::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
|
@@ -2043,6 +2062,25 @@ module Google
|
|
2043
2062
|
end
|
2044
2063
|
end
|
2045
2064
|
|
2065
|
+
# Denied IP rule.
|
2066
|
+
class Denied
|
2067
|
+
include Google::Apis::Core::Hashable
|
2068
|
+
|
2069
|
+
# Optional. Optional list of denied IP rules.
|
2070
|
+
# Corresponds to the JSON property `ipRules`
|
2071
|
+
# @return [Array<Google::Apis::SecuritycenterV1::IpRule>]
|
2072
|
+
attr_accessor :ip_rules
|
2073
|
+
|
2074
|
+
def initialize(**args)
|
2075
|
+
update!(**args)
|
2076
|
+
end
|
2077
|
+
|
2078
|
+
# Update properties of this object
|
2079
|
+
def update!(**args)
|
2080
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
2081
|
+
end
|
2082
|
+
end
|
2083
|
+
|
2046
2084
|
# Memory hash detection contributing to the binary family match.
|
2047
2085
|
class Detection
|
2048
2086
|
include Google::Apis::Core::Hashable
|
@@ -2707,6 +2745,16 @@ module Google
|
|
2707
2745
|
# @return [Google::Apis::SecuritycenterV1::Indicator]
|
2708
2746
|
attr_accessor :indicator
|
2709
2747
|
|
2748
|
+
# IP rules associated with the finding.
|
2749
|
+
# Corresponds to the JSON property `ipRules`
|
2750
|
+
# @return [Google::Apis::SecuritycenterV1::IpRules]
|
2751
|
+
attr_accessor :ip_rules
|
2752
|
+
|
2753
|
+
# Describes a job
|
2754
|
+
# Corresponds to the JSON property `job`
|
2755
|
+
# @return [Google::Apis::SecuritycenterV1::Job]
|
2756
|
+
attr_accessor :job
|
2757
|
+
|
2710
2758
|
# Kernel mode rootkit signatures.
|
2711
2759
|
# Corresponds to the JSON property `kernelRootkit`
|
2712
2760
|
# @return [Google::Apis::SecuritycenterV1::KernelRootkit]
|
@@ -2773,6 +2821,11 @@ module Google
|
|
2773
2821
|
# @return [String]
|
2774
2822
|
attr_accessor :name
|
2775
2823
|
|
2824
|
+
# Represents the VPC networks that the resource is attached to.
|
2825
|
+
# Corresponds to the JSON property `networks`
|
2826
|
+
# @return [Array<Google::Apis::SecuritycenterV1::Network>]
|
2827
|
+
attr_accessor :networks
|
2828
|
+
|
2776
2829
|
# Steps to address the finding.
|
2777
2830
|
# Corresponds to the JSON property `nextSteps`
|
2778
2831
|
# @return [String]
|
@@ -2900,6 +2953,8 @@ module Google
|
|
2900
2953
|
@group_memberships = args[:group_memberships] if args.key?(:group_memberships)
|
2901
2954
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
2902
2955
|
@indicator = args[:indicator] if args.key?(:indicator)
|
2956
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
2957
|
+
@job = args[:job] if args.key?(:job)
|
2903
2958
|
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
2904
2959
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
2905
2960
|
@load_balancers = args[:load_balancers] if args.key?(:load_balancers)
|
@@ -2911,6 +2966,7 @@ module Google
|
|
2911
2966
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
2912
2967
|
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
2913
2968
|
@name = args[:name] if args.key?(:name)
|
2969
|
+
@networks = args[:networks] if args.key?(:networks)
|
2914
2970
|
@next_steps = args[:next_steps] if args.key?(:next_steps)
|
2915
2971
|
@notebook = args[:notebook] if args.key?(:notebook)
|
2916
2972
|
@org_policies = args[:org_policies] if args.key?(:org_policies)
|
@@ -4496,6 +4552,25 @@ module Google
|
|
4496
4552
|
end
|
4497
4553
|
end
|
4498
4554
|
|
4555
|
+
# Allowed IP rule.
|
4556
|
+
class GoogleCloudSecuritycenterV2Allowed
|
4557
|
+
include Google::Apis::Core::Hashable
|
4558
|
+
|
4559
|
+
# Optional. Optional list of allowed IP rules.
|
4560
|
+
# Corresponds to the JSON property `ipRules`
|
4561
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule>]
|
4562
|
+
attr_accessor :ip_rules
|
4563
|
+
|
4564
|
+
def initialize(**args)
|
4565
|
+
update!(**args)
|
4566
|
+
end
|
4567
|
+
|
4568
|
+
# Update properties of this object
|
4569
|
+
def update!(**args)
|
4570
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
4571
|
+
end
|
4572
|
+
end
|
4573
|
+
|
4499
4574
|
# Represents an application associated with a finding.
|
4500
4575
|
class GoogleCloudSecuritycenterV2Application
|
4501
4576
|
include Google::Apis::Core::Hashable
|
@@ -5801,6 +5876,25 @@ module Google
|
|
5801
5876
|
end
|
5802
5877
|
end
|
5803
5878
|
|
5879
|
+
# Denied IP rule.
|
5880
|
+
class GoogleCloudSecuritycenterV2Denied
|
5881
|
+
include Google::Apis::Core::Hashable
|
5882
|
+
|
5883
|
+
# Optional. Optional list of denied IP rules.
|
5884
|
+
# Corresponds to the JSON property `ipRules`
|
5885
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule>]
|
5886
|
+
attr_accessor :ip_rules
|
5887
|
+
|
5888
|
+
def initialize(**args)
|
5889
|
+
update!(**args)
|
5890
|
+
end
|
5891
|
+
|
5892
|
+
# Update properties of this object
|
5893
|
+
def update!(**args)
|
5894
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
5895
|
+
end
|
5896
|
+
end
|
5897
|
+
|
5804
5898
|
# Memory hash detection contributing to the binary family match.
|
5805
5899
|
class GoogleCloudSecuritycenterV2Detection
|
5806
5900
|
include Google::Apis::Core::Hashable
|
@@ -6336,6 +6430,16 @@ module Google
|
|
6336
6430
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator]
|
6337
6431
|
attr_accessor :indicator
|
6338
6432
|
|
6433
|
+
# IP rules associated with the finding.
|
6434
|
+
# Corresponds to the JSON property `ipRules`
|
6435
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRules]
|
6436
|
+
attr_accessor :ip_rules
|
6437
|
+
|
6438
|
+
# Describes a job
|
6439
|
+
# Corresponds to the JSON property `job`
|
6440
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Job]
|
6441
|
+
attr_accessor :job
|
6442
|
+
|
6339
6443
|
# Kernel mode rootkit signatures.
|
6340
6444
|
# Corresponds to the JSON property `kernelRootkit`
|
6341
6445
|
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2KernelRootkit]
|
@@ -6406,6 +6510,11 @@ module Google
|
|
6406
6510
|
# @return [String]
|
6407
6511
|
attr_accessor :name
|
6408
6512
|
|
6513
|
+
# Represents the VPC networks that the resource is attached to.
|
6514
|
+
# Corresponds to the JSON property `networks`
|
6515
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Network>]
|
6516
|
+
attr_accessor :networks
|
6517
|
+
|
6409
6518
|
# Steps to address the finding.
|
6410
6519
|
# Corresponds to the JSON property `nextSteps`
|
6411
6520
|
# @return [String]
|
@@ -6538,6 +6647,8 @@ module Google
|
|
6538
6647
|
@group_memberships = args[:group_memberships] if args.key?(:group_memberships)
|
6539
6648
|
@iam_bindings = args[:iam_bindings] if args.key?(:iam_bindings)
|
6540
6649
|
@indicator = args[:indicator] if args.key?(:indicator)
|
6650
|
+
@ip_rules = args[:ip_rules] if args.key?(:ip_rules)
|
6651
|
+
@job = args[:job] if args.key?(:job)
|
6541
6652
|
@kernel_rootkit = args[:kernel_rootkit] if args.key?(:kernel_rootkit)
|
6542
6653
|
@kubernetes = args[:kubernetes] if args.key?(:kubernetes)
|
6543
6654
|
@load_balancers = args[:load_balancers] if args.key?(:load_balancers)
|
@@ -6549,6 +6660,7 @@ module Google
|
|
6549
6660
|
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
6550
6661
|
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
6551
6662
|
@name = args[:name] if args.key?(:name)
|
6663
|
+
@networks = args[:networks] if args.key?(:networks)
|
6552
6664
|
@next_steps = args[:next_steps] if args.key?(:next_steps)
|
6553
6665
|
@notebook = args[:notebook] if args.key?(:notebook)
|
6554
6666
|
@org_policies = args[:org_policies] if args.key?(:org_policies)
|
@@ -6713,6 +6825,90 @@ module Google
|
|
6713
6825
|
end
|
6714
6826
|
end
|
6715
6827
|
|
6828
|
+
# IP rule information.
|
6829
|
+
class GoogleCloudSecuritycenterV2IpRule
|
6830
|
+
include Google::Apis::Core::Hashable
|
6831
|
+
|
6832
|
+
# Optional. An optional list of ports to which this rule applies. This field is
|
6833
|
+
# only applicable for the UDP or (S)TCP protocols. Each entry must be either an
|
6834
|
+
# integer or a range including a min and max port number.
|
6835
|
+
# Corresponds to the JSON property `portRanges`
|
6836
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2PortRange>]
|
6837
|
+
attr_accessor :port_ranges
|
6838
|
+
|
6839
|
+
# The IP protocol this rule applies to. This value can either be one of the
|
6840
|
+
# following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
|
6841
|
+
# a string representation of the integer value.
|
6842
|
+
# Corresponds to the JSON property `protocol`
|
6843
|
+
# @return [String]
|
6844
|
+
attr_accessor :protocol
|
6845
|
+
|
6846
|
+
def initialize(**args)
|
6847
|
+
update!(**args)
|
6848
|
+
end
|
6849
|
+
|
6850
|
+
# Update properties of this object
|
6851
|
+
def update!(**args)
|
6852
|
+
@port_ranges = args[:port_ranges] if args.key?(:port_ranges)
|
6853
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
6854
|
+
end
|
6855
|
+
end
|
6856
|
+
|
6857
|
+
# IP rules associated with the finding.
|
6858
|
+
class GoogleCloudSecuritycenterV2IpRules
|
6859
|
+
include Google::Apis::Core::Hashable
|
6860
|
+
|
6861
|
+
# Allowed IP rule.
|
6862
|
+
# Corresponds to the JSON property `allowed`
|
6863
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Allowed]
|
6864
|
+
attr_accessor :allowed
|
6865
|
+
|
6866
|
+
# Denied IP rule.
|
6867
|
+
# Corresponds to the JSON property `denied`
|
6868
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Denied]
|
6869
|
+
attr_accessor :denied
|
6870
|
+
|
6871
|
+
# If destination IP ranges are specified, the firewall rule applies only to
|
6872
|
+
# traffic that has a destination IP address in these ranges. These ranges must
|
6873
|
+
# be expressed in CIDR format. Only supports IPv4.
|
6874
|
+
# Corresponds to the JSON property `destinationIpRanges`
|
6875
|
+
# @return [Array<String>]
|
6876
|
+
attr_accessor :destination_ip_ranges
|
6877
|
+
|
6878
|
+
# The direction that the rule is applicable to, one of ingress or egress.
|
6879
|
+
# Corresponds to the JSON property `direction`
|
6880
|
+
# @return [String]
|
6881
|
+
attr_accessor :direction
|
6882
|
+
|
6883
|
+
# Name of the network protocol service, such as FTP, that is exposed by the open
|
6884
|
+
# port. Follows the naming convention available at: https://www.iana.org/
|
6885
|
+
# assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
6886
|
+
# Corresponds to the JSON property `exposedServices`
|
6887
|
+
# @return [Array<String>]
|
6888
|
+
attr_accessor :exposed_services
|
6889
|
+
|
6890
|
+
# If source IP ranges are specified, the firewall rule applies only to traffic
|
6891
|
+
# that has a source IP address in these ranges. These ranges must be expressed
|
6892
|
+
# in CIDR format. Only supports IPv4.
|
6893
|
+
# Corresponds to the JSON property `sourceIpRanges`
|
6894
|
+
# @return [Array<String>]
|
6895
|
+
attr_accessor :source_ip_ranges
|
6896
|
+
|
6897
|
+
def initialize(**args)
|
6898
|
+
update!(**args)
|
6899
|
+
end
|
6900
|
+
|
6901
|
+
# Update properties of this object
|
6902
|
+
def update!(**args)
|
6903
|
+
@allowed = args[:allowed] if args.key?(:allowed)
|
6904
|
+
@denied = args[:denied] if args.key?(:denied)
|
6905
|
+
@destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
|
6906
|
+
@direction = args[:direction] if args.key?(:direction)
|
6907
|
+
@exposed_services = args[:exposed_services] if args.key?(:exposed_services)
|
6908
|
+
@source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
|
6909
|
+
end
|
6910
|
+
end
|
6911
|
+
|
6716
6912
|
# Security Command Center Issue.
|
6717
6913
|
class GoogleCloudSecuritycenterV2Issue
|
6718
6914
|
include Google::Apis::Core::Hashable
|
@@ -7192,6 +7388,43 @@ module Google
|
|
7192
7388
|
end
|
7193
7389
|
end
|
7194
7390
|
|
7391
|
+
# Describes a job
|
7392
|
+
class GoogleCloudSecuritycenterV2Job
|
7393
|
+
include Google::Apis::Core::Hashable
|
7394
|
+
|
7395
|
+
# Optional. If the job did not complete successfully, this field describes why.
|
7396
|
+
# Corresponds to the JSON property `errorCode`
|
7397
|
+
# @return [Fixnum]
|
7398
|
+
attr_accessor :error_code
|
7399
|
+
|
7400
|
+
# Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
7401
|
+
# Corresponds to the JSON property `location`
|
7402
|
+
# @return [String]
|
7403
|
+
attr_accessor :location
|
7404
|
+
|
7405
|
+
# The fully-qualified name for a job. e.g. `projects//jobs/`
|
7406
|
+
# Corresponds to the JSON property `name`
|
7407
|
+
# @return [String]
|
7408
|
+
attr_accessor :name
|
7409
|
+
|
7410
|
+
# Output only. State of the job, such as `RUNNING` or `PENDING`.
|
7411
|
+
# Corresponds to the JSON property `state`
|
7412
|
+
# @return [String]
|
7413
|
+
attr_accessor :state
|
7414
|
+
|
7415
|
+
def initialize(**args)
|
7416
|
+
update!(**args)
|
7417
|
+
end
|
7418
|
+
|
7419
|
+
# Update properties of this object
|
7420
|
+
def update!(**args)
|
7421
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
7422
|
+
@location = args[:location] if args.key?(:location)
|
7423
|
+
@name = args[:name] if args.key?(:name)
|
7424
|
+
@state = args[:state] if args.key?(:state)
|
7425
|
+
end
|
7426
|
+
end
|
7427
|
+
|
7195
7428
|
# Kernel mode rootkit signatures.
|
7196
7429
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
7197
7430
|
include Google::Apis::Core::Hashable
|
@@ -7593,6 +7826,26 @@ module Google
|
|
7593
7826
|
end
|
7594
7827
|
end
|
7595
7828
|
|
7829
|
+
# Contains information about a VPC network associated with the finding.
|
7830
|
+
class GoogleCloudSecuritycenterV2Network
|
7831
|
+
include Google::Apis::Core::Hashable
|
7832
|
+
|
7833
|
+
# The name of the VPC network resource, for example, `//compute.googleapis.com/
|
7834
|
+
# projects/my-project/global/networks/my-network`.
|
7835
|
+
# Corresponds to the JSON property `name`
|
7836
|
+
# @return [String]
|
7837
|
+
attr_accessor :name
|
7838
|
+
|
7839
|
+
def initialize(**args)
|
7840
|
+
update!(**args)
|
7841
|
+
end
|
7842
|
+
|
7843
|
+
# Update properties of this object
|
7844
|
+
def update!(**args)
|
7845
|
+
@name = args[:name] if args.key?(:name)
|
7846
|
+
end
|
7847
|
+
end
|
7848
|
+
|
7596
7849
|
# Kubernetes nodes associated with the finding.
|
7597
7850
|
class GoogleCloudSecuritycenterV2Node
|
7598
7851
|
include Google::Apis::Core::Hashable
|
@@ -7763,8 +8016,8 @@ module Google
|
|
7763
8016
|
class GoogleCloudSecuritycenterV2OrgPolicy
|
7764
8017
|
include Google::Apis::Core::Hashable
|
7765
8018
|
|
7766
|
-
# The resource name of the org policy. Example: "organizations/`
|
7767
|
-
# policies/`constraint_name`"
|
8019
|
+
# Identifier. The resource name of the org policy. Example: "organizations/`
|
8020
|
+
# organization_id`/policies/`constraint_name`"
|
7768
8021
|
# Corresponds to the JSON property `name`
|
7769
8022
|
# @return [String]
|
7770
8023
|
attr_accessor :name
|
@@ -7888,6 +8141,33 @@ module Google
|
|
7888
8141
|
end
|
7889
8142
|
end
|
7890
8143
|
|
8144
|
+
# A port range which is inclusive of the min and max values. Values are between
|
8145
|
+
# 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
|
8146
|
+
# If min and max are equal this indicates that it is a single port.
|
8147
|
+
class GoogleCloudSecuritycenterV2PortRange
|
8148
|
+
include Google::Apis::Core::Hashable
|
8149
|
+
|
8150
|
+
# Maximum port value.
|
8151
|
+
# Corresponds to the JSON property `max`
|
8152
|
+
# @return [Fixnum]
|
8153
|
+
attr_accessor :max
|
8154
|
+
|
8155
|
+
# Minimum port value.
|
8156
|
+
# Corresponds to the JSON property `min`
|
8157
|
+
# @return [Fixnum]
|
8158
|
+
attr_accessor :min
|
8159
|
+
|
8160
|
+
def initialize(**args)
|
8161
|
+
update!(**args)
|
8162
|
+
end
|
8163
|
+
|
8164
|
+
# Update properties of this object
|
8165
|
+
def update!(**args)
|
8166
|
+
@max = args[:max] if args.key?(:max)
|
8167
|
+
@min = args[:min] if args.key?(:min)
|
8168
|
+
end
|
8169
|
+
end
|
8170
|
+
|
7891
8171
|
# Represents an operating system process.
|
7892
8172
|
class GoogleCloudSecuritycenterV2Process
|
7893
8173
|
include Google::Apis::Core::Hashable
|
@@ -9218,6 +9498,127 @@ module Google
|
|
9218
9498
|
end
|
9219
9499
|
end
|
9220
9500
|
|
9501
|
+
# IP rule information.
|
9502
|
+
class IpRule
|
9503
|
+
include Google::Apis::Core::Hashable
|
9504
|
+
|
9505
|
+
# Optional. An optional list of ports to which this rule applies. This field is
|
9506
|
+
# only applicable for the UDP or (S)TCP protocols. Each entry must be either an
|
9507
|
+
# integer or a range including a min and max port number.
|
9508
|
+
# Corresponds to the JSON property `portRanges`
|
9509
|
+
# @return [Array<Google::Apis::SecuritycenterV1::PortRange>]
|
9510
|
+
attr_accessor :port_ranges
|
9511
|
+
|
9512
|
+
# The IP protocol this rule applies to. This value can either be one of the
|
9513
|
+
# following well known protocol strings (TCP, UDP, ICMP, ESP, AH, IPIP, SCTP) or
|
9514
|
+
# a string representation of the integer value.
|
9515
|
+
# Corresponds to the JSON property `protocol`
|
9516
|
+
# @return [String]
|
9517
|
+
attr_accessor :protocol
|
9518
|
+
|
9519
|
+
def initialize(**args)
|
9520
|
+
update!(**args)
|
9521
|
+
end
|
9522
|
+
|
9523
|
+
# Update properties of this object
|
9524
|
+
def update!(**args)
|
9525
|
+
@port_ranges = args[:port_ranges] if args.key?(:port_ranges)
|
9526
|
+
@protocol = args[:protocol] if args.key?(:protocol)
|
9527
|
+
end
|
9528
|
+
end
|
9529
|
+
|
9530
|
+
# IP rules associated with the finding.
|
9531
|
+
class IpRules
|
9532
|
+
include Google::Apis::Core::Hashable
|
9533
|
+
|
9534
|
+
# Allowed IP rule.
|
9535
|
+
# Corresponds to the JSON property `allowed`
|
9536
|
+
# @return [Google::Apis::SecuritycenterV1::Allowed]
|
9537
|
+
attr_accessor :allowed
|
9538
|
+
|
9539
|
+
# Denied IP rule.
|
9540
|
+
# Corresponds to the JSON property `denied`
|
9541
|
+
# @return [Google::Apis::SecuritycenterV1::Denied]
|
9542
|
+
attr_accessor :denied
|
9543
|
+
|
9544
|
+
# If destination IP ranges are specified, the firewall rule applies only to
|
9545
|
+
# traffic that has a destination IP address in these ranges. These ranges must
|
9546
|
+
# be expressed in CIDR format. Only supports IPv4.
|
9547
|
+
# Corresponds to the JSON property `destinationIpRanges`
|
9548
|
+
# @return [Array<String>]
|
9549
|
+
attr_accessor :destination_ip_ranges
|
9550
|
+
|
9551
|
+
# The direction that the rule is applicable to, one of ingress or egress.
|
9552
|
+
# Corresponds to the JSON property `direction`
|
9553
|
+
# @return [String]
|
9554
|
+
attr_accessor :direction
|
9555
|
+
|
9556
|
+
# Name of the network protocol service, such as FTP, that is exposed by the open
|
9557
|
+
# port. Follows the naming convention available at: https://www.iana.org/
|
9558
|
+
# assignments/service-names-port-numbers/service-names-port-numbers.xhtml.
|
9559
|
+
# Corresponds to the JSON property `exposedServices`
|
9560
|
+
# @return [Array<String>]
|
9561
|
+
attr_accessor :exposed_services
|
9562
|
+
|
9563
|
+
# If source IP ranges are specified, the firewall rule applies only to traffic
|
9564
|
+
# that has a source IP address in these ranges. These ranges must be expressed
|
9565
|
+
# in CIDR format. Only supports IPv4.
|
9566
|
+
# Corresponds to the JSON property `sourceIpRanges`
|
9567
|
+
# @return [Array<String>]
|
9568
|
+
attr_accessor :source_ip_ranges
|
9569
|
+
|
9570
|
+
def initialize(**args)
|
9571
|
+
update!(**args)
|
9572
|
+
end
|
9573
|
+
|
9574
|
+
# Update properties of this object
|
9575
|
+
def update!(**args)
|
9576
|
+
@allowed = args[:allowed] if args.key?(:allowed)
|
9577
|
+
@denied = args[:denied] if args.key?(:denied)
|
9578
|
+
@destination_ip_ranges = args[:destination_ip_ranges] if args.key?(:destination_ip_ranges)
|
9579
|
+
@direction = args[:direction] if args.key?(:direction)
|
9580
|
+
@exposed_services = args[:exposed_services] if args.key?(:exposed_services)
|
9581
|
+
@source_ip_ranges = args[:source_ip_ranges] if args.key?(:source_ip_ranges)
|
9582
|
+
end
|
9583
|
+
end
|
9584
|
+
|
9585
|
+
# Describes a job
|
9586
|
+
class Job
|
9587
|
+
include Google::Apis::Core::Hashable
|
9588
|
+
|
9589
|
+
# Optional. If the job did not complete successfully, this field describes why.
|
9590
|
+
# Corresponds to the JSON property `errorCode`
|
9591
|
+
# @return [Fixnum]
|
9592
|
+
attr_accessor :error_code
|
9593
|
+
|
9594
|
+
# Optional. Gives the location where the job ran, such as `US` or `europe-west1`
|
9595
|
+
# Corresponds to the JSON property `location`
|
9596
|
+
# @return [String]
|
9597
|
+
attr_accessor :location
|
9598
|
+
|
9599
|
+
# The fully-qualified name for a job. e.g. `projects//jobs/`
|
9600
|
+
# Corresponds to the JSON property `name`
|
9601
|
+
# @return [String]
|
9602
|
+
attr_accessor :name
|
9603
|
+
|
9604
|
+
# Output only. State of the job, such as `RUNNING` or `PENDING`.
|
9605
|
+
# Corresponds to the JSON property `state`
|
9606
|
+
# @return [String]
|
9607
|
+
attr_accessor :state
|
9608
|
+
|
9609
|
+
def initialize(**args)
|
9610
|
+
update!(**args)
|
9611
|
+
end
|
9612
|
+
|
9613
|
+
# Update properties of this object
|
9614
|
+
def update!(**args)
|
9615
|
+
@error_code = args[:error_code] if args.key?(:error_code)
|
9616
|
+
@location = args[:location] if args.key?(:location)
|
9617
|
+
@name = args[:name] if args.key?(:name)
|
9618
|
+
@state = args[:state] if args.key?(:state)
|
9619
|
+
end
|
9620
|
+
end
|
9621
|
+
|
9221
9622
|
# Kernel mode rootkit signatures.
|
9222
9623
|
class KernelRootkit
|
9223
9624
|
include Google::Apis::Core::Hashable
|
@@ -10047,6 +10448,26 @@ module Google
|
|
10047
10448
|
end
|
10048
10449
|
end
|
10049
10450
|
|
10451
|
+
# Contains information about a VPC network associated with the finding.
|
10452
|
+
class Network
|
10453
|
+
include Google::Apis::Core::Hashable
|
10454
|
+
|
10455
|
+
# The name of the VPC network resource, for example, `//compute.googleapis.com/
|
10456
|
+
# projects/my-project/global/networks/my-network`.
|
10457
|
+
# Corresponds to the JSON property `name`
|
10458
|
+
# @return [String]
|
10459
|
+
attr_accessor :name
|
10460
|
+
|
10461
|
+
def initialize(**args)
|
10462
|
+
update!(**args)
|
10463
|
+
end
|
10464
|
+
|
10465
|
+
# Update properties of this object
|
10466
|
+
def update!(**args)
|
10467
|
+
@name = args[:name] if args.key?(:name)
|
10468
|
+
end
|
10469
|
+
end
|
10470
|
+
|
10050
10471
|
# Kubernetes nodes associated with the finding.
|
10051
10472
|
class Node
|
10052
10473
|
include Google::Apis::Core::Hashable
|
@@ -10585,6 +11006,33 @@ module Google
|
|
10585
11006
|
end
|
10586
11007
|
end
|
10587
11008
|
|
11009
|
+
# A port range which is inclusive of the min and max values. Values are between
|
11010
|
+
# 0 and 2^16-1. The max can be equal / must be not smaller than the min value.
|
11011
|
+
# If min and max are equal this indicates that it is a single port.
|
11012
|
+
class PortRange
|
11013
|
+
include Google::Apis::Core::Hashable
|
11014
|
+
|
11015
|
+
# Maximum port value.
|
11016
|
+
# Corresponds to the JSON property `max`
|
11017
|
+
# @return [Fixnum]
|
11018
|
+
attr_accessor :max
|
11019
|
+
|
11020
|
+
# Minimum port value.
|
11021
|
+
# Corresponds to the JSON property `min`
|
11022
|
+
# @return [Fixnum]
|
11023
|
+
attr_accessor :min
|
11024
|
+
|
11025
|
+
def initialize(**args)
|
11026
|
+
update!(**args)
|
11027
|
+
end
|
11028
|
+
|
11029
|
+
# Update properties of this object
|
11030
|
+
def update!(**args)
|
11031
|
+
@max = args[:max] if args.key?(:max)
|
11032
|
+
@min = args[:min] if args.key?(:min)
|
11033
|
+
end
|
11034
|
+
end
|
11035
|
+
|
10588
11036
|
# A position in the uploaded text version of a module.
|
10589
11037
|
class Position
|
10590
11038
|
include Google::Apis::Core::Hashable
|
@@ -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.93.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
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
|
|
@@ -304,6 +310,12 @@ module Google
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
305
311
|
end
|
306
312
|
|
313
|
+
class Denied
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
307
319
|
class Detection
|
308
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
321
|
|
@@ -568,6 +580,12 @@ module Google
|
|
568
580
|
include Google::Apis::Core::JsonObjectSupport
|
569
581
|
end
|
570
582
|
|
583
|
+
class GoogleCloudSecuritycenterV2Allowed
|
584
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
585
|
+
|
586
|
+
include Google::Apis::Core::JsonObjectSupport
|
587
|
+
end
|
588
|
+
|
571
589
|
class GoogleCloudSecuritycenterV2Application
|
572
590
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
573
591
|
|
@@ -754,6 +772,12 @@ module Google
|
|
754
772
|
include Google::Apis::Core::JsonObjectSupport
|
755
773
|
end
|
756
774
|
|
775
|
+
class GoogleCloudSecuritycenterV2Denied
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
777
|
+
|
778
|
+
include Google::Apis::Core::JsonObjectSupport
|
779
|
+
end
|
780
|
+
|
757
781
|
class GoogleCloudSecuritycenterV2Detection
|
758
782
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
759
783
|
|
@@ -844,6 +868,18 @@ module Google
|
|
844
868
|
include Google::Apis::Core::JsonObjectSupport
|
845
869
|
end
|
846
870
|
|
871
|
+
class GoogleCloudSecuritycenterV2IpRule
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
877
|
+
class GoogleCloudSecuritycenterV2IpRules
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
847
883
|
class GoogleCloudSecuritycenterV2Issue
|
848
884
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
885
|
|
@@ -934,6 +970,12 @@ module Google
|
|
934
970
|
include Google::Apis::Core::JsonObjectSupport
|
935
971
|
end
|
936
972
|
|
973
|
+
class GoogleCloudSecuritycenterV2Job
|
974
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
|
+
|
976
|
+
include Google::Apis::Core::JsonObjectSupport
|
977
|
+
end
|
978
|
+
|
937
979
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
938
980
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
981
|
|
@@ -988,6 +1030,12 @@ module Google
|
|
988
1030
|
include Google::Apis::Core::JsonObjectSupport
|
989
1031
|
end
|
990
1032
|
|
1033
|
+
class GoogleCloudSecuritycenterV2Network
|
1034
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1035
|
+
|
1036
|
+
include Google::Apis::Core::JsonObjectSupport
|
1037
|
+
end
|
1038
|
+
|
991
1039
|
class GoogleCloudSecuritycenterV2Node
|
992
1040
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
1041
|
|
@@ -1042,6 +1090,12 @@ module Google
|
|
1042
1090
|
include Google::Apis::Core::JsonObjectSupport
|
1043
1091
|
end
|
1044
1092
|
|
1093
|
+
class GoogleCloudSecuritycenterV2PortRange
|
1094
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1095
|
+
|
1096
|
+
include Google::Apis::Core::JsonObjectSupport
|
1097
|
+
end
|
1098
|
+
|
1045
1099
|
class GoogleCloudSecuritycenterV2Process
|
1046
1100
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1047
1101
|
|
@@ -1222,6 +1276,24 @@ module Google
|
|
1222
1276
|
include Google::Apis::Core::JsonObjectSupport
|
1223
1277
|
end
|
1224
1278
|
|
1279
|
+
class IpRule
|
1280
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1281
|
+
|
1282
|
+
include Google::Apis::Core::JsonObjectSupport
|
1283
|
+
end
|
1284
|
+
|
1285
|
+
class IpRules
|
1286
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1287
|
+
|
1288
|
+
include Google::Apis::Core::JsonObjectSupport
|
1289
|
+
end
|
1290
|
+
|
1291
|
+
class Job
|
1292
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1293
|
+
|
1294
|
+
include Google::Apis::Core::JsonObjectSupport
|
1295
|
+
end
|
1296
|
+
|
1225
1297
|
class KernelRootkit
|
1226
1298
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1227
1299
|
|
@@ -1378,6 +1450,12 @@ module Google
|
|
1378
1450
|
include Google::Apis::Core::JsonObjectSupport
|
1379
1451
|
end
|
1380
1452
|
|
1453
|
+
class Network
|
1454
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1455
|
+
|
1456
|
+
include Google::Apis::Core::JsonObjectSupport
|
1457
|
+
end
|
1458
|
+
|
1381
1459
|
class Node
|
1382
1460
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1383
1461
|
|
@@ -1456,6 +1534,12 @@ module Google
|
|
1456
1534
|
include Google::Apis::Core::JsonObjectSupport
|
1457
1535
|
end
|
1458
1536
|
|
1537
|
+
class PortRange
|
1538
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1539
|
+
|
1540
|
+
include Google::Apis::Core::JsonObjectSupport
|
1541
|
+
end
|
1542
|
+
|
1459
1543
|
class Position
|
1460
1544
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1461
1545
|
|
@@ -1741,6 +1825,14 @@ module Google
|
|
1741
1825
|
end
|
1742
1826
|
end
|
1743
1827
|
|
1828
|
+
class Allowed
|
1829
|
+
# @private
|
1830
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1831
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::IpRule, decorator: Google::Apis::SecuritycenterV1::IpRule::Representation
|
1832
|
+
|
1833
|
+
end
|
1834
|
+
end
|
1835
|
+
|
1744
1836
|
class Application
|
1745
1837
|
# @private
|
1746
1838
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2202,6 +2294,14 @@ module Google
|
|
2202
2294
|
end
|
2203
2295
|
end
|
2204
2296
|
|
2297
|
+
class Denied
|
2298
|
+
# @private
|
2299
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2300
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::IpRule, decorator: Google::Apis::SecuritycenterV1::IpRule::Representation
|
2301
|
+
|
2302
|
+
end
|
2303
|
+
end
|
2304
|
+
|
2205
2305
|
class Detection
|
2206
2306
|
# @private
|
2207
2307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2373,6 +2473,10 @@ module Google
|
|
2373
2473
|
|
2374
2474
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::Indicator, decorator: Google::Apis::SecuritycenterV1::Indicator::Representation
|
2375
2475
|
|
2476
|
+
property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::IpRules, decorator: Google::Apis::SecuritycenterV1::IpRules::Representation
|
2477
|
+
|
2478
|
+
property :job, as: 'job', class: Google::Apis::SecuritycenterV1::Job, decorator: Google::Apis::SecuritycenterV1::Job::Representation
|
2479
|
+
|
2376
2480
|
property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1::KernelRootkit, decorator: Google::Apis::SecuritycenterV1::KernelRootkit::Representation
|
2377
2481
|
|
2378
2482
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::Kubernetes, decorator: Google::Apis::SecuritycenterV1::Kubernetes::Representation
|
@@ -2390,6 +2494,8 @@ module Google
|
|
2390
2494
|
property :mute_initiator, as: 'muteInitiator'
|
2391
2495
|
property :mute_update_time, as: 'muteUpdateTime'
|
2392
2496
|
property :name, as: 'name'
|
2497
|
+
collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1::Network, decorator: Google::Apis::SecuritycenterV1::Network::Representation
|
2498
|
+
|
2393
2499
|
property :next_steps, as: 'nextSteps'
|
2394
2500
|
property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1::Notebook, decorator: Google::Apis::SecuritycenterV1::Notebook::Representation
|
2395
2501
|
|
@@ -2774,6 +2880,14 @@ module Google
|
|
2774
2880
|
end
|
2775
2881
|
end
|
2776
2882
|
|
2883
|
+
class GoogleCloudSecuritycenterV2Allowed
|
2884
|
+
# @private
|
2885
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2886
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule::Representation
|
2887
|
+
|
2888
|
+
end
|
2889
|
+
end
|
2890
|
+
|
2777
2891
|
class GoogleCloudSecuritycenterV2Application
|
2778
2892
|
# @private
|
2779
2893
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3102,6 +3216,14 @@ module Google
|
|
3102
3216
|
end
|
3103
3217
|
end
|
3104
3218
|
|
3219
|
+
class GoogleCloudSecuritycenterV2Denied
|
3220
|
+
# @private
|
3221
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3222
|
+
collection :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRule::Representation
|
3223
|
+
|
3224
|
+
end
|
3225
|
+
end
|
3226
|
+
|
3105
3227
|
class GoogleCloudSecuritycenterV2Detection
|
3106
3228
|
# @private
|
3107
3229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3246,6 +3368,10 @@ module Google
|
|
3246
3368
|
|
3247
3369
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Indicator::Representation
|
3248
3370
|
|
3371
|
+
property :ip_rules, as: 'ipRules', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRules, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IpRules::Representation
|
3372
|
+
|
3373
|
+
property :job, as: 'job', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Job, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Job::Representation
|
3374
|
+
|
3249
3375
|
property :kernel_rootkit, as: 'kernelRootkit', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2KernelRootkit, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2KernelRootkit::Representation
|
3250
3376
|
|
3251
3377
|
property :kubernetes, as: 'kubernetes', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Kubernetes, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Kubernetes::Representation
|
@@ -3263,6 +3389,8 @@ module Google
|
|
3263
3389
|
property :mute_initiator, as: 'muteInitiator'
|
3264
3390
|
property :mute_update_time, as: 'muteUpdateTime'
|
3265
3391
|
property :name, as: 'name'
|
3392
|
+
collection :networks, as: 'networks', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Network, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Network::Representation
|
3393
|
+
|
3266
3394
|
property :next_steps, as: 'nextSteps'
|
3267
3395
|
property :notebook, as: 'notebook', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Notebook, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Notebook::Representation
|
3268
3396
|
|
@@ -3330,6 +3458,29 @@ module Google
|
|
3330
3458
|
end
|
3331
3459
|
end
|
3332
3460
|
|
3461
|
+
class GoogleCloudSecuritycenterV2IpRule
|
3462
|
+
# @private
|
3463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3464
|
+
collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2PortRange, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2PortRange::Representation
|
3465
|
+
|
3466
|
+
property :protocol, as: 'protocol'
|
3467
|
+
end
|
3468
|
+
end
|
3469
|
+
|
3470
|
+
class GoogleCloudSecuritycenterV2IpRules
|
3471
|
+
# @private
|
3472
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3473
|
+
property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Allowed, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Allowed::Representation
|
3474
|
+
|
3475
|
+
property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Denied, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Denied::Representation
|
3476
|
+
|
3477
|
+
collection :destination_ip_ranges, as: 'destinationIpRanges'
|
3478
|
+
property :direction, as: 'direction'
|
3479
|
+
collection :exposed_services, as: 'exposedServices'
|
3480
|
+
collection :source_ip_ranges, as: 'sourceIpRanges'
|
3481
|
+
end
|
3482
|
+
end
|
3483
|
+
|
3333
3484
|
class GoogleCloudSecuritycenterV2Issue
|
3334
3485
|
# @private
|
3335
3486
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3482,6 +3633,16 @@ module Google
|
|
3482
3633
|
end
|
3483
3634
|
end
|
3484
3635
|
|
3636
|
+
class GoogleCloudSecuritycenterV2Job
|
3637
|
+
# @private
|
3638
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3639
|
+
property :error_code, as: 'errorCode'
|
3640
|
+
property :location, as: 'location'
|
3641
|
+
property :name, as: 'name'
|
3642
|
+
property :state, as: 'state'
|
3643
|
+
end
|
3644
|
+
end
|
3645
|
+
|
3485
3646
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
3486
3647
|
# @private
|
3487
3648
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3584,6 +3745,13 @@ module Google
|
|
3584
3745
|
end
|
3585
3746
|
end
|
3586
3747
|
|
3748
|
+
class GoogleCloudSecuritycenterV2Network
|
3749
|
+
# @private
|
3750
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3751
|
+
property :name, as: 'name'
|
3752
|
+
end
|
3753
|
+
end
|
3754
|
+
|
3587
3755
|
class GoogleCloudSecuritycenterV2Node
|
3588
3756
|
# @private
|
3589
3757
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3671,6 +3839,14 @@ module Google
|
|
3671
3839
|
end
|
3672
3840
|
end
|
3673
3841
|
|
3842
|
+
class GoogleCloudSecuritycenterV2PortRange
|
3843
|
+
# @private
|
3844
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3845
|
+
property :max, :numeric_string => true, as: 'max'
|
3846
|
+
property :min, :numeric_string => true, as: 'min'
|
3847
|
+
end
|
3848
|
+
end
|
3849
|
+
|
3674
3850
|
class GoogleCloudSecuritycenterV2Process
|
3675
3851
|
# @private
|
3676
3852
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3990,6 +4166,39 @@ module Google
|
|
3990
4166
|
end
|
3991
4167
|
end
|
3992
4168
|
|
4169
|
+
class IpRule
|
4170
|
+
# @private
|
4171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4172
|
+
collection :port_ranges, as: 'portRanges', class: Google::Apis::SecuritycenterV1::PortRange, decorator: Google::Apis::SecuritycenterV1::PortRange::Representation
|
4173
|
+
|
4174
|
+
property :protocol, as: 'protocol'
|
4175
|
+
end
|
4176
|
+
end
|
4177
|
+
|
4178
|
+
class IpRules
|
4179
|
+
# @private
|
4180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4181
|
+
property :allowed, as: 'allowed', class: Google::Apis::SecuritycenterV1::Allowed, decorator: Google::Apis::SecuritycenterV1::Allowed::Representation
|
4182
|
+
|
4183
|
+
property :denied, as: 'denied', class: Google::Apis::SecuritycenterV1::Denied, decorator: Google::Apis::SecuritycenterV1::Denied::Representation
|
4184
|
+
|
4185
|
+
collection :destination_ip_ranges, as: 'destinationIpRanges'
|
4186
|
+
property :direction, as: 'direction'
|
4187
|
+
collection :exposed_services, as: 'exposedServices'
|
4188
|
+
collection :source_ip_ranges, as: 'sourceIpRanges'
|
4189
|
+
end
|
4190
|
+
end
|
4191
|
+
|
4192
|
+
class Job
|
4193
|
+
# @private
|
4194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4195
|
+
property :error_code, as: 'errorCode'
|
4196
|
+
property :location, as: 'location'
|
4197
|
+
property :name, as: 'name'
|
4198
|
+
property :state, as: 'state'
|
4199
|
+
end
|
4200
|
+
end
|
4201
|
+
|
3993
4202
|
class KernelRootkit
|
3994
4203
|
# @private
|
3995
4204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4247,6 +4456,13 @@ module Google
|
|
4247
4456
|
end
|
4248
4457
|
end
|
4249
4458
|
|
4459
|
+
class Network
|
4460
|
+
# @private
|
4461
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4462
|
+
property :name, as: 'name'
|
4463
|
+
end
|
4464
|
+
end
|
4465
|
+
|
4250
4466
|
class Node
|
4251
4467
|
# @private
|
4252
4468
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -4378,6 +4594,14 @@ module Google
|
|
4378
4594
|
end
|
4379
4595
|
end
|
4380
4596
|
|
4597
|
+
class PortRange
|
4598
|
+
# @private
|
4599
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
4600
|
+
property :max, :numeric_string => true, as: 'max'
|
4601
|
+
property :min, :numeric_string => true, as: 'min'
|
4602
|
+
end
|
4603
|
+
end
|
4604
|
+
|
4381
4605
|
class Position
|
4382
4606
|
# @private
|
4383
4607
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
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.93.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_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1/v0.93.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1
|
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 V1
|
79
79
|
test_files: []
|