Skip to content

Commit

Permalink
test: Forgot to add the test file for #29
Browse files Browse the repository at this point in the history
  • Loading branch information
xntrik committed Mar 19, 2023
1 parent 04c31db commit c2ee4a9
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions cmd/hcltm/testdata/tm5.hcl
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"
}

}

}

0 comments on commit c2ee4a9

Please sign in to comment.