Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
## 0.8.1

### 28 Aug, 2026

CHANGES:

* Bumped to golang 1.27.0

## 0.8.0

### 15 Aug, 2026
Expand Down
2 changes: 1 addition & 1 deletion testdata/constraintcov-clean.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "constraintcov clean" {
description = "Threat model that trips no deprecation constraints"
Expand Down
2 changes: 1 addition & 1 deletion testdata/constraintcov-expanded.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "constraintcov expanded" {
description = "Threat model with a deprecated expanded_control block"
Expand Down
2 changes: 1 addition & 1 deletion testdata/controls.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

component "control" "control_name" {
description = "Valid controls only"
Expand Down
2 changes: 1 addition & 1 deletion testdata/expanded-controls.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

component "control" "legacy_control" {
description = "Valid controls only"
Expand Down
2 changes: 1 addition & 1 deletion testdata/including/corp-app-remote.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Tower of London" {
author = "@xntrik"
Expand Down
2 changes: 1 addition & 1 deletion testdata/including/corp-app-remote2.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Tower of London" {
author = "@xntrik"
Expand Down
2 changes: 1 addition & 1 deletion testdata/including/corp-app.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Tower of London" {

Expand Down
2 changes: 1 addition & 1 deletion testdata/including/corp-app2.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Tower of London" {

Expand Down
2 changes: 1 addition & 1 deletion testdata/including/shared/tower.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Tower of London" {
description = "A historic castle"
Expand Down
2 changes: 1 addition & 1 deletion testdata/including/shared/tower2.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Tower of London" {
description = "A historic castle"
Expand Down
2 changes: 1 addition & 1 deletion testdata/parsercov-controls-only.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

component "control" "parsercov_fallback_control" {
description = "Control living only in the control namespace"
Expand Down
2 changes: 1 addition & 1 deletion testdata/parsercov-controls.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

component "expanded_control" "bare_expanded" {
description = "Expanded control with no notes or attributes"
Expand Down
2 changes: 1 addition & 1 deletion testdata/parsercov-noctl.hcl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
spec_version = "0.8.0"
spec_version = "0.8.1"
2 changes: 1 addition & 1 deletion testdata/parsercov-tm-bare-expanded.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "parsercov_bare_expanded" {
imports = ["parsercov-controls.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/parsercov-tm-empty-control.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "parsercov_empty_control" {
imports = ["parsercov-noctl.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/parsercov-tm-empty-expanded.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "parsercov_empty_expanded" {
imports = ["parsercov-noctl.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/parsercov-tm-fallback.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "parsercov_fallback" {
imports = ["parsercov-controls-only.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/subfolder/othercontrols.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

component "control" "another_control_name" {
description = "Still valid controls only"
Expand Down
2 changes: 1 addition & 1 deletion testdata/threat-dedup-base.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test_dedup" {
author = "@test"
Expand Down
2 changes: 1 addition & 1 deletion testdata/threat-dedup-including.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test_dedup" {
author = "@test"
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-constraint-multidfd.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "tm1 one" {
description = <<EOT
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-constraint-multiple.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "multi tm1" {
description = "A threat model that trips multiple constraints"
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-constraint-proposed.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "tm1 one" {
description = <<EOT
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-dupe-control-import.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test_dupe_control_import" {
imports = ["expanded-controls.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-slugrefs.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "slug refs" {
author = "@xntrik"
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-with-control-import.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test_control_import" {
imports = ["expanded-controls.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-with-expanded-controls.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test_expanded_controls" {
imports = ["expanded-controls.hcl", "controls.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-withimport-badref.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test" {
imports = ["subfolder/othercontrols.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-withimport-missingfile.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test" {
imports = ["nope/othercontrols.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-withimport.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "test" {
imports = ["subfolder/othercontrols.hcl", "controls.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm-withvar.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

variable "test_var" {
value = "test_var_val"
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm1.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "tm1 one" {
description = <<EOT
Expand Down
2 changes: 1 addition & 1 deletion testdata/tm1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spec_version": "0.8.0",
"spec_version": "0.8.1",

"threatmodel": {
"Tower of London": {
Expand Down
2 changes: 1 addition & 1 deletion testdata/tmaddcov-badinclude.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Coverage Castle Broken" {

Expand Down
2 changes: 1 addition & 1 deletion testdata/tmaddcov-included.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Coverage Castle Base" {
description = "Base model for include coverage"
Expand Down
2 changes: 1 addition & 1 deletion testdata/tmaddcov-invalid-child.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Broken child" {
description = "this child is missing the required author attribute"
Expand Down
2 changes: 1 addition & 1 deletion testdata/tmaddcov-missing-include.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Coverage Castle Missing" {

Expand Down
2 changes: 1 addition & 1 deletion testdata/tmaddcov-parent.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.8.0"
spec_version = "0.8.1"

threatmodel "Coverage Castle" {

Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package spec
// This can be overridden at build time using:
//
// go build -ldflags "-X github.com/threatcl/spec.Version=x.y.z"
var Version = "0.8.0"
var Version = "0.8.1"

// OtmVersion is the Open Threat Model format version.
// This can be overridden at build time using:
Expand Down