Skip to content

Commit

Permalink
feat: add tutorial box for trust boundary
Browse files Browse the repository at this point in the history
  • Loading branch information
Tethik committed Jul 4, 2024
1 parent a6aebf5 commit 1bf4c23
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion app/src/components/model/tutorial/Tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import creatingThreats from "./img/creatingthreats.gif";
import dataflowImg from "./img/dataflow.gif";
import datastoreImg from "./img/datastore.png";
import externalEntityImg from "./img/externalentity.png";
import trustBoundaryImg from "./img/trustboundary.png";
import indicatorsImg from "./img/indicators.png";
import processImg from "./img/process.png";
import reviewRequestViewImg from "./img/reviewRequestView.png";
Expand Down Expand Up @@ -80,7 +81,7 @@ const General = () => (
potential threats and controls.
</Typography>
<Typography>
The diagram is built from three different types of components. Let's go
The diagram is built from four different types of components. Let's go
through each and explain what they are!
</Typography>
</>
Expand Down Expand Up @@ -128,6 +129,21 @@ const ExternalEntityExplanation = () => (
</>
);

const TrustBoundaryExplanation = () => (
<>
<Typography>
Trust Boundaries are represented by a resizeable circular box, and are
used to indicate a boundary which multiple sub-components are inside.
</Typography>
<Typography>
Some concrete examples of trust boundaries could be: the AWS account that
contains parts of your service's infrastructure, the network boundary that
separates your internal network from the internet, or an EC2 which has
multiple processes running on it.
</Typography>
</>
);

const CreateComponent = () => (
<>
<Typography>
Expand Down Expand Up @@ -533,6 +549,16 @@ const steps = [
highlighted: [],
position: "center",
},
{
title: "Trust Boundary",
body: TrustBoundaryExplanation,
media: {
image: trustBoundaryImg,
alt: "what the trust boundary component looks like in the diagram",
},
highlighted: [],
position: "center",
},
{
title: "Add component",
body: CreateComponent,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1bf4c23

Please sign in to comment.