Skip to content

Commit e1a61fe

Browse files
1 parent 83e4014 commit e1a61fe

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

src/ContainerAnalysis/DiscoveryOccurrence.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,12 @@ class DiscoveryOccurrence extends \Google\Collection
100100
* @var string
101101
*/
102102
public $lastScanTime;
103+
/**
104+
* The last time vulnerability scan results changed.
105+
*
106+
* @var string
107+
*/
108+
public $lastVulnerabilityUpdateTime;
103109
protected $sbomStatusType = SBOMStatus::class;
104110
protected $sbomStatusDataType = '';
105111

@@ -254,6 +260,22 @@ public function getLastScanTime()
254260
{
255261
return $this->lastScanTime;
256262
}
263+
/**
264+
* The last time vulnerability scan results changed.
265+
*
266+
* @param string $lastVulnerabilityUpdateTime
267+
*/
268+
public function setLastVulnerabilityUpdateTime($lastVulnerabilityUpdateTime)
269+
{
270+
$this->lastVulnerabilityUpdateTime = $lastVulnerabilityUpdateTime;
271+
}
272+
/**
273+
* @return string
274+
*/
275+
public function getLastVulnerabilityUpdateTime()
276+
{
277+
return $this->lastVulnerabilityUpdateTime;
278+
}
257279
/**
258280
* The status of an SBOM generation.
259281
*

0 commit comments

Comments
 (0)