Skip to content

Commit

Permalink
Updated CHANGELOG and other versions to 0.1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
xntrik committed Feb 29, 2024
1 parent 474a2f3 commit 3b9bb04
Show file tree
Hide file tree
Showing 29 changed files with 39 additions and 29 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.1.7
### Feb 29, 2024

CHANGES:

* Updating to Go 1.20
* Added `export` sub-command
* Added OTM support to the `export` sub-command
* Support for remote file inclusion with `go-getter`

## 0.1.6
### Mar 21, 2023

Expand Down
2 changes: 1 addition & 1 deletion cmd/hcltm/testdata/tm1.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.6"
spec_version = "0.1.7"

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

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

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

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

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

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.6"
spec_version = "0.1.7"

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.6"
spec_version = "0.1.7"

// 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.6"
spec_version = "0.1.7"
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.6"
spec_version = "0.1.7"

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.6"
spec_version = "0.1.7"

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.6"
spec_version = "0.1.7"

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.6"
spec_version = "0.1.7"

// 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.6"
spec_version = "0.1.7"

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.6",
"spec_version": "0.1.7",

"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.6"
spec_version = "0.1.7"

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.6",
"spec_version": "0.1.7",

"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.6"
spec_version = "0.1.7"

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.6"
spec_version = "0.1.7"

threatmodel "Sumpidy" {
author = "@xntrik"
Expand Down
2 changes: 1 addition & 1 deletion pkg/spec/testdata/including/corp-app-remote.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.6"
spec_version = "0.1.7"

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

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

threatmodel "Tower of London" {

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

threatmodel "Tower of London" {

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

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

threatmodel "Tower of London" {
description = "A historic castle"
Expand Down
2 changes: 1 addition & 1 deletion pkg/spec/testdata/tm-constraint-multidfd.hcl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
spec_version = "0.1.6"
spec_version = "0.1.7"

threatmodel "tm1 one" {
description = <<EOT
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.6"
spec_version = "0.1.7"

// 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.6"
// spec_version = "0.1.7"
// component "control" "control_name" {
// description = "A control that can be used in multiple places"
// }
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package version

const (
Version string = "0.1.6"
Version string = "0.1.7"
)

func GetVersion() string {
Expand Down

0 comments on commit 3b9bb04

Please sign in to comment.