Google Cloud Chronicle Client - Class Source (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class Source.

Deprecated.

Information about the threat intelligence source. These fields are used to model Mandiant sources.

Generated from protobuf message google.backstory.SecurityResult.Source

Namespace

Google \ Backstory \ SecurityResult

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the IoC source.

↳ benign_count int

Count of responses where this IoC was marked benign.

↳ malicious_count int

Count of responses where this IoC was marked malicious.

↳ quality int

Quality of the IoC mapping extracted from the source.

↳ response_count int

Total response count from this source.

↳ source_count int

Number of sources from which intelligence was extracted.

↳ threat_intelligence_sources array<Source>

Different threat intelligence sources from which IoC info was extracted.

getName

Name of the IoC source.

Returns
Type Description
string

setName

Name of the IoC source.

Parameter
Name Description
var string
Returns
Type Description
$this

getBenignCount

Count of responses where this IoC was marked benign.

Returns
Type Description
int

setBenignCount

Count of responses where this IoC was marked benign.

Parameter
Name Description
var int
Returns
Type Description
$this

getMaliciousCount

Count of responses where this IoC was marked malicious.

Returns
Type Description
int

setMaliciousCount

Count of responses where this IoC was marked malicious.

Parameter
Name Description
var int
Returns
Type Description
$this

getQuality

Quality of the IoC mapping extracted from the source.

Returns
Type Description
int Enum of type ProductConfidence.

setQuality

Quality of the IoC mapping extracted from the source.

Parameter
Name Description
var int

Enum of type ProductConfidence.

Returns
Type Description
$this

getResponseCount

Total response count from this source.

Returns
Type Description
int

setResponseCount

Total response count from this source.

Parameter
Name Description
var int
Returns
Type Description
$this

getSourceCount

Number of sources from which intelligence was extracted.

Returns
Type Description
int

setSourceCount

Number of sources from which intelligence was extracted.

Parameter
Name Description
var int
Returns
Type Description
$this

getThreatIntelligenceSources

Different threat intelligence sources from which IoC info was extracted.

Returns
Type Description
Google\Protobuf\RepeatedField<Source>

setThreatIntelligenceSources

Different threat intelligence sources from which IoC info was extracted.

Parameter
Name Description
var array<Source>
Returns
Type Description
$this