Reference documentation and code samples for the Google Cloud Chronicle Client class IoCStats.
Information about the threat intelligence source. These fields are used to model Mandiant sources.
Generated from protobuf message google.backstory.SecurityResult.IoCStats
Namespace
Google \ Backstory \ SecurityResultMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ioc_stats_type |
int
Describes the source of the IoCStat. |
↳ first_level_source |
string
Name of first level IoC source, for example Mandiant or a third-party. |
↳ second_level_source |
string
Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph. |
↳ benign_count |
int
Count of responses where the IoC was identified as benign. |
↳ quality |
int
Level of confidence in the IoC mapping extracted from the source. |
↳ malicious_count |
int
Count of responses where the IoC was identified as malicious. |
↳ response_count |
int
Total number of response from the source. |
↳ source_count |
int
Number of sources from which information was extracted. |
getIocStatsType
Describes the source of the IoCStat.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type IoCStatsType. |
setIocStatsType
Describes the source of the IoCStat.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type IoCStatsType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFirstLevelSource
Name of first level IoC source, for example Mandiant or a third-party.
| Returns | |
|---|---|
| Type | Description |
string |
|
setFirstLevelSource
Name of first level IoC source, for example Mandiant or a third-party.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSecondLevelSource
Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSecondLevelSource
Name of the second-level IoC source, for example Crowdsourced Threat Analysis or Knowledge Graph.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBenignCount
Count of responses where the IoC was identified as benign.
| Returns | |
|---|---|
| Type | Description |
int |
|
setBenignCount
Count of responses where the IoC was identified as benign.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getQuality
Level of confidence in the IoC mapping extracted from the source.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type ProductConfidence. |
setQuality
Level of confidence in the IoC mapping extracted from the source.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type ProductConfidence. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMaliciousCount
Count of responses where the IoC was identified as malicious.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMaliciousCount
Count of responses where the IoC was identified as malicious.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResponseCount
Total number of response from the source.
| Returns | |
|---|---|
| Type | Description |
int |
|
setResponseCount
Total number of response from the source.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceCount
Number of sources from which information was extracted.
| Returns | |
|---|---|
| Type | Description |
int |
|
setSourceCount
Number of sources from which information was extracted.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|