-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Forgot to add the test file for #29
- Loading branch information
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
spec_version = "0.1.5" | ||
|
||
threatmodel "tm2 one" { | ||
description = "This is some arbitrary text" | ||
link = "https://" | ||
author = "@cfrichot" | ||
|
||
threat { | ||
description = "threaty threat" | ||
control = "controlly control" | ||
stride = ["Spoofing", "Elevation of privilege"] | ||
information_asset_refs = [] | ||
} | ||
|
||
data_flow_diagram_v2 "new dfd" { | ||
external_element "Google Analytics" {} | ||
|
||
process "Client" { | ||
trust_zone = "Browser" | ||
} | ||
} | ||
|
||
data_flow_diagram { | ||
external_element "Google Analytics" {} | ||
|
||
process "Client" { | ||
trust_zone = "Browser" | ||
} | ||
|
||
flow "https" { | ||
from = "Client" | ||
to = "Google Analytics" | ||
} | ||
|
||
process "Web Server" { | ||
trust_zone = "AWS" | ||
} | ||
|
||
data_store "Logs" { | ||
trust_zone = "AWS" | ||
} | ||
|
||
flow "TCP" { | ||
from = "Web Server" | ||
to = "Logs" | ||
} | ||
|
||
data_store "sqlite" { | ||
trust_zone = "AWS" | ||
} | ||
|
||
flow "https" { | ||
from = "Client" | ||
to = "Web Server" | ||
} | ||
|
||
flow "https" { | ||
from = "Web Server" | ||
to = "sqlite" | ||
} | ||
|
||
flow "https" { | ||
from = "sqlite" | ||
to = "Web Server" | ||
} | ||
|
||
} | ||
|
||
} |