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.



1536
1537
1538
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1536

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


1509
1510
1511
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1509

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)


1515
1516
1517
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1515

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)


1520
1521
1522
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1520

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)


1528
1529
1530
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1528

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)


1534
1535
1536
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1534

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1541
1542
1543
1544
1545
1546
1547
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 1541

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