|
1 | | -import { APIHealthResponse, APIProjectDetails, APIGithubOrgDetails, APIChecklistItem } from '../types.js' |
| 1 | +import { APIHealthResponse, APIProjectDetails, APIGithubOrgDetails, APIChecklistItem, APICheckItem } from '../types.js' |
2 | 2 |
|
3 | 3 | export const mockApiHealthResponse: APIHealthResponse = { |
4 | 4 | status: 'ok', |
@@ -104,3 +104,20 @@ export const mockAPIChecklistResponse: APIChecklistItem[] = [{ |
104 | 104 | created_at: new Date().toISOString(), |
105 | 105 | updated_at: new Date().toISOString() |
106 | 106 | }] |
| 107 | + |
| 108 | +export const mockAPICheckResponse: APICheckItem[] = [{ |
| 109 | + id: 53, |
| 110 | + title: 'Refresh dependencies with annual releases', |
| 111 | + description: 'Ensure dependencies are refreshed through a new release at least once annually', |
| 112 | + default_section_number: '5', |
| 113 | + default_section_name: 'vulnerability management', |
| 114 | + code_name: 'annualDependencyRefresh', |
| 115 | + default_priority_group: 'P14', |
| 116 | + is_c_scrm: true, |
| 117 | + implementation_status: 'completed', |
| 118 | + implementation_type: 'manual', |
| 119 | + implementation_details_reference: 'https://github.com/OpenPathfinder/visionBoard/issues/112', |
| 120 | + details_url: 'https://openpathfinder.com/docs/checks/annualDependencyRefresh', |
| 121 | + created_at: '2025-02-21T18:53:00.485Z', |
| 122 | + updated_at: '2025-02-21T18:53:00.485Z' |
| 123 | +}] |
0 commit comments