From 94779e66136f2408678aa59ff0c62d857bc3df0e Mon Sep 17 00:00:00 2001 From: Hari Krishna Date: Tue, 11 Jun 2024 05:59:11 +0000 Subject: [PATCH] initial UI implementation for managing detection rules --- frontend/src/views/Detection.jsx | 58 ++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 frontend/src/views/Detection.jsx diff --git a/frontend/src/views/Detection.jsx b/frontend/src/views/Detection.jsx new file mode 100644 index 00000000..c2711b45 --- /dev/null +++ b/frontend/src/views/Detection.jsx @@ -0,0 +1,58 @@ +import React from 'react'; +import { Container, Box, TextField, Switch, Card, CardContent, IconButton, Typography, Button } from '@mui/material'; +import EditIcon from '@mui/icons-material/Edit'; +import { styled } from '@mui/system'; + +const ConnectedButton = styled(Button)({ + backgroundColor: 'red', + color: 'white', +}); + +const RuleCard = ({ ruleName, description }) => ( + + +
+ {ruleName} +
+ + + + +
+
+ {description} + + + {/* we need icons here ??? */} + + +
+
+); + +const Detection = () => { + return ( + + + + + Group 1 Title + + Not Connected to SIEM + + + + + Global disable/enable + + + + + + + + + ); +}; + +export default Detection;