Skip to content

Variable: GetVulnerabilityByIdSchema

ts
const GetVulnerabilityByIdSchema: ZodObject<{
  addAssociations: ZodOptional<ZodArray<ZodObject<{
     associationType: ZodCustom<string & object | "issueKeys" | "issueIdOrKeys", string & object | "issueKeys" | "issueIdOrKeys">;
     values: ZodArray<ZodString>;
  }, $loose>>>;
  additionalInfo: ZodOptional<ZodObject<{
     content: ZodString;
     url: ZodOptional<ZodURL>;
  }, $loose>>;
  associationsLastUpdated: ZodOptional<ZodCoercedDate<unknown>>;
  associationsUpdateSequenceNumber: ZodOptional<ZodNumber>;
  containerId: ZodString;
  description: ZodString;
  displayName: ZodString;
  id: ZodString;
  identifiers: ZodOptional<ZodArray<ZodObject<{
     displayName: ZodString;
     url: ZodURL;
  }, $loose>>>;
  introducedDate: ZodCoercedDate<unknown>;
  lastUpdated: ZodCoercedDate<unknown>;
  removeAssociations: ZodOptional<ZodArray<ZodObject<{
     associationType: ZodCustom<string & object | "issueKeys" | "issueIdOrKeys", string & object | "issueKeys" | "issueIdOrKeys">;
     values: ZodArray<ZodString>;
  }, $loose>>>;
  schemaVersion: ZodCustom<string & object | "1.0", string & object | "1.0">;
  severity: ZodObject<{
     level: ZodCustom<"high" | "low" | "medium" | "unknown" | string & object | "critical", "high" | "low" | "medium" | "unknown" | string & object | "critical">;
  }, $loose>;
  status: ZodCustom<"unknown" | "closed" | "open" | string & object | "ignored", "unknown" | "closed" | "open" | string & object | "ignored">;
  type: ZodCustom<"unknown" | string & object | "sca" | "sast" | "dast", "unknown" | string & object | "sca" | "sast" | "dast">;
  updateSequenceNumber: ZodNumber;
  url: ZodURL;
}, $loose>;

Defined in: src/agile/models/getVulnerabilityById.ts:9

Data related to a specific vulnerability in a specific workspace that the vulnerability is present in. Must specify at least one association.*