diff --git a/Grafeas/metadata/V1/Common.php b/Grafeas/metadata/V1/Common.php
index 69974a9d78f..4cc4cb8a984 100644
Binary files a/Grafeas/metadata/V1/Common.php and b/Grafeas/metadata/V1/Common.php differ
diff --git a/Grafeas/metadata/V1/Vulnerability.php b/Grafeas/metadata/V1/Vulnerability.php
index f3aa0a23678..6710b9ac475 100644
--- a/Grafeas/metadata/V1/Vulnerability.php
+++ b/Grafeas/metadata/V1/Vulnerability.php
@@ -24,9 +24,9 @@ public static function initOnce() {
\GPBMetadata\Grafeas\V1\Vex::initOnce();
$pool->internalAddGeneratedFile(
'
-ä
+Ÿ
grafeas/v1/vulnerability.proto
-grafeas.v1google/protobuf/timestamp.protografeas/v1/common.protografeas/v1/cvss.protografeas/v1/package.protografeas/v1/risk.protografeas/v1/severity.protografeas/v1/vex.proto"ì
+grafeas.v1google/protobuf/timestamp.protografeas/v1/common.protografeas/v1/cvss.protografeas/v1/package.protografeas/v1/risk.protografeas/v1/severity.protografeas/v1/vex.proto"§
VulnerabilityNote
cvss_score (&
@@ -36,7 +36,8 @@ public static function initOnce() {
windows_details (2+.grafeas.v1.VulnerabilityNote.WindowsDetail6
source_update_time (2.google.protobuf.Timestamp-
cvss_version (2.grafeas.v1.CVSSVersion!
-cvss_v2 (2.grafeas.v1.CVSS
+cvss_v2 (2.grafeas.v1.CVSS9
+advisory_publish_time (2.google.protobuf.Timestamp
Detail
severity_name (
description (
diff --git a/Grafeas/src/V1/BaseImage.php b/Grafeas/src/V1/BaseImage.php
index 9298db2e3a4..4ebce25a506 100644
--- a/Grafeas/src/V1/BaseImage.php
+++ b/Grafeas/src/V1/BaseImage.php
@@ -33,6 +33,12 @@ class BaseImage extends \Google\Protobuf\Internal\Message
* Generated from protobuf field int32 layer_count = 3;
*/
protected $layer_count = 0;
+ /**
+ * The registry in which the base image is from.
+ *
+ * Generated from protobuf field string registry = 4;
+ */
+ protected $registry = '';
/**
* Constructor.
@@ -46,6 +52,8 @@ class BaseImage extends \Google\Protobuf\Internal\Message
* The repository name in which the base image is from.
* @type int $layer_count
* The number of layers that the base image is composed of.
+ * @type string $registry
+ * The registry in which the base image is from.
* }
*/
public function __construct($data = NULL) {
@@ -131,5 +139,31 @@ public function setLayerCount($var)
return $this;
}
+ /**
+ * The registry in which the base image is from.
+ *
+ * Generated from protobuf field string registry = 4;
+ * @return string
+ */
+ public function getRegistry()
+ {
+ return $this->registry;
+ }
+
+ /**
+ * The registry in which the base image is from.
+ *
+ * Generated from protobuf field string registry = 4;
+ * @param string $var
+ * @return $this
+ */
+ public function setRegistry($var)
+ {
+ GPBUtil::checkString($var, True);
+ $this->registry = $var;
+
+ return $this;
+ }
+
}
diff --git a/Grafeas/src/V1/VulnerabilityNote.php b/Grafeas/src/V1/VulnerabilityNote.php
index 0565c30c64a..2448507b64c 100644
--- a/Grafeas/src/V1/VulnerabilityNote.php
+++ b/Grafeas/src/V1/VulnerabilityNote.php
@@ -69,6 +69,12 @@ class VulnerabilityNote extends \Google\Protobuf\Internal\Message
* Generated from protobuf field .grafeas.v1.CVSS cvss_v2 = 8;
*/
protected $cvss_v2 = null;
+ /**
+ * The time this advisory was published by the source.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp advisory_publish_time = 9;
+ */
+ protected $advisory_publish_time = null;
/**
* Constructor.
@@ -98,6 +104,8 @@ class VulnerabilityNote extends \Google\Protobuf\Internal\Message
* CVSS version used to populate cvss_score and severity.
* @type \Grafeas\V1\CVSS $cvss_v2
* The full description of the v2 CVSS for this vulnerability.
+ * @type \Google\Protobuf\Timestamp $advisory_publish_time
+ * The time this advisory was published by the source.
* }
*/
public function __construct($data = NULL) {
@@ -355,5 +363,41 @@ public function setCvssV2($var)
return $this;
}
+ /**
+ * The time this advisory was published by the source.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp advisory_publish_time = 9;
+ * @return \Google\Protobuf\Timestamp|null
+ */
+ public function getAdvisoryPublishTime()
+ {
+ return $this->advisory_publish_time;
+ }
+
+ public function hasAdvisoryPublishTime()
+ {
+ return isset($this->advisory_publish_time);
+ }
+
+ public function clearAdvisoryPublishTime()
+ {
+ unset($this->advisory_publish_time);
+ }
+
+ /**
+ * The time this advisory was published by the source.
+ *
+ * Generated from protobuf field .google.protobuf.Timestamp advisory_publish_time = 9;
+ * @param \Google\Protobuf\Timestamp $var
+ * @return $this
+ */
+ public function setAdvisoryPublishTime($var)
+ {
+ GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
+ $this->advisory_publish_time = $var;
+
+ return $this;
+ }
+
}