diff --git a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/components/layouts/leftnav/LeftNav.js b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/components/layouts/leftnav/LeftNav.js
index 5ee0c277f5..c38db58dd1 100644
--- a/apps/dashboard/web/polaris_web/web/src/apps/dashboard/components/layouts/leftnav/LeftNav.js
+++ b/apps/dashboard/web/polaris_web/web/src/apps/dashboard/components/layouts/leftnav/LeftNav.js
@@ -154,18 +154,18 @@ export default function LeftNav(){
selected: leftNavSelected === 'dashboard_issues',
key: '6',
},
- // TO BE ENABLED LATER.
- // {
- // label: Threat Detection,
- // icon: DiamondAlertMinor,
- // onClick: ()=>{
- // handleSelect("dashboard_threat_detection")
- // navigate("/dashboard/threat-detection")
- // setActive("normal")
- // },
- // selected: leftNavSelected === 'dashboard_threat_detection',
- // key: '7',
- // },
+ window?.STIGG_FEATURE_WISE_ALLOWED?.THREAT_DETECTION?.isGranted ?
+ {
+ label: API Threat Detection,
+ icon: DiamondAlertMinor,
+ onClick: () => {
+ handleSelect("dashboard_threat_detection")
+ navigate("/dashboard/threat-detection")
+ setActive("normal")
+ },
+ selected: leftNavSelected === 'dashboard_threat_detection',
+ key: '7',
+ } : {}
]}
/>