diff --git a/README.md b/README.md index a3db9e5a..cf4b70d6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,9 @@ # Shuffle [Shuffle](https://shuffler.io) is an automation platform for your security stack. It leverages docker for scaling and OpenAPI for integrations. It has the possibility to run across multiple isolated environments, and gives you powerful tools to track progress. + +![Example Shuffle webhook integration](shuffle_webhook.png) + ## Try it Check out the [installation guide](https://github.com/frikky/shuffle/blob/master/install-guide.md) @@ -55,10 +58,6 @@ Below is the folder structure with a short explanation └ docker-compose.yml # Used for deployments ``` -# Architecture -A basic image of how everything fits together, including legacy (left side) -![](architecture.png) - # Technology GCP was chosen because why not use the best thingies. "Serverless" \o/ ```bash diff --git a/architecture.png b/architecture.png deleted file mode 100644 index 4cf33b60..00000000 Binary files a/architecture.png and /dev/null differ diff --git a/frontend/src/AngularWorkflow.js b/frontend/src/AngularWorkflow.js index 7f3fda3a..8f20a5d3 100644 --- a/frontend/src/AngularWorkflow.js +++ b/frontend/src/AngularWorkflow.js @@ -798,7 +798,9 @@ const AngularWorkflow = (props) => { break } else if (workflow.branches[key].destination_id === edge.target && workflow.branches[key].source_id === edge.source) { // Checks if NOT trigger - if (workflow.triggers !== undefined && workflow.triggers.find(data => data.id === workflow.branches[key].source_id).length === 0) { + //workflow.triggers.find(data => data.id === workflow.branches[key].source_id).length === 0) + const triggercheck = workflow.triggers.find(data => data.id === workflow.branches[key].source_id) + if (workflow.triggers !== undefined && triggercheck !== undefined && triggercheck.length === 0) { alert.error("That pointer already exists") event.target.remove() } diff --git a/frontend/src/App.js b/frontend/src/App.js index 3f1d759d..d9b7aefe 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -39,7 +39,7 @@ import { positions, Provider } from "react-alert"; // Testing - localhost //const globalUrl = "http://192.168.3.6:5001" -//console.log("HOST: ", process.env) +console.log("HOST: ", process.env) // Production - backend proxy forwarding in nginx diff --git a/shuffle_webhook.png b/shuffle_webhook.png new file mode 100644 index 00000000..c2cb42cd Binary files /dev/null and b/shuffle_webhook.png differ