Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2ExternalSystem

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) ⇒ GoogleCloudSecuritycenterV2ExternalSystem

Returns a new instance of GoogleCloudSecuritycenterV2ExternalSystem.



4034
4035
4036
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4034

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>)


3972
3973
3974
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3972

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)


3977
3978
3979
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3977

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)


3982
3983
3984
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3982

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)


3987
3988
3989
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3987

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)


3992
3993
3994
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3992

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)


3997
3998
3999
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 3997

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)


4002
4003
4004
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4002

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)


4008
4009
4010
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4008

def external_uid
  @external_uid
end

#name ⇒ String

Full resource name of the external system. The following list shows some examples: + organizations/1234/sources/5678/findings/123456/externalSystems/ jira + organizations/1234/sources/5678/locations/us/findings/123456/ externalSystems/jira + folders/1234/sources/5678/findings/123456/ externalSystems/jira + folders/1234/sources/5678/locations/us/findings/ 123456/externalSystems/jira + projects/1234/sources/5678/findings/123456/ externalSystems/jira + projects/1234/sources/5678/locations/us/findings/ 123456/externalSystems/jira Corresponds to the JSON property name

Returns:

  • (String)


4020
4021
4022
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4020

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)


4026
4027
4028
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4026

def status
  @status
end

#ticket_info ⇒ Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2TicketInfo

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



4032
4033
4034
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4032

def ticket_info
  @ticket_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 4039

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