cvssv3 = $cvssv3; } /** * @return Cvssv3 */ public function getCvssv3() { return $this->cvssv3; } /** * Date the first publicly available exploit or PoC was released. * * @param string $exploitReleaseDate */ public function setExploitReleaseDate($exploitReleaseDate) { $this->exploitReleaseDate = $exploitReleaseDate; } /** * @return string */ public function getExploitReleaseDate() { return $this->exploitReleaseDate; } /** * The exploitation activity of the vulnerability in the wild. * * Accepted values: EXPLOITATION_ACTIVITY_UNSPECIFIED, WIDE, CONFIRMED, * AVAILABLE, ANTICIPATED, NO_KNOWN * * @param self::EXPLOITATION_ACTIVITY_* $exploitationActivity */ public function setExploitationActivity($exploitationActivity) { $this->exploitationActivity = $exploitationActivity; } /** * @return self::EXPLOITATION_ACTIVITY_* */ public function getExploitationActivity() { return $this->exploitationActivity; } /** * Date of the earliest known exploitation. * * @param string $firstExploitationDate */ public function setFirstExploitationDate($firstExploitationDate) { $this->firstExploitationDate = $firstExploitationDate; } /** * @return string */ public function getFirstExploitationDate() { return $this->firstExploitationDate; } /** * The unique identifier for the vulnerability. e.g. CVE-2021-34527 * * @param string $id */ public function setId($id) { $this->id = $id; } /** * @return string */ public function getId() { return $this->id; } /** * The potential impact of the vulnerability if it was to be exploited. * * Accepted values: RISK_RATING_UNSPECIFIED, LOW, MEDIUM, HIGH, CRITICAL * * @param self::IMPACT_* $impact */ public function setImpact($impact) { $this->impact = $impact; } /** * @return self::IMPACT_* */ public function getImpact() { return $this->impact; } /** * Whether or not the vulnerability has been observed in the wild. * * @param bool $observedInTheWild */ public function setObservedInTheWild($observedInTheWild) { $this->observedInTheWild = $observedInTheWild; } /** * @return bool */ public function getObservedInTheWild() { return $this->observedInTheWild; } /** * Additional information about the CVE. e.g. https://cve.mitre.org/cgi- * bin/cvename.cgi?name=CVE-2021-34527 * * @param Reference[] $references */ public function setReferences($references) { $this->references = $references; } /** * @return Reference[] */ public function getReferences() { return $this->references; } /** * Whether upstream fix is available for the CVE. * * @param bool $upstreamFixAvailable */ public function setUpstreamFixAvailable($upstreamFixAvailable) { $this->upstreamFixAvailable = $upstreamFixAvailable; } /** * @return bool */ public function getUpstreamFixAvailable() { return $this->upstreamFixAvailable; } /** * Whether or not the vulnerability was zero day when the finding was * published. * * @param bool $zeroDay */ public function setZeroDay($zeroDay) { $this->zeroDay = $zeroDay; } /** * @return bool */ public function getZeroDay() { return $this->zeroDay; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Cve::class, 'Google_Service_SecurityCommandCenter_Cve');