File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ def get_csaf_security_advisory(product):
357357
358358
359359def get_openvex_timestamp ():
360- return datetime .now (UTC ).strftime ( "%Y-%m-%dT%H:%M:%S.%f" )
360+ return datetime .now (UTC ).isoformat ( )
361361
362362
363363def get_openvex_vulnerability (vulnerability ):
Original file line number Diff line number Diff line change 22 "@context" : " https://openvex.dev/ns/v0.2.0" ,
33 "@id" : " OpenVEX-Document-b2561aa6-1092-44ef-afe2-b0b331514bab" ,
44 "author" : " nexB" ,
5- "timestamp" : " 2024-12-19T12:00:00.000000 " ,
5+ "timestamp" : " 2024-12-19T12:00:00+00:00 " ,
66 "version" : 1 ,
77 "statements" : [
88 {
1515 ]
1616 },
1717 "status" : " under_investigation" ,
18- "timestamp" : " 2024-12-19T12:00:00.000000 " ,
18+ "timestamp" : " 2024-12-19T12:00:00+00:00 " ,
1919 "products" : [
2020 {
2121 "@id" : " pkg:type/name@1.0"
3030 "aliases" : []
3131 },
3232 "status" : " under_investigation" ,
33- "timestamp" : " 2024-12-19T12:00:00.000000 " ,
33+ "timestamp" : " 2024-12-19T12:00:00+00:00 " ,
3434 "products" : [
3535 {
3636 "@id" : " pkg:type/name@2.0"
4545 "aliases" : []
4646 },
4747 "status" : " under_investigation" ,
48- "timestamp" : " 2024-12-19T12:00:00.000000 " ,
48+ "timestamp" : " 2024-12-19T12:00:00+00:00 " ,
4949 "products" : [
5050 {
5151 "@id" : " pkg:type/name@3.0"
5252 }
5353 ]
5454 }
5555 ],
56- "tooling" : " DejaCode-v5.4.1-20-g0f470c0 "
56+ "tooling" : " DejaCode-v5.4.1-21-g9b9925b "
5757}
You can’t perform that action at this time.
0 commit comments