( config: Pick<EnabledOwnerConfig, 'repositories' | 'repoNameToId'>, repoFullName?: string )
| 1594 | AND ${findingOwnerPredicate(params.owner)} |
| 1595 | RETURNING ${security_finding_notifications.status} |
| 1596 | ) |
| 1597 | SELECT status, count(*)::int AS count |
| 1598 | FROM finalized |
| 1599 | GROUP BY status |
| 1600 | `); |
| 1601 | |
| 1602 | let pending = 0; |
| 1603 | let cancelled = 0; |
| 1604 | for (const row of result.rows) { |
| 1605 | if (row.status === 'pending') pending = row.count; |
no test coverage detected