lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.36.0 vs lib/google/apis/securitycenter_v1beta2/classes.rb in google-apis-securitycenter_v1beta2-0.37.0
- old
+ new
@@ -89,10 +89,18 @@
# or stand-alone applications, etc.
# Corresponds to the JSON property `userAgentFamily`
# @return [String]
attr_accessor :user_agent_family
+ # A string representing a username. This is likely not an IAM principal. For
+ # instance, this may be the system user name if the finding is VM-related, or
+ # this may be some type of application login user name, depending on the type of
+ # finding.
+ # Corresponds to the JSON property `username`
+ # @return [String]
+ attr_accessor :username
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
@@ -104,10 +112,11 @@
@principal_subject = args[:principal_subject] if args.key?(:principal_subject)
@service_account_delegation_info = args[:service_account_delegation_info] if args.key?(:service_account_delegation_info)
@service_account_key_name = args[:service_account_key_name] if args.key?(:service_account_key_name)
@service_name = args[:service_name] if args.key?(:service_name)
@user_agent_family = args[:user_agent_family] if args.key?(:user_agent_family)
+ @username = args[:username] if args.key?(:username)
end
end
# Conveys information about a Kubernetes access review (e.g. kubectl auth can-i .
# ..) that was involved in a finding.
@@ -1237,9 +1246,35 @@
end
end
# The response to a BulkMute request. Contains the LRO information.
class GoogleCloudSecuritycenterV1BulkMuteFindingsResponse
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # A resource that is exposed as a result of a finding.
+ class GoogleCloudSecuritycenterV1ExposedResource
+ include Google::Apis::Core::Hashable
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ end
+ end
+
+ # A path that an attacker could take to reach an exposed resource.
+ class GoogleCloudSecuritycenterV1ExposurePath
include Google::Apis::Core::Hashable
def initialize(**args)
update!(**args)
end