diff --git a/package-lock.json b/package-lock.json index d56b126ae..ea1790cb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.20.6-pre-38", + "version": "1.20.6-pre-39", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.20.6-pre-38", + "version": "1.20.6-pre-39", "hasInstallScript": true, "license": "ISC", "dependencies": { diff --git a/package.json b/package.json index 9fb2d111e..afd7e06e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devtron-labs/devtron-fe-common-lib", - "version": "1.20.6-pre-38", + "version": "1.20.6-pre-39", "description": "Supporting common component library", "type": "module", "main": "dist/index.js", diff --git a/src/Assets/IconV2/ic-security-fixable.svg b/src/Assets/IconV2/ic-security-fixable.svg new file mode 100644 index 000000000..c5aa54b56 --- /dev/null +++ b/src/Assets/IconV2/ic-security-fixable.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/Assets/IconV2/ic-security-not-fixable.svg b/src/Assets/IconV2/ic-security-not-fixable.svg new file mode 100644 index 000000000..824c5a46f --- /dev/null +++ b/src/Assets/IconV2/ic-security-not-fixable.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/Assets/IconV2/ic-security-vulnerability.svg b/src/Assets/IconV2/ic-security-vulnerability.svg new file mode 100644 index 000000000..d0f3b68e6 --- /dev/null +++ b/src/Assets/IconV2/ic-security-vulnerability.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/Common/Constants.ts b/src/Common/Constants.ts index 174617070..d02ed923a 100644 --- a/src/Common/Constants.ts +++ b/src/Common/Constants.ts @@ -130,6 +130,9 @@ export const URLS = { COST_CONFIGURATIONS: `${COST_VISIBILITY_ROOT}/configurations`, // SECURITY CENTER SECURITY_CENTER: SECURITY_CENTER_ROOT, + SECURITY_CENTER_OVERVIEW: `${SECURITY_CENTER_ROOT}/overview`, + SECURITY_CENTER_SCANS: `${SECURITY_CENTER_ROOT}/scans`, + SECURITY_CENTER_POLICIES: `${SECURITY_CENTER_ROOT}/policies`, // AUTOMATION AND ENABLEMENT AUTOMATION_AND_ENABLEMENT: AUTOMATION_AND_ENABLEMENT_ROOT, AUTOMATION_AND_ENABLEMENT_JOB: `${AUTOMATION_AND_ENABLEMENT_ROOT}/job`, diff --git a/src/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.tsx b/src/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.tsx deleted file mode 100644 index a39a994ae..000000000 --- a/src/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.tsx +++ /dev/null @@ -1 +0,0 @@ -export const Overview = () =>
Overview
diff --git a/src/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.ts b/src/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.ts deleted file mode 100644 index bb81fdde1..000000000 --- a/src/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './Overview' diff --git a/src/Pages-Devtron-2.0/InfrastructureManagement/index.ts b/src/Pages-Devtron-2.0/InfrastructureManagement/index.ts index 58772772f..5ccb26ffd 100644 --- a/src/Pages-Devtron-2.0/InfrastructureManagement/index.ts +++ b/src/Pages-Devtron-2.0/InfrastructureManagement/index.ts @@ -1,2 +1 @@ -export * from './Overview' export * from './Shared' diff --git a/src/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.tsx b/src/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.tsx deleted file mode 100644 index a39a994ae..000000000 --- a/src/Pages-Devtron-2.0/SecurityCenter/Overview/Overview.tsx +++ /dev/null @@ -1 +0,0 @@ -export const Overview = () =>
Overview
diff --git a/src/Pages-Devtron-2.0/SecurityCenter/Overview/index.ts b/src/Pages-Devtron-2.0/SecurityCenter/Overview/index.ts deleted file mode 100644 index bb81fdde1..000000000 --- a/src/Pages-Devtron-2.0/SecurityCenter/Overview/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from './Overview' diff --git a/src/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.tsx b/src/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.tsx new file mode 100644 index 000000000..9ae455cee --- /dev/null +++ b/src/Pages-Devtron-2.0/SecurityCenter/Shared/SecurityCenterIcon/SecurityCenterIcon.tsx @@ -0,0 +1,18 @@ +import { ComponentSizeType, URLS } from 'src' + +import { Button, ButtonComponentType, ButtonVariantType, Icon } from '@Shared/Components' + +export const SecurityCenterIcon = () => ( +