google-apis-securitycenter_v1 0.90.0 → 0.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/securitycenter_v1/classes.rb +597 -0
- data/lib/google/apis/securitycenter_v1/gem_version.rb +2 -2
- data/lib/google/apis/securitycenter_v1/representations.rb +278 -0
- data/lib/google/apis/securitycenter_v1/service.rb +50 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b3ad046cc61c360f2c2715c97068d80a3e0adf5b12aab6ab9138dcf2f3d8d1f
|
4
|
+
data.tar.gz: b12ca2ee1b79d20169761fd04bbd0053f4cc95cbd3096212739b4efa60f37c41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03da2e5592bbdb9c6d6a71736cec723e859d656c3d2b28668fc634ce4b176b4de3dd7fbbf806fe1814e90b9961ddfdc13ea8d282fedabe4204ca3d336ddd2413
|
7
|
+
data.tar.gz: 3df56cc78235a8b0cc5ad211984bd8d11a4835d347579712ce096326b76cdc21ed7a8b42c9f682eebe7d5c611e4f8ed8f5cea090aba4f6f3ad603f92c22024a4
|
data/CHANGELOG.md
CHANGED
@@ -1913,6 +1913,59 @@ module Google
|
|
1913
1913
|
end
|
1914
1914
|
end
|
1915
1915
|
|
1916
|
+
# Details about data retention deletion violations, in which the data is non-
|
1917
|
+
# compliant based on their retention or deletion time, as defined in the
|
1918
|
+
# applicable data security policy. The Data Retention Deletion (DRD) control is
|
1919
|
+
# a control of the DSPM (Data Security Posture Management) suite that enables
|
1920
|
+
# organizations to manage data retention and deletion policies in compliance
|
1921
|
+
# with regulations, such as GDPR and CRPA. DRD supports two primary policy types:
|
1922
|
+
# maximum storage length (max TTL) and minimum storage length (min TTL). Both
|
1923
|
+
# are aimed at helping organizations meet regulatory and data management
|
1924
|
+
# commitments.
|
1925
|
+
class DataRetentionDeletionEvent
|
1926
|
+
include Google::Apis::Core::Hashable
|
1927
|
+
|
1928
|
+
# Number of objects that violated the policy for this resource. If the number is
|
1929
|
+
# less than 1,000, then the value of this field is the exact number. If the
|
1930
|
+
# number of objects that violated the policy is greater than or equal to 1,000,
|
1931
|
+
# then the value of this field is 1000.
|
1932
|
+
# Corresponds to the JSON property `dataObjectCount`
|
1933
|
+
# @return [Fixnum]
|
1934
|
+
attr_accessor :data_object_count
|
1935
|
+
|
1936
|
+
# Timestamp indicating when the event was detected.
|
1937
|
+
# Corresponds to the JSON property `eventDetectionTime`
|
1938
|
+
# @return [String]
|
1939
|
+
attr_accessor :event_detection_time
|
1940
|
+
|
1941
|
+
# Type of the DRD event.
|
1942
|
+
# Corresponds to the JSON property `eventType`
|
1943
|
+
# @return [String]
|
1944
|
+
attr_accessor :event_type
|
1945
|
+
|
1946
|
+
# Maximum duration of retention allowed from the DRD control. This comes from
|
1947
|
+
# the DRD control where users set a max TTL for their data. For example, suppose
|
1948
|
+
# that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an
|
1949
|
+
# object in that bucket is 100 days old. In this case, a
|
1950
|
+
# DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
|
1951
|
+
# and the max_retention_allowed is 90 days.
|
1952
|
+
# Corresponds to the JSON property `maxRetentionAllowed`
|
1953
|
+
# @return [String]
|
1954
|
+
attr_accessor :max_retention_allowed
|
1955
|
+
|
1956
|
+
def initialize(**args)
|
1957
|
+
update!(**args)
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# Update properties of this object
|
1961
|
+
def update!(**args)
|
1962
|
+
@data_object_count = args[:data_object_count] if args.key?(:data_object_count)
|
1963
|
+
@event_detection_time = args[:event_detection_time] if args.key?(:event_detection_time)
|
1964
|
+
@event_type = args[:event_type] if args.key?(:event_type)
|
1965
|
+
@max_retention_allowed = args[:max_retention_allowed] if args.key?(:max_retention_allowed)
|
1966
|
+
end
|
1967
|
+
end
|
1968
|
+
|
1916
1969
|
# Represents database access information, such as queries. A database may be a
|
1917
1970
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
1918
1971
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -2552,6 +2605,11 @@ module Google
|
|
2552
2605
|
# @return [Array<Google::Apis::SecuritycenterV1::DataFlowEvent>]
|
2553
2606
|
attr_accessor :data_flow_events
|
2554
2607
|
|
2608
|
+
# Data retention deletion events associated with the finding.
|
2609
|
+
# Corresponds to the JSON property `dataRetentionDeletionEvents`
|
2610
|
+
# @return [Array<Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent>]
|
2611
|
+
attr_accessor :data_retention_deletion_events
|
2612
|
+
|
2555
2613
|
# Represents database access information, such as queries. A database may be a
|
2556
2614
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
2557
2615
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -2815,6 +2873,7 @@ module Google
|
|
2815
2873
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2816
2874
|
@data_access_events = args[:data_access_events] if args.key?(:data_access_events)
|
2817
2875
|
@data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
|
2876
|
+
@data_retention_deletion_events = args[:data_retention_deletion_events] if args.key?(:data_retention_deletion_events)
|
2818
2877
|
@database = args[:database] if args.key?(:database)
|
2819
2878
|
@description = args[:description] if args.key?(:description)
|
2820
2879
|
@disk = args[:disk] if args.key?(:disk)
|
@@ -5598,6 +5657,59 @@ module Google
|
|
5598
5657
|
end
|
5599
5658
|
end
|
5600
5659
|
|
5660
|
+
# Details about data retention deletion violations, in which the data is non-
|
5661
|
+
# compliant based on their retention or deletion time, as defined in the
|
5662
|
+
# applicable data security policy. The Data Retention Deletion (DRD) control is
|
5663
|
+
# a control of the DSPM (Data Security Posture Management) suite that enables
|
5664
|
+
# organizations to manage data retention and deletion policies in compliance
|
5665
|
+
# with regulations, such as GDPR and CRPA. DRD supports two primary policy types:
|
5666
|
+
# maximum storage length (max TTL) and minimum storage length (min TTL). Both
|
5667
|
+
# are aimed at helping organizations meet regulatory and data management
|
5668
|
+
# commitments.
|
5669
|
+
class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
|
5670
|
+
include Google::Apis::Core::Hashable
|
5671
|
+
|
5672
|
+
# Number of objects that violated the policy for this resource. If the number is
|
5673
|
+
# less than 1,000, then the value of this field is the exact number. If the
|
5674
|
+
# number of objects that violated the policy is greater than or equal to 1,000,
|
5675
|
+
# then the value of this field is 1000.
|
5676
|
+
# Corresponds to the JSON property `dataObjectCount`
|
5677
|
+
# @return [Fixnum]
|
5678
|
+
attr_accessor :data_object_count
|
5679
|
+
|
5680
|
+
# Timestamp indicating when the event was detected.
|
5681
|
+
# Corresponds to the JSON property `eventDetectionTime`
|
5682
|
+
# @return [String]
|
5683
|
+
attr_accessor :event_detection_time
|
5684
|
+
|
5685
|
+
# Type of the DRD event.
|
5686
|
+
# Corresponds to the JSON property `eventType`
|
5687
|
+
# @return [String]
|
5688
|
+
attr_accessor :event_type
|
5689
|
+
|
5690
|
+
# Maximum duration of retention allowed from the DRD control. This comes from
|
5691
|
+
# the DRD control where users set a max TTL for their data. For example, suppose
|
5692
|
+
# that a user set the max TTL for a Cloud Storage bucket to 90 days. However, an
|
5693
|
+
# object in that bucket is 100 days old. In this case, a
|
5694
|
+
# DataRetentionDeletionEvent will be generated for that Cloud Storage bucket,
|
5695
|
+
# and the max_retention_allowed is 90 days.
|
5696
|
+
# Corresponds to the JSON property `maxRetentionAllowed`
|
5697
|
+
# @return [String]
|
5698
|
+
attr_accessor :max_retention_allowed
|
5699
|
+
|
5700
|
+
def initialize(**args)
|
5701
|
+
update!(**args)
|
5702
|
+
end
|
5703
|
+
|
5704
|
+
# Update properties of this object
|
5705
|
+
def update!(**args)
|
5706
|
+
@data_object_count = args[:data_object_count] if args.key?(:data_object_count)
|
5707
|
+
@event_detection_time = args[:event_detection_time] if args.key?(:event_detection_time)
|
5708
|
+
@event_type = args[:event_type] if args.key?(:event_type)
|
5709
|
+
@max_retention_allowed = args[:max_retention_allowed] if args.key?(:max_retention_allowed)
|
5710
|
+
end
|
5711
|
+
end
|
5712
|
+
|
5601
5713
|
# Represents database access information, such as queries. A database may be a
|
5602
5714
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
5603
5715
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -6108,6 +6220,11 @@ module Google
|
|
6108
6220
|
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent>]
|
6109
6221
|
attr_accessor :data_flow_events
|
6110
6222
|
|
6223
|
+
# Data retention deletion events associated with the finding.
|
6224
|
+
# Corresponds to the JSON property `dataRetentionDeletionEvents`
|
6225
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent>]
|
6226
|
+
attr_accessor :data_retention_deletion_events
|
6227
|
+
|
6111
6228
|
# Represents database access information, such as queries. A database may be a
|
6112
6229
|
# sub-resource of an instance (as in the case of Cloud SQL instances or Cloud
|
6113
6230
|
# Spanner instances), or the database instance itself. Some database resources
|
@@ -6380,6 +6497,7 @@ module Google
|
|
6380
6497
|
@create_time = args[:create_time] if args.key?(:create_time)
|
6381
6498
|
@data_access_events = args[:data_access_events] if args.key?(:data_access_events)
|
6382
6499
|
@data_flow_events = args[:data_flow_events] if args.key?(:data_flow_events)
|
6500
|
+
@data_retention_deletion_events = args[:data_retention_deletion_events] if args.key?(:data_retention_deletion_events)
|
6383
6501
|
@database = args[:database] if args.key?(:database)
|
6384
6502
|
@description = args[:description] if args.key?(:description)
|
6385
6503
|
@disk = args[:disk] if args.key?(:disk)
|
@@ -6567,6 +6685,485 @@ module Google
|
|
6567
6685
|
end
|
6568
6686
|
end
|
6569
6687
|
|
6688
|
+
# Security Command Center Issue.
|
6689
|
+
class GoogleCloudSecuritycenterV2Issue
|
6690
|
+
include Google::Apis::Core::Hashable
|
6691
|
+
|
6692
|
+
# Output only. The time the issue was created.
|
6693
|
+
# Corresponds to the JSON property `createTime`
|
6694
|
+
# @return [String]
|
6695
|
+
attr_accessor :create_time
|
6696
|
+
|
6697
|
+
# The description of the issue in Markdown format.
|
6698
|
+
# Corresponds to the JSON property `description`
|
6699
|
+
# @return [String]
|
6700
|
+
attr_accessor :description
|
6701
|
+
|
6702
|
+
# The finding category or rule name that generated the issue.
|
6703
|
+
# Corresponds to the JSON property `detection`
|
6704
|
+
# @return [String]
|
6705
|
+
attr_accessor :detection
|
6706
|
+
|
6707
|
+
# The domains of the issue.
|
6708
|
+
# Corresponds to the JSON property `domains`
|
6709
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain>]
|
6710
|
+
attr_accessor :domains
|
6711
|
+
|
6712
|
+
# The exposure score of the issue.
|
6713
|
+
# Corresponds to the JSON property `exposureScore`
|
6714
|
+
# @return [Float]
|
6715
|
+
attr_accessor :exposure_score
|
6716
|
+
|
6717
|
+
# The type of the issue.
|
6718
|
+
# Corresponds to the JSON property `issueType`
|
6719
|
+
# @return [String]
|
6720
|
+
attr_accessor :issue_type
|
6721
|
+
|
6722
|
+
# The time the issue was last observed.
|
6723
|
+
# Corresponds to the JSON property `lastObservationTime`
|
6724
|
+
# @return [String]
|
6725
|
+
attr_accessor :last_observation_time
|
6726
|
+
|
6727
|
+
# The mute information of the issue.
|
6728
|
+
# Corresponds to the JSON property `mute`
|
6729
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute]
|
6730
|
+
attr_accessor :mute
|
6731
|
+
|
6732
|
+
# Identifier. The name of the issue. Format: organizations/`organization`/
|
6733
|
+
# locations/`location`/issues/`issue`
|
6734
|
+
# Corresponds to the JSON property `name`
|
6735
|
+
# @return [String]
|
6736
|
+
attr_accessor :name
|
6737
|
+
|
6738
|
+
# A resource associated with the an issue.
|
6739
|
+
# Corresponds to the JSON property `primaryResource`
|
6740
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource]
|
6741
|
+
attr_accessor :primary_resource
|
6742
|
+
|
6743
|
+
# The findings related to the issue.
|
6744
|
+
# Corresponds to the JSON property `relatedFindings`
|
6745
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding>]
|
6746
|
+
attr_accessor :related_findings
|
6747
|
+
|
6748
|
+
# Approaches to remediate the issue in Markdown format.
|
6749
|
+
# Corresponds to the JSON property `remediations`
|
6750
|
+
# @return [Array<String>]
|
6751
|
+
attr_accessor :remediations
|
6752
|
+
|
6753
|
+
# Additional resources associated with the issue.
|
6754
|
+
# Corresponds to the JSON property `secondaryResources`
|
6755
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource>]
|
6756
|
+
attr_accessor :secondary_resources
|
6757
|
+
|
6758
|
+
# The security context of the issue.
|
6759
|
+
# Corresponds to the JSON property `securityContexts`
|
6760
|
+
# @return [Array<Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext>]
|
6761
|
+
attr_accessor :security_contexts
|
6762
|
+
|
6763
|
+
# The severity of the issue.
|
6764
|
+
# Corresponds to the JSON property `severity`
|
6765
|
+
# @return [String]
|
6766
|
+
attr_accessor :severity
|
6767
|
+
|
6768
|
+
# Output only. The state of the issue.
|
6769
|
+
# Corresponds to the JSON property `state`
|
6770
|
+
# @return [String]
|
6771
|
+
attr_accessor :state
|
6772
|
+
|
6773
|
+
# Output only. The time the issue was last updated.
|
6774
|
+
# Corresponds to the JSON property `updateTime`
|
6775
|
+
# @return [String]
|
6776
|
+
attr_accessor :update_time
|
6777
|
+
|
6778
|
+
def initialize(**args)
|
6779
|
+
update!(**args)
|
6780
|
+
end
|
6781
|
+
|
6782
|
+
# Update properties of this object
|
6783
|
+
def update!(**args)
|
6784
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
6785
|
+
@description = args[:description] if args.key?(:description)
|
6786
|
+
@detection = args[:detection] if args.key?(:detection)
|
6787
|
+
@domains = args[:domains] if args.key?(:domains)
|
6788
|
+
@exposure_score = args[:exposure_score] if args.key?(:exposure_score)
|
6789
|
+
@issue_type = args[:issue_type] if args.key?(:issue_type)
|
6790
|
+
@last_observation_time = args[:last_observation_time] if args.key?(:last_observation_time)
|
6791
|
+
@mute = args[:mute] if args.key?(:mute)
|
6792
|
+
@name = args[:name] if args.key?(:name)
|
6793
|
+
@primary_resource = args[:primary_resource] if args.key?(:primary_resource)
|
6794
|
+
@related_findings = args[:related_findings] if args.key?(:related_findings)
|
6795
|
+
@remediations = args[:remediations] if args.key?(:remediations)
|
6796
|
+
@secondary_resources = args[:secondary_resources] if args.key?(:secondary_resources)
|
6797
|
+
@security_contexts = args[:security_contexts] if args.key?(:security_contexts)
|
6798
|
+
@severity = args[:severity] if args.key?(:severity)
|
6799
|
+
@state = args[:state] if args.key?(:state)
|
6800
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
6801
|
+
end
|
6802
|
+
end
|
6803
|
+
|
6804
|
+
# The domains of an issue.
|
6805
|
+
class GoogleCloudSecuritycenterV2IssueDomain
|
6806
|
+
include Google::Apis::Core::Hashable
|
6807
|
+
|
6808
|
+
# The domain category of the issue.
|
6809
|
+
# Corresponds to the JSON property `domainCategory`
|
6810
|
+
# @return [String]
|
6811
|
+
attr_accessor :domain_category
|
6812
|
+
|
6813
|
+
def initialize(**args)
|
6814
|
+
update!(**args)
|
6815
|
+
end
|
6816
|
+
|
6817
|
+
# Update properties of this object
|
6818
|
+
def update!(**args)
|
6819
|
+
@domain_category = args[:domain_category] if args.key?(:domain_category)
|
6820
|
+
end
|
6821
|
+
end
|
6822
|
+
|
6823
|
+
# Finding related to an issue.
|
6824
|
+
class GoogleCloudSecuritycenterV2IssueFinding
|
6825
|
+
include Google::Apis::Core::Hashable
|
6826
|
+
|
6827
|
+
# The CVE of the finding.
|
6828
|
+
# Corresponds to the JSON property `cve`
|
6829
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve]
|
6830
|
+
attr_accessor :cve
|
6831
|
+
|
6832
|
+
# The name of the finding.
|
6833
|
+
# Corresponds to the JSON property `name`
|
6834
|
+
# @return [String]
|
6835
|
+
attr_accessor :name
|
6836
|
+
|
6837
|
+
# The security bulletin of the finding.
|
6838
|
+
# Corresponds to the JSON property `securityBulletin`
|
6839
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin]
|
6840
|
+
attr_accessor :security_bulletin
|
6841
|
+
|
6842
|
+
def initialize(**args)
|
6843
|
+
update!(**args)
|
6844
|
+
end
|
6845
|
+
|
6846
|
+
# Update properties of this object
|
6847
|
+
def update!(**args)
|
6848
|
+
@cve = args[:cve] if args.key?(:cve)
|
6849
|
+
@name = args[:name] if args.key?(:name)
|
6850
|
+
@security_bulletin = args[:security_bulletin] if args.key?(:security_bulletin)
|
6851
|
+
end
|
6852
|
+
end
|
6853
|
+
|
6854
|
+
# The CVE of the finding.
|
6855
|
+
class GoogleCloudSecuritycenterV2IssueFindingCve
|
6856
|
+
include Google::Apis::Core::Hashable
|
6857
|
+
|
6858
|
+
# The CVE name.
|
6859
|
+
# Corresponds to the JSON property `name`
|
6860
|
+
# @return [String]
|
6861
|
+
attr_accessor :name
|
6862
|
+
|
6863
|
+
def initialize(**args)
|
6864
|
+
update!(**args)
|
6865
|
+
end
|
6866
|
+
|
6867
|
+
# Update properties of this object
|
6868
|
+
def update!(**args)
|
6869
|
+
@name = args[:name] if args.key?(:name)
|
6870
|
+
end
|
6871
|
+
end
|
6872
|
+
|
6873
|
+
# The security bulletin of the finding.
|
6874
|
+
class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
|
6875
|
+
include Google::Apis::Core::Hashable
|
6876
|
+
|
6877
|
+
# The security bulletin name.
|
6878
|
+
# Corresponds to the JSON property `name`
|
6879
|
+
# @return [String]
|
6880
|
+
attr_accessor :name
|
6881
|
+
|
6882
|
+
def initialize(**args)
|
6883
|
+
update!(**args)
|
6884
|
+
end
|
6885
|
+
|
6886
|
+
# Update properties of this object
|
6887
|
+
def update!(**args)
|
6888
|
+
@name = args[:name] if args.key?(:name)
|
6889
|
+
end
|
6890
|
+
end
|
6891
|
+
|
6892
|
+
# The mute information of the issue.
|
6893
|
+
class GoogleCloudSecuritycenterV2IssueMute
|
6894
|
+
include Google::Apis::Core::Hashable
|
6895
|
+
|
6896
|
+
# The email address of the user who last changed the mute state of the issue.
|
6897
|
+
# Corresponds to the JSON property `muteInitiator`
|
6898
|
+
# @return [String]
|
6899
|
+
attr_accessor :mute_initiator
|
6900
|
+
|
6901
|
+
# The user-provided reason for muting the issue.
|
6902
|
+
# Corresponds to the JSON property `muteReason`
|
6903
|
+
# @return [String]
|
6904
|
+
attr_accessor :mute_reason
|
6905
|
+
|
6906
|
+
# Output only. The mute state of the issue.
|
6907
|
+
# Corresponds to the JSON property `muteState`
|
6908
|
+
# @return [String]
|
6909
|
+
attr_accessor :mute_state
|
6910
|
+
|
6911
|
+
# The time the issue was muted.
|
6912
|
+
# Corresponds to the JSON property `muteUpdateTime`
|
6913
|
+
# @return [String]
|
6914
|
+
attr_accessor :mute_update_time
|
6915
|
+
|
6916
|
+
def initialize(**args)
|
6917
|
+
update!(**args)
|
6918
|
+
end
|
6919
|
+
|
6920
|
+
# Update properties of this object
|
6921
|
+
def update!(**args)
|
6922
|
+
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
6923
|
+
@mute_reason = args[:mute_reason] if args.key?(:mute_reason)
|
6924
|
+
@mute_state = args[:mute_state] if args.key?(:mute_state)
|
6925
|
+
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
6926
|
+
end
|
6927
|
+
end
|
6928
|
+
|
6929
|
+
# A resource associated with the an issue.
|
6930
|
+
class GoogleCloudSecuritycenterV2IssueResource
|
6931
|
+
include Google::Apis::Core::Hashable
|
6932
|
+
|
6933
|
+
# The AWS metadata of a resource associated with an issue.
|
6934
|
+
# Corresponds to the JSON property `awsMetadata`
|
6935
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata]
|
6936
|
+
attr_accessor :aws_metadata
|
6937
|
+
|
6938
|
+
# The Azure metadata of a resource associated with an issue.
|
6939
|
+
# Corresponds to the JSON property `azureMetadata`
|
6940
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata]
|
6941
|
+
attr_accessor :azure_metadata
|
6942
|
+
|
6943
|
+
# The cloud provider of the resource associated with the issue.
|
6944
|
+
# Corresponds to the JSON property `cloudProvider`
|
6945
|
+
# @return [String]
|
6946
|
+
attr_accessor :cloud_provider
|
6947
|
+
|
6948
|
+
# The resource-type specific display name of the resource associated with the
|
6949
|
+
# issue.
|
6950
|
+
# Corresponds to the JSON property `displayName`
|
6951
|
+
# @return [String]
|
6952
|
+
attr_accessor :display_name
|
6953
|
+
|
6954
|
+
# Google Cloud metadata of a resource associated with an issue.
|
6955
|
+
# Corresponds to the JSON property `googleCloudMetadata`
|
6956
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata]
|
6957
|
+
attr_accessor :google_cloud_metadata
|
6958
|
+
|
6959
|
+
# The full resource name of the resource associated with the issue.
|
6960
|
+
# Corresponds to the JSON property `name`
|
6961
|
+
# @return [String]
|
6962
|
+
attr_accessor :name
|
6963
|
+
|
6964
|
+
# The type of the resource associated with the issue.
|
6965
|
+
# Corresponds to the JSON property `type`
|
6966
|
+
# @return [String]
|
6967
|
+
attr_accessor :type
|
6968
|
+
|
6969
|
+
def initialize(**args)
|
6970
|
+
update!(**args)
|
6971
|
+
end
|
6972
|
+
|
6973
|
+
# Update properties of this object
|
6974
|
+
def update!(**args)
|
6975
|
+
@aws_metadata = args[:aws_metadata] if args.key?(:aws_metadata)
|
6976
|
+
@azure_metadata = args[:azure_metadata] if args.key?(:azure_metadata)
|
6977
|
+
@cloud_provider = args[:cloud_provider] if args.key?(:cloud_provider)
|
6978
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
6979
|
+
@google_cloud_metadata = args[:google_cloud_metadata] if args.key?(:google_cloud_metadata)
|
6980
|
+
@name = args[:name] if args.key?(:name)
|
6981
|
+
@type = args[:type] if args.key?(:type)
|
6982
|
+
end
|
6983
|
+
end
|
6984
|
+
|
6985
|
+
# The AWS metadata of a resource associated with an issue.
|
6986
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
|
6987
|
+
include Google::Apis::Core::Hashable
|
6988
|
+
|
6989
|
+
# The AWS account of the resource associated with the issue.
|
6990
|
+
# Corresponds to the JSON property `account`
|
6991
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount]
|
6992
|
+
attr_accessor :account
|
6993
|
+
|
6994
|
+
def initialize(**args)
|
6995
|
+
update!(**args)
|
6996
|
+
end
|
6997
|
+
|
6998
|
+
# Update properties of this object
|
6999
|
+
def update!(**args)
|
7000
|
+
@account = args[:account] if args.key?(:account)
|
7001
|
+
end
|
7002
|
+
end
|
7003
|
+
|
7004
|
+
# The AWS account of the resource associated with the issue.
|
7005
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
|
7006
|
+
include Google::Apis::Core::Hashable
|
7007
|
+
|
7008
|
+
# The AWS account ID of the resource associated with the issue.
|
7009
|
+
# Corresponds to the JSON property `id`
|
7010
|
+
# @return [String]
|
7011
|
+
attr_accessor :id
|
7012
|
+
|
7013
|
+
# The AWS account name of the resource associated with the issue.
|
7014
|
+
# Corresponds to the JSON property `name`
|
7015
|
+
# @return [String]
|
7016
|
+
attr_accessor :name
|
7017
|
+
|
7018
|
+
def initialize(**args)
|
7019
|
+
update!(**args)
|
7020
|
+
end
|
7021
|
+
|
7022
|
+
# Update properties of this object
|
7023
|
+
def update!(**args)
|
7024
|
+
@id = args[:id] if args.key?(:id)
|
7025
|
+
@name = args[:name] if args.key?(:name)
|
7026
|
+
end
|
7027
|
+
end
|
7028
|
+
|
7029
|
+
# The Azure metadata of a resource associated with an issue.
|
7030
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
|
7031
|
+
include Google::Apis::Core::Hashable
|
7032
|
+
|
7033
|
+
# The Azure subscription of the resource associated with the issue.
|
7034
|
+
# Corresponds to the JSON property `subscription`
|
7035
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription]
|
7036
|
+
attr_accessor :subscription
|
7037
|
+
|
7038
|
+
def initialize(**args)
|
7039
|
+
update!(**args)
|
7040
|
+
end
|
7041
|
+
|
7042
|
+
# Update properties of this object
|
7043
|
+
def update!(**args)
|
7044
|
+
@subscription = args[:subscription] if args.key?(:subscription)
|
7045
|
+
end
|
7046
|
+
end
|
7047
|
+
|
7048
|
+
# The Azure subscription of the resource associated with the issue.
|
7049
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
|
7050
|
+
include Google::Apis::Core::Hashable
|
7051
|
+
|
7052
|
+
# The Azure subscription display name of the resource associated with the issue.
|
7053
|
+
# Corresponds to the JSON property `displayName`
|
7054
|
+
# @return [String]
|
7055
|
+
attr_accessor :display_name
|
7056
|
+
|
7057
|
+
# The Azure subscription ID of the resource associated with the issue.
|
7058
|
+
# Corresponds to the JSON property `id`
|
7059
|
+
# @return [String]
|
7060
|
+
attr_accessor :id
|
7061
|
+
|
7062
|
+
def initialize(**args)
|
7063
|
+
update!(**args)
|
7064
|
+
end
|
7065
|
+
|
7066
|
+
# Update properties of this object
|
7067
|
+
def update!(**args)
|
7068
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
7069
|
+
@id = args[:id] if args.key?(:id)
|
7070
|
+
end
|
7071
|
+
end
|
7072
|
+
|
7073
|
+
# Google Cloud metadata of a resource associated with an issue.
|
7074
|
+
class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
|
7075
|
+
include Google::Apis::Core::Hashable
|
7076
|
+
|
7077
|
+
# The project ID that the resource associated with the issue belongs to.
|
7078
|
+
# Corresponds to the JSON property `projectId`
|
7079
|
+
# @return [String]
|
7080
|
+
attr_accessor :project_id
|
7081
|
+
|
7082
|
+
def initialize(**args)
|
7083
|
+
update!(**args)
|
7084
|
+
end
|
7085
|
+
|
7086
|
+
# Update properties of this object
|
7087
|
+
def update!(**args)
|
7088
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
7089
|
+
end
|
7090
|
+
end
|
7091
|
+
|
7092
|
+
# Security context associated with an issue.
|
7093
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContext
|
7094
|
+
include Google::Apis::Core::Hashable
|
7095
|
+
|
7096
|
+
# Aggregated count of a security context.
|
7097
|
+
# Corresponds to the JSON property `aggregatedCount`
|
7098
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount]
|
7099
|
+
attr_accessor :aggregated_count
|
7100
|
+
|
7101
|
+
# Context of a security context.
|
7102
|
+
# Corresponds to the JSON property `context`
|
7103
|
+
# @return [Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext]
|
7104
|
+
attr_accessor :context
|
7105
|
+
|
7106
|
+
def initialize(**args)
|
7107
|
+
update!(**args)
|
7108
|
+
end
|
7109
|
+
|
7110
|
+
# Update properties of this object
|
7111
|
+
def update!(**args)
|
7112
|
+
@aggregated_count = args[:aggregated_count] if args.key?(:aggregated_count)
|
7113
|
+
@context = args[:context] if args.key?(:context)
|
7114
|
+
end
|
7115
|
+
end
|
7116
|
+
|
7117
|
+
# Aggregated count of a security context.
|
7118
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
|
7119
|
+
include Google::Apis::Core::Hashable
|
7120
|
+
|
7121
|
+
# Aggregation key.
|
7122
|
+
# Corresponds to the JSON property `key`
|
7123
|
+
# @return [String]
|
7124
|
+
attr_accessor :key
|
7125
|
+
|
7126
|
+
# Aggregation value.
|
7127
|
+
# Corresponds to the JSON property `value`
|
7128
|
+
# @return [Fixnum]
|
7129
|
+
attr_accessor :value
|
7130
|
+
|
7131
|
+
def initialize(**args)
|
7132
|
+
update!(**args)
|
7133
|
+
end
|
7134
|
+
|
7135
|
+
# Update properties of this object
|
7136
|
+
def update!(**args)
|
7137
|
+
@key = args[:key] if args.key?(:key)
|
7138
|
+
@value = args[:value] if args.key?(:value)
|
7139
|
+
end
|
7140
|
+
end
|
7141
|
+
|
7142
|
+
# Context of a security context.
|
7143
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextContext
|
7144
|
+
include Google::Apis::Core::Hashable
|
7145
|
+
|
7146
|
+
# Context type.
|
7147
|
+
# Corresponds to the JSON property `type`
|
7148
|
+
# @return [String]
|
7149
|
+
attr_accessor :type
|
7150
|
+
|
7151
|
+
# Context values.
|
7152
|
+
# Corresponds to the JSON property `values`
|
7153
|
+
# @return [Array<String>]
|
7154
|
+
attr_accessor :values
|
7155
|
+
|
7156
|
+
def initialize(**args)
|
7157
|
+
update!(**args)
|
7158
|
+
end
|
7159
|
+
|
7160
|
+
# Update properties of this object
|
7161
|
+
def update!(**args)
|
7162
|
+
@type = args[:type] if args.key?(:type)
|
7163
|
+
@values = args[:values] if args.key?(:values)
|
7164
|
+
end
|
7165
|
+
end
|
7166
|
+
|
6570
7167
|
# Kernel mode rootkit signatures.
|
6571
7168
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
6572
7169
|
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.91.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 = "20241206"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -292,6 +292,12 @@ module Google
|
|
292
292
|
include Google::Apis::Core::JsonObjectSupport
|
293
293
|
end
|
294
294
|
|
295
|
+
class DataRetentionDeletionEvent
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
295
301
|
class Database
|
296
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
303
|
|
@@ -736,6 +742,12 @@ module Google
|
|
736
742
|
include Google::Apis::Core::JsonObjectSupport
|
737
743
|
end
|
738
744
|
|
745
|
+
class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
739
751
|
class GoogleCloudSecuritycenterV2Database
|
740
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
753
|
|
@@ -832,6 +844,96 @@ module Google
|
|
832
844
|
include Google::Apis::Core::JsonObjectSupport
|
833
845
|
end
|
834
846
|
|
847
|
+
class GoogleCloudSecuritycenterV2Issue
|
848
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
|
+
|
850
|
+
include Google::Apis::Core::JsonObjectSupport
|
851
|
+
end
|
852
|
+
|
853
|
+
class GoogleCloudSecuritycenterV2IssueDomain
|
854
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
|
+
|
856
|
+
include Google::Apis::Core::JsonObjectSupport
|
857
|
+
end
|
858
|
+
|
859
|
+
class GoogleCloudSecuritycenterV2IssueFinding
|
860
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
861
|
+
|
862
|
+
include Google::Apis::Core::JsonObjectSupport
|
863
|
+
end
|
864
|
+
|
865
|
+
class GoogleCloudSecuritycenterV2IssueFindingCve
|
866
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
867
|
+
|
868
|
+
include Google::Apis::Core::JsonObjectSupport
|
869
|
+
end
|
870
|
+
|
871
|
+
class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
|
872
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
873
|
+
|
874
|
+
include Google::Apis::Core::JsonObjectSupport
|
875
|
+
end
|
876
|
+
|
877
|
+
class GoogleCloudSecuritycenterV2IssueMute
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
879
|
+
|
880
|
+
include Google::Apis::Core::JsonObjectSupport
|
881
|
+
end
|
882
|
+
|
883
|
+
class GoogleCloudSecuritycenterV2IssueResource
|
884
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
885
|
+
|
886
|
+
include Google::Apis::Core::JsonObjectSupport
|
887
|
+
end
|
888
|
+
|
889
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
|
890
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
891
|
+
|
892
|
+
include Google::Apis::Core::JsonObjectSupport
|
893
|
+
end
|
894
|
+
|
895
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
|
896
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
897
|
+
|
898
|
+
include Google::Apis::Core::JsonObjectSupport
|
899
|
+
end
|
900
|
+
|
901
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
903
|
+
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
905
|
+
end
|
906
|
+
|
907
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
|
908
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
909
|
+
|
910
|
+
include Google::Apis::Core::JsonObjectSupport
|
911
|
+
end
|
912
|
+
|
913
|
+
class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
|
914
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
915
|
+
|
916
|
+
include Google::Apis::Core::JsonObjectSupport
|
917
|
+
end
|
918
|
+
|
919
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContext
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
925
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
927
|
+
|
928
|
+
include Google::Apis::Core::JsonObjectSupport
|
929
|
+
end
|
930
|
+
|
931
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextContext
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
|
+
|
934
|
+
include Google::Apis::Core::JsonObjectSupport
|
935
|
+
end
|
936
|
+
|
835
937
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
836
938
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
837
939
|
|
@@ -2076,6 +2178,16 @@ module Google
|
|
2076
2178
|
end
|
2077
2179
|
end
|
2078
2180
|
|
2181
|
+
class DataRetentionDeletionEvent
|
2182
|
+
# @private
|
2183
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2184
|
+
property :data_object_count, :numeric_string => true, as: 'dataObjectCount'
|
2185
|
+
property :event_detection_time, as: 'eventDetectionTime'
|
2186
|
+
property :event_type, as: 'eventType'
|
2187
|
+
property :max_retention_allowed, as: 'maxRetentionAllowed'
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
|
2079
2191
|
class Database
|
2080
2192
|
# @private
|
2081
2193
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2237,6 +2349,8 @@ module Google
|
|
2237
2349
|
|
2238
2350
|
collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::DataFlowEvent::Representation
|
2239
2351
|
|
2352
|
+
collection :data_retention_deletion_events, as: 'dataRetentionDeletionEvents', class: Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent, decorator: Google::Apis::SecuritycenterV1::DataRetentionDeletionEvent::Representation
|
2353
|
+
|
2240
2354
|
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::Database, decorator: Google::Apis::SecuritycenterV1::Database::Representation
|
2241
2355
|
|
2242
2356
|
property :description, as: 'description'
|
@@ -2962,6 +3076,16 @@ module Google
|
|
2962
3076
|
end
|
2963
3077
|
end
|
2964
3078
|
|
3079
|
+
class GoogleCloudSecuritycenterV2DataRetentionDeletionEvent
|
3080
|
+
# @private
|
3081
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3082
|
+
property :data_object_count, :numeric_string => true, as: 'dataObjectCount'
|
3083
|
+
property :event_detection_time, as: 'eventDetectionTime'
|
3084
|
+
property :event_type, as: 'eventType'
|
3085
|
+
property :max_retention_allowed, as: 'maxRetentionAllowed'
|
3086
|
+
end
|
3087
|
+
end
|
3088
|
+
|
2965
3089
|
class GoogleCloudSecuritycenterV2Database
|
2966
3090
|
# @private
|
2967
3091
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -3096,6 +3220,8 @@ module Google
|
|
3096
3220
|
|
3097
3221
|
collection :data_flow_events, as: 'dataFlowEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataFlowEvent::Representation
|
3098
3222
|
|
3223
|
+
collection :data_retention_deletion_events, as: 'dataRetentionDeletionEvents', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2DataRetentionDeletionEvent::Representation
|
3224
|
+
|
3099
3225
|
property :database, as: 'database', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2Database::Representation
|
3100
3226
|
|
3101
3227
|
property :description, as: 'description'
|
@@ -3200,6 +3326,158 @@ module Google
|
|
3200
3326
|
end
|
3201
3327
|
end
|
3202
3328
|
|
3329
|
+
class GoogleCloudSecuritycenterV2Issue
|
3330
|
+
# @private
|
3331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3332
|
+
property :create_time, as: 'createTime'
|
3333
|
+
property :description, as: 'description'
|
3334
|
+
property :detection, as: 'detection'
|
3335
|
+
collection :domains, as: 'domains', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueDomain::Representation
|
3336
|
+
|
3337
|
+
property :exposure_score, as: 'exposureScore'
|
3338
|
+
property :issue_type, as: 'issueType'
|
3339
|
+
property :last_observation_time, as: 'lastObservationTime'
|
3340
|
+
property :mute, as: 'mute', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueMute::Representation
|
3341
|
+
|
3342
|
+
property :name, as: 'name'
|
3343
|
+
property :primary_resource, as: 'primaryResource', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource::Representation
|
3344
|
+
|
3345
|
+
collection :related_findings, as: 'relatedFindings', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFinding::Representation
|
3346
|
+
|
3347
|
+
collection :remediations, as: 'remediations'
|
3348
|
+
collection :secondary_resources, as: 'secondaryResources', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResource::Representation
|
3349
|
+
|
3350
|
+
collection :security_contexts, as: 'securityContexts', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContext::Representation
|
3351
|
+
|
3352
|
+
property :severity, as: 'severity'
|
3353
|
+
property :state, as: 'state'
|
3354
|
+
property :update_time, as: 'updateTime'
|
3355
|
+
end
|
3356
|
+
end
|
3357
|
+
|
3358
|
+
class GoogleCloudSecuritycenterV2IssueDomain
|
3359
|
+
# @private
|
3360
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3361
|
+
property :domain_category, as: 'domainCategory'
|
3362
|
+
end
|
3363
|
+
end
|
3364
|
+
|
3365
|
+
class GoogleCloudSecuritycenterV2IssueFinding
|
3366
|
+
# @private
|
3367
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3368
|
+
property :cve, as: 'cve', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingCve::Representation
|
3369
|
+
|
3370
|
+
property :name, as: 'name'
|
3371
|
+
property :security_bulletin, as: 'securityBulletin', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin::Representation
|
3372
|
+
|
3373
|
+
end
|
3374
|
+
end
|
3375
|
+
|
3376
|
+
class GoogleCloudSecuritycenterV2IssueFindingCve
|
3377
|
+
# @private
|
3378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3379
|
+
property :name, as: 'name'
|
3380
|
+
end
|
3381
|
+
end
|
3382
|
+
|
3383
|
+
class GoogleCloudSecuritycenterV2IssueFindingSecurityBulletin
|
3384
|
+
# @private
|
3385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3386
|
+
property :name, as: 'name'
|
3387
|
+
end
|
3388
|
+
end
|
3389
|
+
|
3390
|
+
class GoogleCloudSecuritycenterV2IssueMute
|
3391
|
+
# @private
|
3392
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3393
|
+
property :mute_initiator, as: 'muteInitiator'
|
3394
|
+
property :mute_reason, as: 'muteReason'
|
3395
|
+
property :mute_state, as: 'muteState'
|
3396
|
+
property :mute_update_time, as: 'muteUpdateTime'
|
3397
|
+
end
|
3398
|
+
end
|
3399
|
+
|
3400
|
+
class GoogleCloudSecuritycenterV2IssueResource
|
3401
|
+
# @private
|
3402
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3403
|
+
property :aws_metadata, as: 'awsMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadata::Representation
|
3404
|
+
|
3405
|
+
property :azure_metadata, as: 'azureMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadata::Representation
|
3406
|
+
|
3407
|
+
property :cloud_provider, as: 'cloudProvider'
|
3408
|
+
property :display_name, as: 'displayName'
|
3409
|
+
property :google_cloud_metadata, as: 'googleCloudMetadata', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata::Representation
|
3410
|
+
|
3411
|
+
property :name, as: 'name'
|
3412
|
+
property :type, as: 'type'
|
3413
|
+
end
|
3414
|
+
end
|
3415
|
+
|
3416
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadata
|
3417
|
+
# @private
|
3418
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3419
|
+
property :account, as: 'account', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount::Representation
|
3420
|
+
|
3421
|
+
end
|
3422
|
+
end
|
3423
|
+
|
3424
|
+
class GoogleCloudSecuritycenterV2IssueResourceAwsMetadataAwsAccount
|
3425
|
+
# @private
|
3426
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3427
|
+
property :id, as: 'id'
|
3428
|
+
property :name, as: 'name'
|
3429
|
+
end
|
3430
|
+
end
|
3431
|
+
|
3432
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadata
|
3433
|
+
# @private
|
3434
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3435
|
+
property :subscription, as: 'subscription', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription::Representation
|
3436
|
+
|
3437
|
+
end
|
3438
|
+
end
|
3439
|
+
|
3440
|
+
class GoogleCloudSecuritycenterV2IssueResourceAzureMetadataAzureSubscription
|
3441
|
+
# @private
|
3442
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3443
|
+
property :display_name, as: 'displayName'
|
3444
|
+
property :id, as: 'id'
|
3445
|
+
end
|
3446
|
+
end
|
3447
|
+
|
3448
|
+
class GoogleCloudSecuritycenterV2IssueResourceGoogleCloudMetadata
|
3449
|
+
# @private
|
3450
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3451
|
+
property :project_id, as: 'projectId'
|
3452
|
+
end
|
3453
|
+
end
|
3454
|
+
|
3455
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContext
|
3456
|
+
# @private
|
3457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3458
|
+
property :aggregated_count, as: 'aggregatedCount', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount::Representation
|
3459
|
+
|
3460
|
+
property :context, as: 'context', class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext, decorator: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV2IssueSecurityContextContext::Representation
|
3461
|
+
|
3462
|
+
end
|
3463
|
+
end
|
3464
|
+
|
3465
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextAggregatedCount
|
3466
|
+
# @private
|
3467
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3468
|
+
property :key, as: 'key'
|
3469
|
+
property :value, as: 'value'
|
3470
|
+
end
|
3471
|
+
end
|
3472
|
+
|
3473
|
+
class GoogleCloudSecuritycenterV2IssueSecurityContextContext
|
3474
|
+
# @private
|
3475
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
3476
|
+
property :type, as: 'type'
|
3477
|
+
collection :values, as: 'values'
|
3478
|
+
end
|
3479
|
+
end
|
3480
|
+
|
3203
3481
|
class GoogleCloudSecuritycenterV2KernelRootkit
|
3204
3482
|
# @private
|
3205
3483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2401,6 +2401,54 @@ module Google
|
|
2401
2401
|
execute_or_queue_command(command, &block)
|
2402
2402
|
end
|
2403
2403
|
|
2404
|
+
# Lists the attack paths for a set of simulation results or valued resources and
|
2405
|
+
# filter.
|
2406
|
+
# @param [String] parent
|
2407
|
+
# Required. Name of parent to list attack paths. Valid formats: `organizations/`
|
2408
|
+
# organization``, `organizations/`organization`/simulations/`simulation`` `
|
2409
|
+
# organizations/`organization`/simulations/`simulation`/attackExposureResults/`
|
2410
|
+
# attack_exposure_result_v2`` `organizations/`organization`/simulations/`
|
2411
|
+
# simulation`/valuedResources/`valued_resource``
|
2412
|
+
# @param [String] filter
|
2413
|
+
# The filter expression that filters the attack path in the response. Supported
|
2414
|
+
# fields: * `valued_resources` supports =
|
2415
|
+
# @param [Fixnum] page_size
|
2416
|
+
# The maximum number of results to return in a single response. Default is 10,
|
2417
|
+
# minimum is 1, maximum is 1000.
|
2418
|
+
# @param [String] page_token
|
2419
|
+
# The value returned by the last `ListAttackPathsResponse`; indicates that this
|
2420
|
+
# is a continuation of a prior `ListAttackPaths` call, and that the system
|
2421
|
+
# should return the next page of data.
|
2422
|
+
# @param [String] fields
|
2423
|
+
# Selector specifying which fields to include in a partial response.
|
2424
|
+
# @param [String] quota_user
|
2425
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2426
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2427
|
+
# @param [Google::Apis::RequestOptions] options
|
2428
|
+
# Request-specific options
|
2429
|
+
#
|
2430
|
+
# @yield [result, err] Result & error if block supplied
|
2431
|
+
# @yieldparam result [Google::Apis::SecuritycenterV1::ListAttackPathsResponse] parsed result object
|
2432
|
+
# @yieldparam err [StandardError] error object if request failed
|
2433
|
+
#
|
2434
|
+
# @return [Google::Apis::SecuritycenterV1::ListAttackPathsResponse]
|
2435
|
+
#
|
2436
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2437
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2438
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2439
|
+
def list_organization_attack_paths(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2440
|
+
command = make_simple_command(:get, 'v1/{+parent}/attackPaths', options)
|
2441
|
+
command.response_representation = Google::Apis::SecuritycenterV1::ListAttackPathsResponse::Representation
|
2442
|
+
command.response_class = Google::Apis::SecuritycenterV1::ListAttackPathsResponse
|
2443
|
+
command.params['parent'] = parent unless parent.nil?
|
2444
|
+
command.query['filter'] = filter unless filter.nil?
|
2445
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2446
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2447
|
+
command.query['fields'] = fields unless fields.nil?
|
2448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2449
|
+
execute_or_queue_command(command, &block)
|
2450
|
+
end
|
2451
|
+
|
2404
2452
|
# Creates a BigQuery export.
|
2405
2453
|
# @param [String] parent
|
2406
2454
|
# Required. The name of the parent resource of the new BigQuery export. Its
|
@@ -3494,8 +3542,8 @@ module Google
|
|
3494
3542
|
# Clients can use Operations.GetOperation or other methods to check whether the
|
3495
3543
|
# cancellation succeeded or whether the operation completed despite cancellation.
|
3496
3544
|
# On successful cancellation, the operation is not deleted; instead, it becomes
|
3497
|
-
# an operation with an Operation.error value with a google.rpc.Status.code of 1
|
3498
|
-
# corresponding to `Code.CANCELLED`.
|
3545
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of `1`
|
3546
|
+
# , corresponding to `Code.CANCELLED`.
|
3499
3547
|
# @param [String] name
|
3500
3548
|
# The name of the operation resource to be cancelled.
|
3501
3549
|
# @param [String] fields
|
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.91.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-12-
|
11
|
+
date: 2024-12-15 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.91.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.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Security Command Center API V1
|