Add VMware Photon Importer#2198
Conversation
|
After discussions in the community meeting, I moved forward with https://packages.vmware.com/photon/photon_cve_metadata/ as the data source. cve_score is verified to be CVSS3 from the corresponding NVD entry, for example: |
|
@ziadhany I have implemented the changes you suggested. Do have a look when time. Thanks. |
|
@ziadhany Can you take a look at the changes and let me know if this PR need further modifications? |
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
c1a2688 to
80eb6a6
Compare
| class VmwarePhotonImporterPipeline(VulnerableCodeBaseImporterPipelineV2): | ||
| """Collect advisories from Vmware Photon Advisory. | ||
|
|
||
| Example of advisory | ||
| { | ||
| "cve_id": "CVE-2020-11979", | ||
| "pkg": "apache-ant", | ||
| "cve_score": 7.5, | ||
| "aff_ver": "all versions before 1.10.8-2.ph1 are vulnerable", | ||
| "res_ver": "1.10.8-2.ph1" | ||
| } | ||
| """ |
There was a problem hiding this comment.
@Samk1710 I think VMware updated the advisory data. See:
https://packages.broadcom.com/photon/photon_cve_metadata/cve/
There was a problem hiding this comment.
@Samk1710 I think VMware updated the advisory data. See: https://packages.broadcom.com/photon/photon_cve_metadata/cve/
@ziadhany Yes, the schema and endpoint have some changes. Will have to adjust and update some parts. Will surely look into it after my exams :) Thanks.
Addresses:
Data Source:
Importer Logs: