Class: Google::Apis::SecuritycenterV1::GoogleCloudSecuritycenterV1ExternalSystem

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1/classes.rb,
lib/google/apis/securitycenter_v1/representations.rb,
lib/google/apis/securitycenter_v1/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.



958
959
960
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 958

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

Instance Attribute Details

#assigneesArray<String>

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

Returns:

  • (Array<String>)


931
932
933
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 931

def assignees
  @assignees
end

#external_system_update_timeString

The most recent time when the corresponding finding's ticket/tracker was updated in the external system. Corresponds to the JSON property externalSystemUpdateTime

Returns:

  • (String)


937
938
939
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 937

def external_system_update_time
  @external_system_update_time
end

#external_uidString

Identifier that's used to track the given finding in the external system. Corresponds to the JSON property externalUid

Returns:

  • (String)


942
943
944
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 942

def external_uid
  @external_uid
end

#nameString

External System Name e.g. jira, demisto, etc. e.g.: 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)


950
951
952
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 950

def name
  @name
end

#statusString

Most recent status of the corresponding finding's ticket/tracker in the external system. Corresponds to the JSON property status

Returns:

  • (String)


956
957
958
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 956

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



963
964
965
966
967
968
969
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 963

def update!(**args)
  @assignees = args[:assignees] if args.key?(:assignees)
  @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)
end