Google Cloud Chronicle Client - Class Artifact (0.9.0)

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

Information about an artifact. The artifact can only be an IP.

Generated from protobuf message google.backstory.Artifact

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ ip string

IP address of the artifact. This field can be used as an entity indicator for an external destination IP entity.

↳ prevalence Prevalence

The prevalence of the artifact within the customer's environment.

↳ first_seen_time Google\Protobuf\Timestamp

First seen timestamp of the IP in the customer's environment.

↳ last_seen_time Google\Protobuf\Timestamp

Last seen timestamp of the IP address in the customer's environment.

↳ location Location

Location of the Artifact's IP address.

↳ network Network

Network information related to the Artifact's IP address.

↳ as_owner string

Owner of the Autonomous System to which the IP address belongs.

↳ asn int|string

Autonomous System Number to which the IP address belongs.

↳ jarm string

The JARM hash for the IP address. (https://engineering.salesforce.com/easily-identify-malicious-servers-on-the-internet-with-jarm-e095edac525a).

↳ last_https_certificate SSLCertificate

SSL certificate information about the IP address.

↳ last_https_certificate_date Google\Protobuf\Timestamp

Most recent date for the certificate in VirusTotal.

↳ regional_internet_registry string

RIR (one of the current RIRs: AFRINIC, ARIN, APNIC, LACNIC or RIPE NCC).

↳ tags string[]

Identification attributes

↳ whois string

WHOIS information as returned from the pertinent WHOIS server.

↳ whois_date Google\Protobuf\Timestamp

Date of the last update of the WHOIS record in VirusTotal.

↳ tunnels array<Tunnels>

VPN tunnels.

↳ anonymous bool

Whether the VPN tunnels are configured for anonymous browsing or not.

↳ artifact_client ArtifactClient

Entity or software accessing or utilizing network resources.

↳ risks string[]

This field lists potential risks associated with the network activity.

getIp

IP address of the artifact.

This field can be used as an entity indicator for an external destination IP entity.

Returns
Type Description
string

setIp

IP address of the artifact.

This field can be used as an entity indicator for an external destination IP entity.

Parameter
Name Description
var string
Returns
Type Description
$this

getPrevalence

The prevalence of the artifact within the customer's environment.

Returns
Type Description
Prevalence|null

hasPrevalence

clearPrevalence

setPrevalence

The prevalence of the artifact within the customer's environment.

Parameter
Name Description
var Prevalence
Returns
Type Description
$this

getFirstSeenTime

First seen timestamp of the IP in the customer's environment.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasFirstSeenTime

clearFirstSeenTime

setFirstSeenTime

First seen timestamp of the IP in the customer's environment.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastSeenTime

Last seen timestamp of the IP address in the customer's environment.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastSeenTime

clearLastSeenTime

setLastSeenTime

Last seen timestamp of the IP address in the customer's environment.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLocation

Location of the Artifact's IP address.

Returns
Type Description
Location|null

hasLocation

clearLocation

setLocation

Location of the Artifact's IP address.

Parameter
Name Description
var Location
Returns
Type Description
$this

getNetwork

Network information related to the Artifact's IP address.

Returns
Type Description
Network|null

hasNetwork

clearNetwork

setNetwork

Network information related to the Artifact's IP address.

Parameter
Name Description
var Network
Returns
Type Description
$this

getAsOwner

Owner of the Autonomous System to which the IP address belongs.

Returns
Type Description
string

setAsOwner

Owner of the Autonomous System to which the IP address belongs.

Parameter
Name Description
var string
Returns
Type Description
$this

getAsn

Autonomous System Number to which the IP address belongs.

Returns
Type Description
int|string

setAsn

Autonomous System Number to which the IP address belongs.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getJarm

Returns
Type Description
string

setJarm

Parameter
Name Description
var string
Returns
Type Description
$this

getLastHttpsCertificate

SSL certificate information about the IP address.

Returns
Type Description
SSLCertificate|null

hasLastHttpsCertificate

clearLastHttpsCertificate

setLastHttpsCertificate

SSL certificate information about the IP address.

Parameter
Name Description
var SSLCertificate
Returns
Type Description
$this

getLastHttpsCertificateDate

Most recent date for the certificate in VirusTotal.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastHttpsCertificateDate

clearLastHttpsCertificateDate

setLastHttpsCertificateDate

Most recent date for the certificate in VirusTotal.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getRegionalInternetRegistry

RIR (one of the current RIRs: AFRINIC, ARIN, APNIC, LACNIC or RIPE NCC).

Returns
Type Description
string

setRegionalInternetRegistry

RIR (one of the current RIRs: AFRINIC, ARIN, APNIC, LACNIC or RIPE NCC).

Parameter
Name Description
var string
Returns
Type Description
$this

getTags

Identification attributes

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setTags

Identification attributes

Parameter
Name Description
var string[]
Returns
Type Description
$this

getWhois

WHOIS information as returned from the pertinent WHOIS server.

Returns
Type Description
string

setWhois

WHOIS information as returned from the pertinent WHOIS server.

Parameter
Name Description
var string
Returns
Type Description
$this

getWhoisDate

Date of the last update of the WHOIS record in VirusTotal.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasWhoisDate

clearWhoisDate

setWhoisDate

Date of the last update of the WHOIS record in VirusTotal.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getTunnels

VPN tunnels.

Returns
Type Description
Google\Protobuf\RepeatedField<Tunnels>

setTunnels

VPN tunnels.

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

getAnonymous

Whether the VPN tunnels are configured for anonymous browsing or not.

Returns
Type Description
bool

setAnonymous

Whether the VPN tunnels are configured for anonymous browsing or not.

Parameter
Name Description
var bool
Returns
Type Description
$this

getArtifactClient

Entity or software accessing or utilizing network resources.

Returns
Type Description
ArtifactClient|null

hasArtifactClient

clearArtifactClient

setArtifactClient

Entity or software accessing or utilizing network resources.

Parameter
Name Description
var ArtifactClient
Returns
Type Description
$this

getRisks

This field lists potential risks associated with the network activity.

Returns
Type Description
Google\Protobuf\RepeatedField<string>

setRisks

This field lists potential risks associated with the network activity.

Parameter
Name Description
var string[]
Returns
Type Description
$this