@devtron-labs/devtron-fe-common-lib 0.3.5-beta-3 → 0.3.5-beta-4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Common/Constants.d.ts +0 -2
- package/dist/Common/Security/ScanVulnerabilitiesTable.d.ts +2 -0
- package/dist/Common/Security/types.d.ts +4 -0
- package/dist/Common/index.d.ts +1 -0
- package/dist/Pages/App/AppConfigurations/utils.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/History.components.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/types.d.ts +2 -0
- package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +1 -1
- package/dist/Shared/Components/ImageCardAccordion/types.d.ts +0 -1
- package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/Vulnerabilities.d.ts +1 -1
- package/dist/Shared/Components/Vulnerabilities/constants.d.ts +4 -0
- package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/index.d.ts +0 -1
- package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/service.d.ts +1 -1
- package/dist/Shared/Components/Vulnerabilities/types.d.ts +7 -0
- package/dist/Shared/Components/Vulnerabilities/utils.d.ts +4 -0
- package/dist/Shared/Components/index.d.ts +1 -1
- package/dist/Shared/constants.d.ts +0 -4
- package/dist/Shared/types.d.ts +0 -1
- package/dist/assets/index.css +1 -1
- package/dist/{cssMode-C2DbOm5G.js → cssMode-DBP9WI7Z.js} +1 -1
- package/dist/{freemarker2-DIAXDvZh.js → freemarker2-BVuQcjYq.js} +1 -1
- package/dist/{handlebars-BNSBHLYi.js → handlebars-CnmVtbxe.js} +1 -1
- package/dist/{html-BYhqChCC.js → html-C1tzOrj8.js} +1 -1
- package/dist/{htmlMode-Yi80fKa_.js → htmlMode-B-5D3DnQ.js} +1 -1
- package/dist/{index-B_5eS34k.js → index-eOY7n2f3.js} +32967 -34666
- package/dist/index.js +328 -336
- package/dist/{javascript-qbJFaknq.js → javascript-peWjmg28.js} +1 -1
- package/dist/{jsonMode-BIO3_Bhv.js → jsonMode-6iMQV3Oq.js} +1 -1
- package/dist/{liquid-BhQxjMmC.js → liquid-1EZZ6Izk.js} +1 -1
- package/dist/{mdx-BcxpAgOj.js → mdx-DCQNMqpR.js} +1 -1
- package/dist/{python-lNzFF1gZ.js → python-7A7A_og3.js} +1 -1
- package/dist/{razor-Bt-aSObe.js → razor-DtFPu_ke.js} +1 -1
- package/dist/{tsMode-Dp7Djl6H.js → tsMode-BwVC3y8U.js} +1 -1
- package/dist/{typescript-VVpDVimM.js → typescript-BGkZ4wY3.js} +1 -1
- package/dist/{xml-w67VngZW.js → xml-BEXgtGeh.js} +1 -1
- package/dist/{yaml-DLRfXLkQ.js → yaml-DKY6ZD5e.js} +1 -1
- package/package.json +3 -4
- package/dist/Shared/Components/Security/SecurityModal/SecurityModal.d.ts +0 -14
- package/dist/Shared/Components/Security/SecurityModal/components/IndexedTextDisplay.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/InfoCard.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/OpenDetailViewButton.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/Sidebar.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/Table.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/components/index.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/config/CodeScan.d.ts +0 -100
- package/dist/Shared/Components/Security/SecurityModal/config/EmptyState.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/ImageScan.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/config/InfoCard.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/KubernetesManifest.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/config/Sidebar.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/Table.d.ts +0 -2
- package/dist/Shared/Components/Security/SecurityModal/config/index.d.ts +0 -3
- package/dist/Shared/Components/Security/SecurityModal/constants.d.ts +0 -56
- package/dist/Shared/Components/Security/SecurityModal/index.d.ts +0 -4
- package/dist/Shared/Components/Security/SecurityModal/service.d.ts +0 -5
- package/dist/Shared/Components/Security/SecurityModal/types.d.ts +0 -269
- package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +0 -34
- package/dist/Shared/Components/Security/SecuritySummaryCard/SecuritySummaryCard.d.ts +0 -3
- package/dist/Shared/Components/Security/SecuritySummaryCard/index.d.ts +0 -1
- package/dist/Shared/Components/Security/SecuritySummaryCard/types.d.ts +0 -16
- package/dist/Shared/Components/Security/Vulnerabilities/types.d.ts +0 -25
- package/dist/Shared/Components/Security/Vulnerabilities/utils.d.ts +0 -13
- package/dist/Shared/Components/Security/index.d.ts +0 -4
- package/dist/Shared/Components/Security/utils.d.ts +0 -4
|
@@ -85,8 +85,6 @@ export declare const ROUTES: {
|
|
|
85
85
|
PLUGIN_GLOBAL_LIST_DETAIL_V2: string;
|
|
86
86
|
PLUGIN_GLOBAL_LIST_V2: string;
|
|
87
87
|
PLUGIN_GLOBAL_LIST_TAGS: string;
|
|
88
|
-
K8S_RESOURCE_SECURITY: string;
|
|
89
|
-
SCAN_RESULT: string;
|
|
90
88
|
PLUGIN_LIST_MIN: string;
|
|
91
89
|
DEPLOYMENT_CHARTS_LIST: string;
|
|
92
90
|
USER_LIST_MIN: string;
|
package/dist/Common/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { default as GenericFilterEmptyState } from './EmptyState/GenericFilterEm
|
|
|
28
28
|
export * from './SearchBar';
|
|
29
29
|
export * from './SortableTableHeaderCell';
|
|
30
30
|
export { default as Toggle } from './Toggle/Toggle';
|
|
31
|
+
export { default as ScanVulnerabilitiesTable } from './Security/ScanVulnerabilitiesTable';
|
|
31
32
|
export { default as StyledRadioGroup } from './RadioGroup/RadioGroup';
|
|
32
33
|
export * from './CIPipeline.Types';
|
|
33
34
|
export * from './Policy.Types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { DeploymentStageType } from '../../../Shared/constants';
|
|
2
|
-
export declare const getDeploymentStageTitle: (stage: DeploymentStageType) => "-" | "
|
|
2
|
+
export declare const getDeploymentStageTitle: (stage: DeploymentStageType) => "pre-deployment" | "post-deployment" | "deployment" | "-";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { GitChangesType, LogResizeButtonType, ScrollerType } from './types';
|
|
2
|
-
export declare const LogResizeButton: ({ fullScreenView, setFullScreenView }: LogResizeButtonType) => JSX.Element;
|
|
2
|
+
export declare const LogResizeButton: ({ onlyOnLogs, disableKeybindings, fullScreenView, setFullScreenView, }: LogResizeButtonType) => JSX.Element;
|
|
3
3
|
export declare const Scroller: ({ scrollToTop, scrollToBottom, style }: ScrollerType) => JSX.Element;
|
|
4
4
|
export declare const GitChanges: ({ gitTriggers, ciMaterials, artifact, userApprovalMetadata, triggeredByEmail, ciPipelineId, artifactId, imageComment, imageReleaseTags, appReleaseTagNames, tagsEditable, hideImageTaggingHardDelete, appliedFilters, appliedFiltersTimestamp, promotionApprovalMetadata, selectedEnvironmentName, renderCIListHeader, }: GitChangesType) => JSX.Element;
|
|
@@ -14,6 +14,8 @@ export declare enum FetchIdDataStatus {
|
|
|
14
14
|
SUSPEND = "SUSPEND"
|
|
15
15
|
}
|
|
16
16
|
export interface LogResizeButtonType {
|
|
17
|
+
onlyOnLogs?: boolean;
|
|
18
|
+
disableKeybindings?: boolean;
|
|
17
19
|
fullScreenView: boolean;
|
|
18
20
|
setFullScreenView: React.Dispatch<React.SetStateAction<boolean>>;
|
|
19
21
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ImageCardAccordionProps } from './types';
|
|
2
|
-
declare const ImageCardAccordion: ({ isSecurityModuleInstalled, artifactId, applicationId, environmentId, changesCard, isScanned, isScanEnabled,
|
|
2
|
+
declare const ImageCardAccordion: ({ isSecurityModuleInstalled, artifactId, applicationId, environmentId, changesCard, isScanned, isScanEnabled, }: ImageCardAccordionProps) => JSX.Element;
|
|
3
3
|
export default ImageCardAccordion;
|
|
@@ -9,7 +9,6 @@ export interface ImageCardAccordionProps extends MaterialSecurityInfoType {
|
|
|
9
9
|
changesCard: ReactNode;
|
|
10
10
|
isScanned: boolean;
|
|
11
11
|
isScanEnabled: boolean;
|
|
12
|
-
isScanV2Enabled: boolean;
|
|
13
12
|
}
|
|
14
13
|
export interface SecurityDetailsType {
|
|
15
14
|
vulnerabilities: VulnerabilityType[];
|
package/dist/Shared/Components/{Security/Vulnerabilities → Vulnerabilities}/Vulnerabilities.d.ts
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { VulnerabilitiesProps } from './types';
|
|
2
|
-
declare const Vulnerabilities: ({ isScanned, isScanEnabled, artifactId, applicationId, environmentId, setVulnerabilityCount,
|
|
2
|
+
declare const Vulnerabilities: ({ isScanned, isScanEnabled, artifactId, applicationId, environmentId, setVulnerabilityCount, }: VulnerabilitiesProps) => JSX.Element;
|
|
3
3
|
export default Vulnerabilities;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { LastExecutionResponseType } from '
|
|
1
|
+
import { LastExecutionResponseType } from '../../types';
|
|
2
2
|
export declare function getLastExecutionByArtifactAppEnv(artifactId: string | number, appId: number | string, envId: number | string): Promise<LastExecutionResponseType>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MaterialSecurityInfoType } from '../../types';
|
|
2
|
+
export interface VulnerabilitiesProps extends MaterialSecurityInfoType {
|
|
3
|
+
artifactId: number;
|
|
4
|
+
applicationId: number;
|
|
5
|
+
environmentId: number;
|
|
6
|
+
setVulnerabilityCount: React.Dispatch<React.SetStateAction<number>>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { LastExecutionResponseType, LastExecutionResultType } from '../../types';
|
|
2
|
+
export declare const getSortedVulnerabilities: (vulnerabilities: any) => any;
|
|
3
|
+
export declare const getParsedScanResult: (scanResult: any) => LastExecutionResultType;
|
|
4
|
+
export declare const parseLastExecutionResponse: (response: any) => LastExecutionResponseType;
|
|
@@ -5,6 +5,7 @@ export * from './ImageCard';
|
|
|
5
5
|
export * from './ImageCardAccordion';
|
|
6
6
|
export * from './ExcludedImageNode';
|
|
7
7
|
export * from './ScannedByToolModal';
|
|
8
|
+
export * from './Vulnerabilities';
|
|
8
9
|
export * from './FilterChips';
|
|
9
10
|
export * from './ActivityIndicator';
|
|
10
11
|
export * from './GenericSectionErrorState';
|
|
@@ -39,5 +40,4 @@ export * from './TabGroup';
|
|
|
39
40
|
export * from './EditImageFormField';
|
|
40
41
|
export * from './Collapse';
|
|
41
42
|
export * from './FilterButton';
|
|
42
|
-
export * from './Security';
|
|
43
43
|
export * from './Button';
|
|
@@ -14,10 +14,6 @@ export declare const STAGE_TYPE: {
|
|
|
14
14
|
ROLLBACK: string;
|
|
15
15
|
};
|
|
16
16
|
export declare const SCAN_TOOL_ID_TRIVY = 3;
|
|
17
|
-
/**
|
|
18
|
-
* @description This is only used to show mapping for clair, scan tool id for clair can be either 1 or 2
|
|
19
|
-
* */
|
|
20
|
-
export declare const SCAN_TOOL_ID_CLAIR = 2;
|
|
21
17
|
export declare const IMAGE_SCAN_TOOL: {
|
|
22
18
|
Clair: string;
|
|
23
19
|
Trivy: string;
|
package/dist/Shared/types.d.ts
CHANGED
|
@@ -413,7 +413,6 @@ export interface LastExecutionResultType {
|
|
|
413
413
|
scanned?: boolean;
|
|
414
414
|
scanEnabled?: boolean;
|
|
415
415
|
scanToolId?: number;
|
|
416
|
-
imageScanDeployInfoId?: number;
|
|
417
416
|
}
|
|
418
417
|
export interface LastExecutionResponseType extends ResponseType<LastExecutionResultType> {
|
|
419
418
|
}
|