(params: {
findingCreatedAt: string;
findingStatus: string;
severity: string | null;
ownerAutoAnalysisEnabledAt: string | null;
isAgentEnabled: boolean;
autoAnalysisEnabled: boolean;
autoAnalysisMinSeverity: AutoAnalysisMinSeverity;
autoAnalysisIncludeExisting?: boolean;
})
| 1123 | effectiveSeverity: securitySeveritySchema, |
| 1124 | findingCreatedAt: dbTimestampSchema, |
| 1125 | ownedByUserId: z.string().nullable(), |
| 1126 | ownedByOrganizationId: z.string().uuid().nullable(), |
| 1127 | source: z.string(), |
| 1128 | sourceId: z.string(), |
| 1129 | repoFullName: z.string(), |
| 1130 | title: z.string(), |
| 1131 | packageName: z.string(), |
| 1132 | packageEcosystem: z.string(), |
| 1133 | manifestPath: z.string().nullable(), |
| 1134 | patchedVersion: z.string().nullable(), |
| 1135 | ghsaId: z.string().nullable(), |
| 1136 | cveId: z.string().nullable(), |
| 1137 | cweIds: z.array(z.string()).nullable(), |
| 1138 | cvssScore: z.union([z.string(), z.number()]).nullable(), |
| 1139 | dependabotHtmlUrl: z.string().nullable(), |
| 1140 | firstDetectedAt: dbTimestampSchema, |
| 1141 | fixedAt: nullableDbTimestampSchema, |
| 1142 | slaDueAt: nullableDbTimestampSchema, |
| 1143 | }); |
| 1144 | |
| 1145 | type UpsertSecurityFindingResult = z.infer<typeof upsertSecurityFindingResultSchema>; |
| 1146 | const supersededSecurityFindingResultSchema = upsertSecurityFindingResultSchema.extend({ |
| 1147 | canonicalFindingId: z.string().uuid(), |
| 1148 | }); |
| 1149 | type SupersededSecurityFindingResult = z.infer<typeof supersededSecurityFindingResultSchema>; |
| 1150 |
no test coverage detected