Fix v3 query for advisories

This commit is contained in:
Mustafa Gezen 2023-02-02 16:54:36 +01:00
parent a9b56f6485
commit 2125cd1ccb
Signed by untrusted user who does not match committer: mustafa
GPG Key ID: DCDF010D946438C1

View File

@ -58,6 +58,7 @@ Advisory_Pydantic = pydantic_model_creator(
"fixes.advisory_id", "fixes.advisory_id",
"affected_products.advisory", "affected_products.advisory",
"affected_products.advisory_id", "affected_products.advisory_id",
"affected_products.supported_product",
), ),
) )
@ -93,7 +94,7 @@ class Advisory_Pydantic_V2(BaseModel):
fixes: list[Advisory_Pydantic_V2_Fix] fixes: list[Advisory_Pydantic_V2_Fix]
cves: list[Advisory_Pydantic_V2_CVE] cves: list[Advisory_Pydantic_V2_CVE]
references: list[str] references: list[str]
publishedAt: datetime.datetime publishedAt: str
rpms: dict[str, list[str]] rpms: dict[str, list[str]]
rebootSuggested: bool rebootSuggested: bool
buildReferences: list[str] buildReferences: list[str]