feat: integrate scanning for v1 and v2 APIs #5321
Annotations
10 errors and 1 warning
Check linting issues:
src/components/ResourceBrowser/ResourceList/ResourceBrowserActionMenu.tsx#L27
Module '"@devtron-labs/devtron-fe-common-lib"' has no exported member 'ScanResultDTO'.
|
Check linting issues:
src/components/ResourceBrowser/ResourceList/ResourceBrowserActionMenu.tsx#L192
Type '{ handleModalClose: () => void; isLoading: boolean; error: any; responseData: ScanResultDTO; hidePolicy: true; }' is missing the following properties from type 'SecurityModalBaseProps': Sidebar, isSecurityScanV2Enabled
|
Check linting issues:
src/components/app/details/appDetails/AppSecurity.tsx#L1
Module '"@devtron-labs/devtron-fe-common-lib"' has no exported member 'getSecurityScan'.
|
Check linting issues:
src/components/app/details/appDetails/AppSecurity.tsx#L18
Type '{}' is missing the following properties from type 'ResponseType<ScanResultDTO>': code, status
|
Check linting issues:
src/components/app/details/appDetails/SecurityVulnerabilityCard.tsx#L19
'"@devtron-labs/devtron-fe-common-lib"' has no exported member named 'getScanToolAndSeverityCount'. Did you mean 'getTotalSeverityCount'?
|
Check linting issues:
src/components/app/details/appDetails/SecurityVulnerabilityCard.tsx#L188
Property 'isSecurityScanV2Enabled' is missing in type '{ handleModalClose: () => void; Sidebar: any; isLoading: boolean; error: ServerErrors; responseData: ScanResultDTO; hidePolicy: true; }' but required in type 'SecurityModalBaseProps'.
|
Check linting issues:
src/components/app/details/appDetails/appDetails.type.ts#L17
Module '"@devtron-labs/devtron-fe-common-lib"' has no exported member 'ScanResultDTO'.
|
Check linting issues:
src/components/app/details/cIDetails/CIDetails.tsx#L47
'"@devtron-labs/devtron-fe-common-lib"' has no exported member named 'getScanToolAndSeverityCount'. Did you mean 'getTotalSeverityCount'?
|
Check linting issues:
src/components/app/details/cIDetails/CIDetails.tsx#L723
Property 'isSecurityScanV2Enabled' is missing in type '{ severityCount: any; scanToolId: any; rootClassName: string; SecurityModalSidebar: any; responseData: ScanResultDTO; hidePolicy: true; }' but required in type '{ severityCount: SeverityCount; scanToolId: number; rootClassName?: string; isHelmApp?: boolean; isSecurityScanV2Enabled: boolean; responseData: ApiResponseResultType; hidePolicy?: boolean; }'.
|
Check linting issues:
src/components/app/details/triggerView/cdMaterial.tsx#L1455
Property 'getSecurityScan' is missing in type '{ environmentId: number; isSecurityModuleInstalled: boolean; artifactId: number; applicationId: number; changesCard: Element; isScanned: boolean; isScanEnabled: boolean; SecurityModalSidebar: any; }' but required in type 'ImageCardAccordionProps'.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading