Merge branch '2.0.0' of github.com:satti-hari-krishna-reddy/Shuffle into 2.0.0
This commit is contained in:
@@ -15416,7 +15416,7 @@ const releaseToConnectLabel = "Release to Connect"
|
|||||||
toast("please stop the trigger to edit the configuration");
|
toast("please stop the trigger to edit the configuration");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
setSelectedOption("Sigma Rulesearch");
|
setSelectedOption("SigmaRule");
|
||||||
setTenzirConfigModalOpen(true);
|
setTenzirConfigModalOpen(true);
|
||||||
}}}
|
}}}
|
||||||
style={{
|
style={{
|
||||||
@@ -15432,8 +15432,8 @@ const releaseToConnectLabel = "Release to Connect"
|
|||||||
<FormControlLabel
|
<FormControlLabel
|
||||||
control={
|
control={
|
||||||
<Radio
|
<Radio
|
||||||
checked={selectedOption === "Sigma Rulesearch"}
|
checked={selectedOption === "SigmaRule"}
|
||||||
onChange={() => setSelectedOption("Sigma Rulesearch")}
|
onChange={() => setSelectedOption("SigmaRule")}
|
||||||
value={"Sigma Rulesearch"}
|
value={"Sigma Rulesearch"}
|
||||||
name="option"
|
name="option"
|
||||||
/>
|
/>
|
||||||
@@ -21193,10 +21193,8 @@ const releaseToConnectLabel = "Release to Connect"
|
|||||||
</Dialog>
|
</Dialog>
|
||||||
) : null;
|
) : null;
|
||||||
|
|
||||||
const tenzirConfigModal = () => {
|
const TenzirConfigModal = () => {
|
||||||
if (!tenzirConfigModalOpen) return null;
|
const [loading, setLoading] = useState(false);
|
||||||
|
|
||||||
const [loading, setLoading] = useState(true);
|
|
||||||
const [selectedRules, setSelectedRules] = useState([]);
|
const [selectedRules, setSelectedRules] = useState([]);
|
||||||
|
|
||||||
const handleRuleChange = (event) => {
|
const handleRuleChange = (event) => {
|
||||||
@@ -21240,6 +21238,9 @@ const releaseToConnectLabel = "Release to Connect"
|
|||||||
|
|
||||||
const enabledSigmaInfo = rules.filter(rule => rule.is_enabled);
|
const enabledSigmaInfo = rules.filter(rule => rule.is_enabled);
|
||||||
|
|
||||||
|
if (!tenzirConfigModalOpen) return null;
|
||||||
|
|
||||||
|
return (
|
||||||
<Dialog
|
<Dialog
|
||||||
PaperComponent={PaperComponent}
|
PaperComponent={PaperComponent}
|
||||||
hideBackdrop={true}
|
hideBackdrop={true}
|
||||||
@@ -21275,7 +21276,7 @@ const releaseToConnectLabel = "Release to Connect"
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<DialogContent>
|
<DialogContent>
|
||||||
{selectedOption === 'sigmaRule' && (
|
{selectedOption === 'SigmaRule' && (
|
||||||
<>
|
<>
|
||||||
<FormControl fullWidth>
|
<FormControl fullWidth>
|
||||||
<InputLabel>Select Sigma Rules</InputLabel>
|
<InputLabel>Select Sigma Rules</InputLabel>
|
||||||
@@ -21317,10 +21318,12 @@ const releaseToConnectLabel = "Release to Connect"
|
|||||||
<CloseIcon />
|
<CloseIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const SuggestionBoxUi = () => {
|
const SuggestionBoxUi = () => {
|
||||||
const [suggestionValue, setSuggestionValue] = useState("");
|
const [suggestionValue, setSuggestionValue] = useState("");
|
||||||
const [suggestionLoading, setSuggestionLoading] = useState(false);
|
const [suggestionLoading, setSuggestionLoading] = useState(false);
|
||||||
@@ -21897,7 +21900,7 @@ const releaseToConnectLabel = "Release to Connect"
|
|||||||
{codePopoutModal}
|
{codePopoutModal}
|
||||||
{workflowRevisions}
|
{workflowRevisions}
|
||||||
{authenticationModal}
|
{authenticationModal}
|
||||||
{tenzirConfigModal}
|
{<TenzirConfigModal/>}
|
||||||
{/*editWorkflowModal*/}
|
{/*editWorkflowModal*/}
|
||||||
{authgroupModal}
|
{authgroupModal}
|
||||||
{executionArgumentModal}
|
{executionArgumentModal}
|
||||||
|
|||||||
Reference in New Issue
Block a user