Variable SubmitVulnerabilitiesSchemaConst
SubmitVulnerabilitiesSchema: ZodObject<
{
operationType: ZodOptional<
ZodCustom<
string & {}
| "NORMAL"
| "BACKFILL"
| "SCAN",
string & {} | "NORMAL" | "BACKFILL" | "SCAN",
>,
>;
properties: ZodOptional<ZodRecord<ZodString, ZodAny>>;
providerMetadata: ZodOptional<
ZodObject<{ product: ZodOptional<ZodString> }, $strip>,
>;
vulnerabilities: ZodArray<
ZodObject<
{
addAssociations: ZodOptional<
ZodArray<
ZodObject<
{
associationType: ZodCustom<
(...)
| (...)
| (...),
(...) | (...) | (...),
>;
values: ZodArray<ZodString>;
},
$loose,
>,
>,
>;
additionalInfo: ZodOptional<
ZodObject<{ content: ZodString; url: ZodOptional<ZodURL> }, $strip>,
>;
associationsLastUpdated: ZodOptional<
ZodUnion<readonly [ZodString, ZodDate]>,
>;
associationsUpdateSequenceNumber: ZodOptional<ZodNumber>;
containerId: ZodString;
description: ZodString;
displayName: ZodString;
id: ZodString;
identifiers: ZodOptional<
ZodArray<
ZodObject<{ displayName: ZodString; url: ZodURL }, $strip>,
>,
>;
introducedDate: ZodUnion<readonly [ZodString, ZodDate]>;
lastUpdated: ZodUnion<readonly [ZodString, ZodDate]>;
removeAssociations: ZodOptional<
ZodArray<
ZodObject<
{
associationType: ZodCustom<
(...)
| (...)
| (...),
(...) | (...) | (...),
>;
values: ZodArray<ZodString>;
},
$loose,
>,
>,
>;
schemaVersion: ZodCustom<string & {} | "1.0", string & {} | "1.0">;
severity: ZodObject<
{
level: ZodCustom<
"high"
| "low"
| "medium"
| "unknown"
| string & {}
| "critical",
"high" | "low" | "medium" | "unknown" | string & {} | "critical",
>;
},
$strip,
>;
status: ZodCustom<
"unknown"
| "closed"
| "open"
| string & {}
| "ignored",
"unknown" | "closed" | "open" | string & {} | "ignored",
>;
type: ZodCustom<
"unknown"
| string & {}
| "sca"
| "sast"
| "dast",
"unknown" | string & {} | "sca" | "sast" | "dast",
>;
updateSequenceNumber: ZodNumber;
url: ZodURL;
},
$strip,
>,
>;
},
$strip,
> = ...