google-apis-securitycenter_v1beta1 0.11.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b9c9d275f2e040fd52f737ec32f9147b67f125bb4e84d43f0e00aa236c4695b
|
4
|
+
data.tar.gz: d26976d1797ff20f8def575beaeebbbc64bb037468beccdb792dde69c1ad5f38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d18b69c7ffb6972a5af2364a5aefd6147798f3ec2971472d151ce8b30e952d7f82e9041cd625bfe311f8584fccf335713c3fa0619f6127622e5048dfd959bea
|
7
|
+
data.tar.gz: 1ff5555fbf19301cc8074f396c32786592b883da46f33192ea98c73093d0ade60a2e119ce4b777cc22816c1bcf94e6a2cf0acc2b8daff851b81f1f4b5a91f100
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-securitycenter_v1beta1
|
2
2
|
|
3
|
+
### v0.15.0 (2021-12-16)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.14.0 (2021-12-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211207
|
10
|
+
|
11
|
+
### v0.13.0 (2021-11-16)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211112
|
14
|
+
|
15
|
+
### v0.12.0 (2021-11-09)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211103
|
18
|
+
|
3
19
|
### v0.11.0 (2021-10-20)
|
4
20
|
|
5
21
|
* Regenerated from discovery document revision 20211015
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/securitycenter_v1beta1"
|
|
51
51
|
client = Google::Apis::SecuritycenterV1beta1::SecurityCommandCenterService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -22,6 +22,57 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SecuritycenterV1beta1
|
24
24
|
|
25
|
+
# Represents an access event.
|
26
|
+
class Access
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Caller's IP address, such as "1.1.1.1".
|
30
|
+
# Corresponds to the JSON property `callerIp`
|
31
|
+
# @return [String]
|
32
|
+
attr_accessor :caller_ip
|
33
|
+
|
34
|
+
# Represents a geographical location for a given access.
|
35
|
+
# Corresponds to the JSON property `callerIpGeo`
|
36
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Geolocation]
|
37
|
+
attr_accessor :caller_ip_geo
|
38
|
+
|
39
|
+
# The method that the service account called, e.g. "SetIamPolicy".
|
40
|
+
# Corresponds to the JSON property `methodName`
|
41
|
+
# @return [String]
|
42
|
+
attr_accessor :method_name
|
43
|
+
|
44
|
+
# Associated email, such as "foo@google.com".
|
45
|
+
# Corresponds to the JSON property `principalEmail`
|
46
|
+
# @return [String]
|
47
|
+
attr_accessor :principal_email
|
48
|
+
|
49
|
+
# This is the API service that the service account made a call to, e.g. "iam.
|
50
|
+
# googleapis.com"
|
51
|
+
# Corresponds to the JSON property `serviceName`
|
52
|
+
# @return [String]
|
53
|
+
attr_accessor :service_name
|
54
|
+
|
55
|
+
# What kind of user agent is associated, e.g. operating system shells, embedded
|
56
|
+
# or stand-alone applications, etc.
|
57
|
+
# Corresponds to the JSON property `userAgentFamily`
|
58
|
+
# @return [String]
|
59
|
+
attr_accessor :user_agent_family
|
60
|
+
|
61
|
+
def initialize(**args)
|
62
|
+
update!(**args)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Update properties of this object
|
66
|
+
def update!(**args)
|
67
|
+
@caller_ip = args[:caller_ip] if args.key?(:caller_ip)
|
68
|
+
@caller_ip_geo = args[:caller_ip_geo] if args.key?(:caller_ip_geo)
|
69
|
+
@method_name = args[:method_name] if args.key?(:method_name)
|
70
|
+
@principal_email = args[:principal_email] if args.key?(:principal_email)
|
71
|
+
@service_name = args[:service_name] if args.key?(:service_name)
|
72
|
+
@user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
25
76
|
# Security Command Center representation of a Google Cloud resource. The Asset
|
26
77
|
# is a Security Command Center resource that captures information about a single
|
27
78
|
# Google Cloud resource. All modifications to an Asset are only within the
|
@@ -452,6 +503,11 @@ module Google
|
|
452
503
|
class Finding
|
453
504
|
include Google::Apis::Core::Hashable
|
454
505
|
|
506
|
+
# Represents an access event.
|
507
|
+
# Corresponds to the JSON property `access`
|
508
|
+
# @return [Google::Apis::SecuritycenterV1beta1::Access]
|
509
|
+
attr_accessor :access
|
510
|
+
|
455
511
|
# The canonical name of the finding. It's either "organizations/`organization_id`
|
456
512
|
# /sources/`source_id`/findings/`finding_id`", "folders/`folder_id`/sources/`
|
457
513
|
# source_id`/findings/`finding_id`" or "projects/`project_number`/sources/`
|
@@ -482,6 +538,12 @@ module Google
|
|
482
538
|
# @return [String]
|
483
539
|
attr_accessor :event_time
|
484
540
|
|
541
|
+
# Output only. Third party SIEM/SOAR fields within SCC, contains external system
|
542
|
+
# information and external system finding fields.
|
543
|
+
# Corresponds to the JSON property `externalSystems`
|
544
|
+
# @return [Hash<String,Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem>]
|
545
|
+
attr_accessor :external_systems
|
546
|
+
|
485
547
|
# The URI that, if available, points to a web page outside of Security Command
|
486
548
|
# Center where additional information about the finding can be found. This field
|
487
549
|
# is guaranteed to be either empty or a well formed URL.
|
@@ -502,6 +564,30 @@ module Google
|
|
502
564
|
# @return [Google::Apis::SecuritycenterV1beta1::Indicator]
|
503
565
|
attr_accessor :indicator
|
504
566
|
|
567
|
+
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
568
|
+
# attack.mitre.org
|
569
|
+
# Corresponds to the JSON property `mitreAttack`
|
570
|
+
# @return [Google::Apis::SecuritycenterV1beta1::MitreAttack]
|
571
|
+
attr_accessor :mitre_attack
|
572
|
+
|
573
|
+
# Indicates the mute state of a finding (either unspecified, muted, unmuted or
|
574
|
+
# undefined).
|
575
|
+
# Corresponds to the JSON property `mute`
|
576
|
+
# @return [String]
|
577
|
+
attr_accessor :mute
|
578
|
+
|
579
|
+
# First known as mute_annotation. Records additional information about the mute
|
580
|
+
# operation e.g. mute config that muted the finding, user who muted the finding,
|
581
|
+
# etc.
|
582
|
+
# Corresponds to the JSON property `muteInitiator`
|
583
|
+
# @return [String]
|
584
|
+
attr_accessor :mute_initiator
|
585
|
+
|
586
|
+
# Output only. The most recent time this finding was muted or unmuted.
|
587
|
+
# Corresponds to the JSON property `muteUpdateTime`
|
588
|
+
# @return [String]
|
589
|
+
attr_accessor :mute_update_time
|
590
|
+
|
505
591
|
# The relative resource name of this finding. See: https://cloud.google.com/apis/
|
506
592
|
# design/resource_names#relative_resource_name Example: "organizations/`
|
507
593
|
# organization_id`/sources/`source_id`/findings/`finding_id`"
|
@@ -564,13 +650,19 @@ module Google
|
|
564
650
|
|
565
651
|
# Update properties of this object
|
566
652
|
def update!(**args)
|
653
|
+
@access = args[:access] if args.key?(:access)
|
567
654
|
@canonical_name = args[:canonical_name] if args.key?(:canonical_name)
|
568
655
|
@category = args[:category] if args.key?(:category)
|
569
656
|
@create_time = args[:create_time] if args.key?(:create_time)
|
570
657
|
@event_time = args[:event_time] if args.key?(:event_time)
|
658
|
+
@external_systems = args[:external_systems] if args.key?(:external_systems)
|
571
659
|
@external_uri = args[:external_uri] if args.key?(:external_uri)
|
572
660
|
@finding_class = args[:finding_class] if args.key?(:finding_class)
|
573
661
|
@indicator = args[:indicator] if args.key?(:indicator)
|
662
|
+
@mitre_attack = args[:mitre_attack] if args.key?(:mitre_attack)
|
663
|
+
@mute = args[:mute] if args.key?(:mute)
|
664
|
+
@mute_initiator = args[:mute_initiator] if args.key?(:mute_initiator)
|
665
|
+
@mute_update_time = args[:mute_update_time] if args.key?(:mute_update_time)
|
574
666
|
@name = args[:name] if args.key?(:name)
|
575
667
|
@parent = args[:parent] if args.key?(:parent)
|
576
668
|
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
@@ -608,6 +700,25 @@ module Google
|
|
608
700
|
end
|
609
701
|
end
|
610
702
|
|
703
|
+
# Represents a geographical location for a given access.
|
704
|
+
class Geolocation
|
705
|
+
include Google::Apis::Core::Hashable
|
706
|
+
|
707
|
+
# A CLDR.
|
708
|
+
# Corresponds to the JSON property `regionCode`
|
709
|
+
# @return [String]
|
710
|
+
attr_accessor :region_code
|
711
|
+
|
712
|
+
def initialize(**args)
|
713
|
+
update!(**args)
|
714
|
+
end
|
715
|
+
|
716
|
+
# Update properties of this object
|
717
|
+
def update!(**args)
|
718
|
+
@region_code = args[:region_code] if args.key?(:region_code)
|
719
|
+
end
|
720
|
+
end
|
721
|
+
|
611
722
|
# Request message for `GetIamPolicy` method.
|
612
723
|
class GetIamPolicyRequest
|
613
724
|
include Google::Apis::Core::Hashable
|
@@ -631,13 +742,16 @@ module Google
|
|
631
742
|
class GetPolicyOptions
|
632
743
|
include Google::Apis::Core::Hashable
|
633
744
|
|
634
|
-
# Optional. The policy
|
635
|
-
# 3. Requests specifying an invalid value will be
|
636
|
-
# policies with any conditional bindings must
|
637
|
-
#
|
638
|
-
# field unset.
|
639
|
-
#
|
640
|
-
#
|
745
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
746
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
747
|
+
# rejected. Requests for policies with any conditional role bindings must
|
748
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
749
|
+
# valid value or leave the field unset. The policy in the response might use the
|
750
|
+
# policy version that you specified, or it might use a lower policy version. For
|
751
|
+
# example, if you specify version 3, but the policy has no conditional role
|
752
|
+
# bindings, the response uses version 1. To learn which resources support
|
753
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
754
|
+
# google.com/iam/help/conditions/resource-policies).
|
641
755
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
642
756
|
# @return [Fixnum]
|
643
757
|
attr_accessor :requested_policy_version
|
@@ -652,6 +766,139 @@ module Google
|
|
652
766
|
end
|
653
767
|
end
|
654
768
|
|
769
|
+
# The response to a BulkMute request. Contains the LRO information.
|
770
|
+
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
771
|
+
include Google::Apis::Core::Hashable
|
772
|
+
|
773
|
+
def initialize(**args)
|
774
|
+
update!(**args)
|
775
|
+
end
|
776
|
+
|
777
|
+
# Update properties of this object
|
778
|
+
def update!(**args)
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
# Representation of third party SIEM/SOAR fields within SCC.
|
783
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
784
|
+
include Google::Apis::Core::Hashable
|
785
|
+
|
786
|
+
# References primary/secondary etc assignees in the external system.
|
787
|
+
# Corresponds to the JSON property `assignees`
|
788
|
+
# @return [Array<String>]
|
789
|
+
attr_accessor :assignees
|
790
|
+
|
791
|
+
# The most recent time when the corresponding finding's ticket/tracker was
|
792
|
+
# updated in the external system.
|
793
|
+
# Corresponds to the JSON property `externalSystemUpdateTime`
|
794
|
+
# @return [String]
|
795
|
+
attr_accessor :external_system_update_time
|
796
|
+
|
797
|
+
# Identifier that's used to track the given finding in the external system.
|
798
|
+
# Corresponds to the JSON property `externalUid`
|
799
|
+
# @return [String]
|
800
|
+
attr_accessor :external_uid
|
801
|
+
|
802
|
+
# External System Name e.g. jira, demisto, etc. e.g.: organizations/1234/sources/
|
803
|
+
# 5678/findings/123456/externalSystems/jira folders/1234/sources/5678/findings/
|
804
|
+
# 123456/externalSystems/jira projects/1234/sources/5678/findings/123456/
|
805
|
+
# externalSystems/jira
|
806
|
+
# Corresponds to the JSON property `name`
|
807
|
+
# @return [String]
|
808
|
+
attr_accessor :name
|
809
|
+
|
810
|
+
# Most recent status of the corresponding finding's ticket/tracker in the
|
811
|
+
# external system.
|
812
|
+
# Corresponds to the JSON property `status`
|
813
|
+
# @return [String]
|
814
|
+
attr_accessor :status
|
815
|
+
|
816
|
+
def initialize(**args)
|
817
|
+
update!(**args)
|
818
|
+
end
|
819
|
+
|
820
|
+
# Update properties of this object
|
821
|
+
def update!(**args)
|
822
|
+
@assignees = args[:assignees] if args.key?(:assignees)
|
823
|
+
@external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
|
824
|
+
@external_uid = args[:external_uid] if args.key?(:external_uid)
|
825
|
+
@name = args[:name] if args.key?(:name)
|
826
|
+
@status = args[:status] if args.key?(:status)
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# A mute config is a Cloud SCC resource that contains the configuration to mute
|
831
|
+
# create/update events of findings.
|
832
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
833
|
+
include Google::Apis::Core::Hashable
|
834
|
+
|
835
|
+
# Output only. The time at which the mute config was created. This field is set
|
836
|
+
# by the server and will be ignored if provided on config creation.
|
837
|
+
# Corresponds to the JSON property `createTime`
|
838
|
+
# @return [String]
|
839
|
+
attr_accessor :create_time
|
840
|
+
|
841
|
+
# A description of the mute config.
|
842
|
+
# Corresponds to the JSON property `description`
|
843
|
+
# @return [String]
|
844
|
+
attr_accessor :description
|
845
|
+
|
846
|
+
# The human readable name to be displayed for the mute config.
|
847
|
+
# Corresponds to the JSON property `displayName`
|
848
|
+
# @return [String]
|
849
|
+
attr_accessor :display_name
|
850
|
+
|
851
|
+
# Required. An expression that defines the filter to apply across create/update
|
852
|
+
# events of findings. While creating a filter string, be mindful of the scope in
|
853
|
+
# which the mute configuration is being created. E.g., If a filter contains
|
854
|
+
# project = X but is created under the project = Y scope, it might not match any
|
855
|
+
# findings. The following field and operator combinations are supported: *
|
856
|
+
# severity: `=`, `:` * category: `=`, `:` * resource.name: `=`, `:` * resource.
|
857
|
+
# project_name: `=`, `:` * resource.project_display_name: `=`, `:` * resource.
|
858
|
+
# folders.resource_folder: `=`, `:` * resource.parent_name: `=`, `:` * resource.
|
859
|
+
# parent_display_name: `=`, `:` * resource.type: `=`, `:` * finding_class: `=`, `
|
860
|
+
# :` * indicator.ip_addresses: `=`, `:` * indicator.domains: `=`, `:`
|
861
|
+
# Corresponds to the JSON property `filter`
|
862
|
+
# @return [String]
|
863
|
+
attr_accessor :filter
|
864
|
+
|
865
|
+
# Output only. Email address of the user who last edited the mute config. This
|
866
|
+
# field is set by the server and will be ignored if provided on config creation
|
867
|
+
# or update.
|
868
|
+
# Corresponds to the JSON property `mostRecentEditor`
|
869
|
+
# @return [String]
|
870
|
+
attr_accessor :most_recent_editor
|
871
|
+
|
872
|
+
# This field will be ignored if provided on config creation. Format "
|
873
|
+
# organizations/`organization`/muteConfigs/`mute_config`" "folders/`folder`/
|
874
|
+
# muteConfigs/`mute_config`" "projects/`project`/muteConfigs/`mute_config`"
|
875
|
+
# Corresponds to the JSON property `name`
|
876
|
+
# @return [String]
|
877
|
+
attr_accessor :name
|
878
|
+
|
879
|
+
# Output only. The most recent time at which the mute config was updated. This
|
880
|
+
# field is set by the server and will be ignored if provided on config creation
|
881
|
+
# or update.
|
882
|
+
# Corresponds to the JSON property `updateTime`
|
883
|
+
# @return [String]
|
884
|
+
attr_accessor :update_time
|
885
|
+
|
886
|
+
def initialize(**args)
|
887
|
+
update!(**args)
|
888
|
+
end
|
889
|
+
|
890
|
+
# Update properties of this object
|
891
|
+
def update!(**args)
|
892
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
893
|
+
@description = args[:description] if args.key?(:description)
|
894
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
895
|
+
@filter = args[:filter] if args.key?(:filter)
|
896
|
+
@most_recent_editor = args[:most_recent_editor] if args.key?(:most_recent_editor)
|
897
|
+
@name = args[:name] if args.key?(:name)
|
898
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
899
|
+
end
|
900
|
+
end
|
901
|
+
|
655
902
|
# Cloud SCC's Notification
|
656
903
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
657
904
|
include Google::Apis::Core::Hashable
|
@@ -1657,6 +1904,56 @@ module Google
|
|
1657
1904
|
end
|
1658
1905
|
end
|
1659
1906
|
|
1907
|
+
# MITRE ATT&CK tactics and techniques related to this finding. See: https://
|
1908
|
+
# attack.mitre.org
|
1909
|
+
class MitreAttack
|
1910
|
+
include Google::Apis::Core::Hashable
|
1911
|
+
|
1912
|
+
# Additional MITRE ATT&CK tactics related to this finding, if any.
|
1913
|
+
# Corresponds to the JSON property `additionalTactics`
|
1914
|
+
# @return [Array<String>]
|
1915
|
+
attr_accessor :additional_tactics
|
1916
|
+
|
1917
|
+
# Additional MITRE ATT&CK techniques related to this finding, if any, along with
|
1918
|
+
# any of their respective parent techniques.
|
1919
|
+
# Corresponds to the JSON property `additionalTechniques`
|
1920
|
+
# @return [Array<String>]
|
1921
|
+
attr_accessor :additional_techniques
|
1922
|
+
|
1923
|
+
# The MITRE ATT&CK tactic most closely represented by this finding, if any.
|
1924
|
+
# Corresponds to the JSON property `primaryTactic`
|
1925
|
+
# @return [String]
|
1926
|
+
attr_accessor :primary_tactic
|
1927
|
+
|
1928
|
+
# The MITRE ATT&CK technique most closely represented by this finding, if any.
|
1929
|
+
# primary_techniques is a repeated field because there are multiple levels of
|
1930
|
+
# MITRE ATT&CK techniques. If the technique most closely represented by this
|
1931
|
+
# finding is a sub-technique (e.g. SCANNING_IP_BLOCKS), both the sub-technique
|
1932
|
+
# and its parent technique(s) will be listed (e.g. SCANNING_IP_BLOCKS,
|
1933
|
+
# ACTIVE_SCANNING).
|
1934
|
+
# Corresponds to the JSON property `primaryTechniques`
|
1935
|
+
# @return [Array<String>]
|
1936
|
+
attr_accessor :primary_techniques
|
1937
|
+
|
1938
|
+
# The MITRE ATT&CK version referenced by the above fields. E.g. "8".
|
1939
|
+
# Corresponds to the JSON property `version`
|
1940
|
+
# @return [String]
|
1941
|
+
attr_accessor :version
|
1942
|
+
|
1943
|
+
def initialize(**args)
|
1944
|
+
update!(**args)
|
1945
|
+
end
|
1946
|
+
|
1947
|
+
# Update properties of this object
|
1948
|
+
def update!(**args)
|
1949
|
+
@additional_tactics = args[:additional_tactics] if args.key?(:additional_tactics)
|
1950
|
+
@additional_techniques = args[:additional_techniques] if args.key?(:additional_techniques)
|
1951
|
+
@primary_tactic = args[:primary_tactic] if args.key?(:primary_tactic)
|
1952
|
+
@primary_techniques = args[:primary_techniques] if args.key?(:primary_techniques)
|
1953
|
+
@version = args[:version] if args.key?(:version)
|
1954
|
+
end
|
1955
|
+
end
|
1956
|
+
|
1660
1957
|
# This resource represents a long-running operation that is the result of a
|
1661
1958
|
# network API call.
|
1662
1959
|
class Operation
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module SecuritycenterV1beta1
|
18
18
|
# Version of the google-apis-securitycenter_v1beta1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211207"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module SecuritycenterV1beta1
|
24
24
|
|
25
|
+
class Access
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class Asset
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -94,6 +100,12 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class Geolocation
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class GetIamPolicyRequest
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -106,6 +118,24 @@ module Google
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
107
119
|
end
|
108
120
|
|
121
|
+
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
109
139
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
110
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
141
|
|
@@ -244,6 +274,12 @@ module Google
|
|
244
274
|
include Google::Apis::Core::JsonObjectSupport
|
245
275
|
end
|
246
276
|
|
277
|
+
class MitreAttack
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
247
283
|
class Operation
|
248
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
285
|
|
@@ -328,6 +364,19 @@ module Google
|
|
328
364
|
include Google::Apis::Core::JsonObjectSupport
|
329
365
|
end
|
330
366
|
|
367
|
+
class Access
|
368
|
+
# @private
|
369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
370
|
+
property :caller_ip, as: 'callerIp'
|
371
|
+
property :caller_ip_geo, as: 'callerIpGeo', class: Google::Apis::SecuritycenterV1beta1::Geolocation, decorator: Google::Apis::SecuritycenterV1beta1::Geolocation::Representation
|
372
|
+
|
373
|
+
property :method_name, as: 'methodName'
|
374
|
+
property :principal_email, as: 'principalEmail'
|
375
|
+
property :service_name, as: 'serviceName'
|
376
|
+
property :user_agent_family, as: 'userAgentFamily'
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
331
380
|
class Asset
|
332
381
|
# @private
|
333
382
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -428,14 +477,23 @@ module Google
|
|
428
477
|
class Finding
|
429
478
|
# @private
|
430
479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
480
|
+
property :access, as: 'access', class: Google::Apis::SecuritycenterV1beta1::Access, decorator: Google::Apis::SecuritycenterV1beta1::Access::Representation
|
481
|
+
|
431
482
|
property :canonical_name, as: 'canonicalName'
|
432
483
|
property :category, as: 'category'
|
433
484
|
property :create_time, as: 'createTime'
|
434
485
|
property :event_time, as: 'eventTime'
|
486
|
+
hash :external_systems, as: 'externalSystems', class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem, decorator: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV1ExternalSystem::Representation
|
487
|
+
|
435
488
|
property :external_uri, as: 'externalUri'
|
436
489
|
property :finding_class, as: 'findingClass'
|
437
490
|
property :indicator, as: 'indicator', class: Google::Apis::SecuritycenterV1beta1::Indicator, decorator: Google::Apis::SecuritycenterV1beta1::Indicator::Representation
|
438
491
|
|
492
|
+
property :mitre_attack, as: 'mitreAttack', class: Google::Apis::SecuritycenterV1beta1::MitreAttack, decorator: Google::Apis::SecuritycenterV1beta1::MitreAttack::Representation
|
493
|
+
|
494
|
+
property :mute, as: 'mute'
|
495
|
+
property :mute_initiator, as: 'muteInitiator'
|
496
|
+
property :mute_update_time, as: 'muteUpdateTime'
|
439
497
|
property :name, as: 'name'
|
440
498
|
property :parent, as: 'parent'
|
441
499
|
property :resource_name, as: 'resourceName'
|
@@ -457,6 +515,13 @@ module Google
|
|
457
515
|
end
|
458
516
|
end
|
459
517
|
|
518
|
+
class Geolocation
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
property :region_code, as: 'regionCode'
|
522
|
+
end
|
523
|
+
end
|
524
|
+
|
460
525
|
class GetIamPolicyRequest
|
461
526
|
# @private
|
462
527
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -472,6 +537,36 @@ module Google
|
|
472
537
|
end
|
473
538
|
end
|
474
539
|
|
540
|
+
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
|
541
|
+
# @private
|
542
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
class GoogleCloudSecuritycenterV1ExternalSystem
|
547
|
+
# @private
|
548
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
549
|
+
collection :assignees, as: 'assignees'
|
550
|
+
property :external_system_update_time, as: 'externalSystemUpdateTime'
|
551
|
+
property :external_uid, as: 'externalUid'
|
552
|
+
property :name, as: 'name'
|
553
|
+
property :status, as: 'status'
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
class GoogleCloudSecuritycenterV1MuteConfig
|
558
|
+
# @private
|
559
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
560
|
+
property :create_time, as: 'createTime'
|
561
|
+
property :description, as: 'description'
|
562
|
+
property :display_name, as: 'displayName'
|
563
|
+
property :filter, as: 'filter'
|
564
|
+
property :most_recent_editor, as: 'mostRecentEditor'
|
565
|
+
property :name, as: 'name'
|
566
|
+
property :update_time, as: 'updateTime'
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
475
570
|
class GoogleCloudSecuritycenterV1NotificationMessage
|
476
571
|
# @private
|
477
572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -715,6 +810,17 @@ module Google
|
|
715
810
|
end
|
716
811
|
end
|
717
812
|
|
813
|
+
class MitreAttack
|
814
|
+
# @private
|
815
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
816
|
+
collection :additional_tactics, as: 'additionalTactics'
|
817
|
+
collection :additional_techniques, as: 'additionalTechniques'
|
818
|
+
property :primary_tactic, as: 'primaryTactic'
|
819
|
+
collection :primary_techniques, as: 'primaryTechniques'
|
820
|
+
property :version, as: 'version'
|
821
|
+
end
|
822
|
+
end
|
823
|
+
|
718
824
|
class Operation
|
719
825
|
# @private
|
720
826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-securitycenter_v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.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:
|
11
|
+
date: 2022-01-10 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_v1beta1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-securitycenter_v1beta1/v0.15.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-securitycenter_v1beta1
|
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.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Security Command Center API V1beta1
|