Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV1ExternalSystem

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta2/classes.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb,
lib/google/apis/securitycenter_v1beta2/representations.rb

Overview

Representation of third party SIEM/SOAR fields within SCC.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV1ExternalSystem

Returns a new instance of GoogleCloudSecuritycenterV1ExternalSystem.



2068
2069
2070
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2068

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#assignees ⇒ Array<String>

References primary/secondary etc assignees in the external system. Corresponds to the JSON property assignees

Returns:

  • (Array<String>)


2010
2011
2012
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2010

def assignees
  @assignees
end

#case_close_time ⇒ String

The time when the case was closed, as reported by the external system. Corresponds to the JSON property caseCloseTime

Returns:

  • (String)


2015
2016
2017
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2015

def case_close_time
  @case_close_time
end

#case_create_time ⇒ String

The time when the case was created, as reported by the external system. Corresponds to the JSON property caseCreateTime

Returns:

  • (String)


2020
2021
2022
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2020

def case_create_time
  @case_create_time
end

#case_priority ⇒ String

The priority of the finding's corresponding case in the external system. Corresponds to the JSON property casePriority

Returns:

  • (String)


2025
2026
2027
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2025

def case_priority
  @case_priority
end

#case_sla ⇒ String

The SLA of the finding's corresponding case in the external system. Corresponds to the JSON property caseSla

Returns:

  • (String)


2030
2031
2032
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2030

def case_sla
  @case_sla
end

#case_uri ⇒ String

The link to the finding's corresponding case in the external system. Corresponds to the JSON property caseUri

Returns:

  • (String)


2035
2036
2037
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2035

def case_uri
  @case_uri
end

#external_system_update_time ⇒ String

The time when the case was last updated, as reported by the external system. Corresponds to the JSON property externalSystemUpdateTime

Returns:

  • (String)


2040
2041
2042
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2040

def external_system_update_time
  @external_system_update_time
end

#external_uid ⇒ String

The identifier that's used to track the finding's corresponding case in the external system. Corresponds to the JSON property externalUid

Returns:

  • (String)


2046
2047
2048
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2046

def external_uid
  @external_uid
end

#name ⇒ String

Full resource name of the external system, for example: "organizations/1234/ sources/5678/findings/123456/externalSystems/jira", "folders/1234/sources/5678/ findings/123456/externalSystems/jira", "projects/1234/sources/5678/findings/ 123456/externalSystems/jira" Corresponds to the JSON property name

Returns:

  • (String)


2054
2055
2056
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2054

def name
  @name
end

#status ⇒ String

The most recent status of the finding's corresponding case, as reported by the external system. Corresponds to the JSON property status

Returns:

  • (String)


2060
2061
2062
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2060

def status
  @status
end

#ticket_info ⇒ Google::Apis::SecuritycenterV1beta2::TicketInfo

Information about the ticket, if any, that is being used to track the resolution of the issue that is identified by this finding. Corresponds to the JSON property ticketInfo



2066
2067
2068
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2066

def ticket_info
  @ticket_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 2073

def update!(**args)
  @assignees = args[:assignees] if args.key?(:assignees)
  @case_close_time = args[:case_close_time] if args.key?(:case_close_time)
  @case_create_time = args[:case_create_time] if args.key?(:case_create_time)
  @case_priority = args[:case_priority] if args.key?(:case_priority)
  @case_sla = args[:case_sla] if args.key?(:case_sla)
  @case_uri = args[:case_uri] if args.key?(:case_uri)
  @external_system_update_time = args[:external_system_update_time] if args.key?(:external_system_update_time)
  @external_uid = args[:external_uid] if args.key?(:external_uid)
  @name = args[:name] if args.key?(:name)
  @status = args[:status] if args.key?(:status)
  @ticket_info = args[:ticket_info] if args.key?(:ticket_info)
end