Skip to content

Commit

Permalink
chore: bump ver refs to 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xntrik committed Mar 4, 2024
1 parent c470d1b commit 15b2600
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion cmd/threatcl/testdata/tm1.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

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

"threatmodel": {
"Tower of London": {
Expand Down
2 changes: 1 addition & 1 deletion cmd/threatcl/testdata/tm2.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

threatmodel "tm2 one" {
description = "This is some arbitrary text"
Expand Down
2 changes: 1 addition & 1 deletion cmd/threatcl/testdata/tm3.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

threatmodel "tm2 one" {
description = "This is some arbitrary text"
Expand Down
2 changes: 1 addition & 1 deletion cmd/threatcl/testdata/tm4.hcl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

2 changes: 1 addition & 1 deletion cmd/threatcl/testdata/tm5.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

threatmodel "tm2 one" {
description = "This is some arbitrary text"
Expand Down
2 changes: 1 addition & 1 deletion examples/MITRE_ATTACK_controls.hcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//controls listed for MITRE ATT&CK

spec_version = "0.1.8"
spec_version = "0.2.0"

component "control" "Account_Use_Policies" {
description = "[M1036](https://attack.mitre.org/mitigations/M1036/) - Configure features related to account use like login attempt lockouts, specific login times, etc."
Expand Down
2 changes: 1 addition & 1 deletion examples/aws-security-checklist.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

// These are from https://d1.awsstatic.com/whitepapers/Security/AWS_Security_Checklist.pdf

Expand Down
2 changes: 1 addition & 1 deletion examples/control-library/othercontrols.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"
component "control" "control_name" {
description = "SOMETHING HUGELY IMPORTANT HERE IN ANOTHER FOLDER"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/including-example/corp-app-remote.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

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

threatmodel "Tower of London" {

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

threatmodel "Tower of London" {
description = "A historic castle"
Expand Down
2 changes: 1 addition & 1 deletion examples/owasp-proactive-controls.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

// These are from https://github.com/OWASP/www-project-proactive-controls/tree/7622bebed900a6a5d7b7b9b01fb3fe2b0e695545/v3/en

Expand Down
2 changes: 1 addition & 1 deletion examples/tm1.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

threatmodel "Tower of London" {
description = "A historic castle"
Expand Down
2 changes: 1 addition & 1 deletion examples/tm1.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spec_version": "0.1.8",
"spec_version": "0.2.0",

"threatmodel": {
"Tower of London": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tm2.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

threatmodel "Modelly model" {
imports = ["control-library/othercontrols.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion examples/tm2.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spec_version": "0.1.8",
"spec_version": "0.2.0",

"threatmodel": {
"Modelly model": {
Expand Down
2 changes: 1 addition & 1 deletion examples/tm3.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

threatmodel "Modelly model" {
imports = ["https://raw.githubusercontent.com/xntrik/hcltm/main/examples/aws-security-checklist.hcl", "https://raw.githubusercontent.com/xntrik/hcltm/main/examples/owasp-proactive-controls.hcl"]
Expand Down
2 changes: 1 addition & 1 deletion examples/tm4.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.8"
spec_version = "0.2.0"

threatmodel "Sumpidy" {
author = "@xntrik"
Expand Down
4 changes: 2 additions & 2 deletions spec.hcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// To cater for multiple spec versions we specify this in our HCL files
spec_version = "0.1.8"
spec_version = "0.2.0"

// You can include variables outside your threatmodel blocks

Expand Down Expand Up @@ -205,7 +205,7 @@ threatmodel "threatmodel name" {

// An example of what may be in controls.hcl:
//
// spec_version = "0.1.8"
// spec_version = "0.2.0"
// component "control" "control_name" {
// description = "A control that can be used in multiple places"
// }
Expand Down

0 comments on commit 15b2600

Please sign in to comment.