diff --git a/.env.example b/.env.example index 1a5f0b85..074f6f35 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ -OSCTRL_VERSION=0.3.5 +OSCTRL_VERSION=0.3.6 OSQUERY_VERSION=5.11.0 NGINX_VERSION=1.21.6-alpine POSTGRES_VERSION=13.5-alpine diff --git a/CHANGELOG.md b/CHANGELOG.md index 02098fd3..e715ba39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # osctrl Changelog -## 🔖 Release [0.3.5](https://github.com/jmpsec/osctrl/releases/tag/v0.3.5) +## 🔖 Release [0.3.6](https://github.com/jmpsec/osctrl/releases/tag/v0.3.6) ### 🚨 Breaking Changes diff --git a/admin/auth/go.mod b/admin/auth/go.mod index b9c766c3..59bc45ce 100644 --- a/admin/auth/go.mod +++ b/admin/auth/go.mod @@ -21,9 +21,9 @@ replace github.com/jmpsec/osctrl/utils => ../../utils replace github.com/jmpsec/osctrl/version => ../../version require ( - github.com/jmpsec/osctrl/admin/sessions v0.3.5 - github.com/jmpsec/osctrl/settings v0.3.5 - github.com/jmpsec/osctrl/users v0.3.5 + github.com/jmpsec/osctrl/admin/sessions v0.3.6 + github.com/jmpsec/osctrl/settings v0.3.6 + github.com/jmpsec/osctrl/users v0.3.6 ) require ( @@ -33,12 +33,12 @@ require ( github.com/gorilla/sessions v1.2.2 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/jmpsec/osctrl/environments v0.3.5 // indirect - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect - github.com/jmpsec/osctrl/types v0.3.5 // indirect - github.com/jmpsec/osctrl/utils v0.3.5 // indirect - github.com/jmpsec/osctrl/version v0.3.5 // indirect + github.com/jmpsec/osctrl/environments v0.3.6 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect + github.com/jmpsec/osctrl/types v0.3.6 // indirect + github.com/jmpsec/osctrl/utils v0.3.6 // indirect + github.com/jmpsec/osctrl/version v0.3.6 // indirect github.com/segmentio/ksuid v1.0.4 // indirect golang.org/x/crypto v0.22.0 // indirect gorm.io/gorm v1.25.9 // indirect diff --git a/admin/handlers/go.mod b/admin/handlers/go.mod index 4c7f7004..982b2a51 100644 --- a/admin/handlers/go.mod +++ b/admin/handlers/go.mod @@ -34,17 +34,17 @@ replace github.com/jmpsec/osctrl/version => ../../version require ( github.com/gorilla/mux v1.8.1 - github.com/jmpsec/osctrl/admin/sessions v0.3.5 - github.com/jmpsec/osctrl/carves v0.3.5 + github.com/jmpsec/osctrl/admin/sessions v0.3.6 + github.com/jmpsec/osctrl/carves v0.3.6 github.com/jmpsec/osctrl/environments v0.0.0-20240406145525-19acb3c03380 github.com/jmpsec/osctrl/metrics v0.0.0-20240406145525-19acb3c03380 - github.com/jmpsec/osctrl/nodes v0.3.5 - github.com/jmpsec/osctrl/queries v0.3.5 - github.com/jmpsec/osctrl/settings v0.3.5 + github.com/jmpsec/osctrl/nodes v0.3.6 + github.com/jmpsec/osctrl/queries v0.3.6 + github.com/jmpsec/osctrl/settings v0.3.6 github.com/jmpsec/osctrl/tags v0.0.0-20240406145525-19acb3c03380 - github.com/jmpsec/osctrl/types v0.3.5 - github.com/jmpsec/osctrl/users v0.3.5 - github.com/jmpsec/osctrl/utils v0.3.5 + github.com/jmpsec/osctrl/types v0.3.6 + github.com/jmpsec/osctrl/users v0.3.6 + github.com/jmpsec/osctrl/utils v0.3.6 ) require ( @@ -85,7 +85,7 @@ require ( github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/jmespath/go-jmespath v0.4.0 // indirect - github.com/jmpsec/osctrl/version v0.3.5 // indirect + github.com/jmpsec/osctrl/version v0.3.6 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/pelletier/go-toml/v2 v2.2.0 // indirect diff --git a/admin/sessions/go.mod b/admin/sessions/go.mod index 0975b2cb..34effbe6 100644 --- a/admin/sessions/go.mod +++ b/admin/sessions/go.mod @@ -21,10 +21,10 @@ replace github.com/jmpsec/osctrl/version => ../../version require ( github.com/gorilla/securecookie v1.1.2 github.com/gorilla/sessions v1.2.2 - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect - github.com/jmpsec/osctrl/types v0.3.5 // indirect - github.com/jmpsec/osctrl/users v0.3.5 + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect + github.com/jmpsec/osctrl/types v0.3.6 // indirect + github.com/jmpsec/osctrl/users v0.3.6 ) require ( @@ -38,8 +38,8 @@ require ( github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/jmpsec/osctrl/environments v0.0.0-20240406145525-19acb3c03380 // indirect - github.com/jmpsec/osctrl/settings v0.3.5 // indirect - github.com/jmpsec/osctrl/version v0.3.5 // indirect + github.com/jmpsec/osctrl/settings v0.3.6 // indirect + github.com/jmpsec/osctrl/version v0.3.6 // indirect github.com/segmentio/ksuid v1.0.4 // indirect golang.org/x/crypto v0.22.0 // indirect ) diff --git a/cache/go.mod b/cache/go.mod index b65ec62b..27353de4 100644 --- a/cache/go.mod +++ b/cache/go.mod @@ -24,8 +24,8 @@ require ( github.com/hashicorp/hcl v1.0.0 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect github.com/jmpsec/osctrl/utils v0.0.0-20240406145525-19acb3c03380 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect diff --git a/carves/go.mod b/carves/go.mod index 4046c5af..b9975553 100644 --- a/carves/go.mod +++ b/carves/go.mod @@ -14,8 +14,8 @@ replace github.com/jmpsec/osctrl/utils => ../utils require ( github.com/jinzhu/gorm v1.9.16 - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect github.com/jmpsec/osctrl/types v0.0.0-20240406145525-19acb3c03380 ) diff --git a/deploy/docker/README.md b/deploy/docker/README.md index 6d88a944..8a9f5eab 100644 --- a/deploy/docker/README.md +++ b/deploy/docker/README.md @@ -56,7 +56,7 @@ You can generate a random enough JWT secret to be used with the `osctrl-api` and ## References * [What is osctrl?](https://osctrl.net/) -* [osctrl-api](https://app.swaggerhub.com/apis-docs/jmpsec/osctrl-api/0.3.5#/) +* [osctrl-api](https://app.swaggerhub.com/apis-docs/jmpsec/osctrl-api/0.3.6#/) ### Docker diff --git a/deploy/docker/conf/dev/.env.example b/deploy/docker/conf/dev/.env.example index 111d5a32..dcb7d4a5 100644 --- a/deploy/docker/conf/dev/.env.example +++ b/deploy/docker/conf/dev/.env.example @@ -1,4 +1,4 @@ -OSCTRL_VERSION=0.3.5 +OSCTRL_VERSION=0.3.6 OSQUERY_VERSION=5.11.0 NGINX_VERSION=1.21.6-alpine POSTGRES_VERSION=13.5-alpine diff --git a/environments/go.mod b/environments/go.mod index 5e301b3b..76919563 100644 --- a/environments/go.mod +++ b/environments/go.mod @@ -28,8 +28,8 @@ require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect github.com/jmpsec/osctrl/types v0.0.0-20240406145525-19acb3c03380 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect diff --git a/go.mod b/go.mod index 2e01c6b1..ac6f1dae 100644 --- a/go.mod +++ b/go.mod @@ -44,23 +44,23 @@ require ( github.com/crewjam/saml v0.4.14 github.com/golang-jwt/jwt/v4 v4.5.0 github.com/gorilla/mux v1.8.1 - github.com/jmpsec/osctrl/admin/handlers v0.3.5 - github.com/jmpsec/osctrl/admin/sessions v0.3.5 - github.com/jmpsec/osctrl/backend v0.3.5 - github.com/jmpsec/osctrl/cache v0.3.5 - github.com/jmpsec/osctrl/carves v0.3.5 - github.com/jmpsec/osctrl/environments v0.3.5 - github.com/jmpsec/osctrl/logging v0.3.5 - github.com/jmpsec/osctrl/metrics v0.3.5 - github.com/jmpsec/osctrl/nodes v0.3.5 - github.com/jmpsec/osctrl/queries v0.3.5 - github.com/jmpsec/osctrl/settings v0.3.5 - github.com/jmpsec/osctrl/tags v0.3.5 - github.com/jmpsec/osctrl/tls/handlers v0.3.5 - github.com/jmpsec/osctrl/types v0.3.5 - github.com/jmpsec/osctrl/users v0.3.5 - github.com/jmpsec/osctrl/utils v0.3.5 - github.com/jmpsec/osctrl/version v0.3.5 + github.com/jmpsec/osctrl/admin/handlers v0.3.6 + github.com/jmpsec/osctrl/admin/sessions v0.3.6 + github.com/jmpsec/osctrl/backend v0.3.6 + github.com/jmpsec/osctrl/cache v0.3.6 + github.com/jmpsec/osctrl/carves v0.3.6 + github.com/jmpsec/osctrl/environments v0.3.6 + github.com/jmpsec/osctrl/logging v0.3.6 + github.com/jmpsec/osctrl/metrics v0.3.6 + github.com/jmpsec/osctrl/nodes v0.3.6 + github.com/jmpsec/osctrl/queries v0.3.6 + github.com/jmpsec/osctrl/settings v0.3.6 + github.com/jmpsec/osctrl/tags v0.3.6 + github.com/jmpsec/osctrl/tls/handlers v0.3.6 + github.com/jmpsec/osctrl/types v0.3.6 + github.com/jmpsec/osctrl/users v0.3.6 + github.com/jmpsec/osctrl/utils v0.3.6 + github.com/jmpsec/osctrl/version v0.3.6 github.com/olekukonko/tablewriter v0.0.5 github.com/spf13/viper v1.18.2 github.com/urfave/cli/v2 v2.25.7 diff --git a/logging/go.mod b/logging/go.mod index aa9c76c6..18bf7a9f 100644 --- a/logging/go.mod +++ b/logging/go.mod @@ -23,13 +23,13 @@ require ( github.com/aws/aws-sdk-go-v2/credentials v1.17.11 github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.16.15 github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1 - github.com/jmpsec/osctrl/backend v0.3.5 + github.com/jmpsec/osctrl/backend v0.3.6 github.com/jmpsec/osctrl/cache v0.0.0-20240406145525-19acb3c03380 - github.com/jmpsec/osctrl/nodes v0.3.5 - github.com/jmpsec/osctrl/queries v0.3.5 - github.com/jmpsec/osctrl/settings v0.3.5 - github.com/jmpsec/osctrl/types v0.3.5 - github.com/jmpsec/osctrl/utils v0.3.5 + github.com/jmpsec/osctrl/nodes v0.3.6 + github.com/jmpsec/osctrl/queries v0.3.6 + github.com/jmpsec/osctrl/settings v0.3.6 + github.com/jmpsec/osctrl/types v0.3.6 + github.com/jmpsec/osctrl/utils v0.3.6 github.com/rs/zerolog v1.32.0 github.com/spf13/viper v1.18.2 gopkg.in/natefinch/lumberjack.v2 v2.2.1 diff --git a/metrics/go.mod b/metrics/go.mod index c510a2e8..aa1b891f 100644 --- a/metrics/go.mod +++ b/metrics/go.mod @@ -21,7 +21,7 @@ require ( require ( github.com/google/uuid v1.6.0 // indirect github.com/jackc/puddle/v2 v2.2.1 // indirect - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect github.com/jmpsec/osctrl/utils v0.0.0-20240406145525-19acb3c03380 // indirect github.com/pelletier/go-toml/v2 v2.2.0 // indirect github.com/sagikazarmark/locafero v0.4.0 // indirect @@ -43,7 +43,7 @@ require ( github.com/jackc/pgx/v5 v5.5.4 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect github.com/jmpsec/osctrl/types v0.0.0-20240406145525-19acb3c03380 github.com/magiconair/properties v1.8.7 // indirect github.com/mitchellh/mapstructure v1.5.0 // indirect diff --git a/osctrl-api.yaml b/osctrl-api.yaml index 1d4ea29f..17b44598 100644 --- a/osctrl-api.yaml +++ b/osctrl-api.yaml @@ -7,7 +7,7 @@ servers: info: title: osctrl-api description: "This the API for osctrl, a fast and efficient osquery management solution." - version: 0.3.5 + version: 0.3.6 externalDocs: description: osctrl documentation url: https://osctrl.net diff --git a/settings/go.mod b/settings/go.mod index dbc6cbab..c23c4dd9 100644 --- a/settings/go.mod +++ b/settings/go.mod @@ -20,8 +20,8 @@ require ( github.com/google/uuid v1.6.0 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect github.com/jmpsec/osctrl/utils v0.0.0-20240406145525-19acb3c03380 // indirect github.com/segmentio/ksuid v1.0.4 // indirect ) diff --git a/tls/handlers/go.mod b/tls/handlers/go.mod index 6c3c708c..7ae7587e 100644 --- a/tls/handlers/go.mod +++ b/tls/handlers/go.mod @@ -32,17 +32,17 @@ replace github.com/jmpsec/osctrl/tls/handlers => ../handlers require ( github.com/gorilla/mux v1.8.1 - github.com/jmpsec/osctrl/backend v0.3.5 // indirect + github.com/jmpsec/osctrl/backend v0.3.6 // indirect github.com/jmpsec/osctrl/carves v0.0.0-20240406145525-19acb3c03380 github.com/jmpsec/osctrl/environments v0.0.0-20240406145525-19acb3c03380 github.com/jmpsec/osctrl/logging v0.0.0-20240406145525-19acb3c03380 github.com/jmpsec/osctrl/metrics v0.0.0-20240406145525-19acb3c03380 - github.com/jmpsec/osctrl/nodes v0.3.5 - github.com/jmpsec/osctrl/queries v0.3.5 - github.com/jmpsec/osctrl/settings v0.3.5 + github.com/jmpsec/osctrl/nodes v0.3.6 + github.com/jmpsec/osctrl/queries v0.3.6 + github.com/jmpsec/osctrl/settings v0.3.6 github.com/jmpsec/osctrl/tags v0.0.0-20240406145525-19acb3c03380 - github.com/jmpsec/osctrl/types v0.3.5 - github.com/jmpsec/osctrl/utils v0.3.5 + github.com/jmpsec/osctrl/types v0.3.6 + github.com/jmpsec/osctrl/utils v0.3.6 github.com/segmentio/ksuid v1.0.4 github.com/stretchr/testify v1.9.0 ) diff --git a/types/go.mod b/types/go.mod index 4320e397..e47cf53f 100644 --- a/types/go.mod +++ b/types/go.mod @@ -8,14 +8,14 @@ replace github.com/jmpsec/osctrl/queries => ../queries replace github.com/jmpsec/osctrl/utils => ../utils -require github.com/jmpsec/osctrl/queries v0.3.5 +require github.com/jmpsec/osctrl/queries v0.3.6 require ( github.com/google/uuid v1.6.0 // indirect github.com/jinzhu/gorm v1.9.16 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect github.com/jmpsec/osctrl/utils v0.0.0-20240406145525-19acb3c03380 // indirect github.com/segmentio/ksuid v1.0.4 // indirect gorm.io/gorm v1.25.9 // indirect diff --git a/users/go.mod b/users/go.mod index bb3c9816..c9f22914 100644 --- a/users/go.mod +++ b/users/go.mod @@ -43,10 +43,10 @@ require ( github.com/jackc/pgx/v4 v4.18.2 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect - github.com/jmpsec/osctrl/nodes v0.3.5 // indirect - github.com/jmpsec/osctrl/queries v0.3.5 // indirect - github.com/jmpsec/osctrl/settings v0.3.5 // indirect - github.com/jmpsec/osctrl/version v0.3.5 // indirect + github.com/jmpsec/osctrl/nodes v0.3.6 // indirect + github.com/jmpsec/osctrl/queries v0.3.6 // indirect + github.com/jmpsec/osctrl/settings v0.3.6 // indirect + github.com/jmpsec/osctrl/version v0.3.6 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/segmentio/ksuid v1.0.4 // indirect golang.org/x/text v0.14.0 // indirect diff --git a/version/version.go b/version/version.go index edf8f31a..8358d18a 100644 --- a/version/version.go +++ b/version/version.go @@ -2,7 +2,7 @@ package version const ( // OsctrlVersion to have the version for all components - OsctrlVersion = "0.3.5" + OsctrlVersion = "0.3.6" // OsqueryVersion to have the version for osquery defined OsqueryVersion = "5.11.0" ) diff --git a/version/version_test.go b/version/version_test.go index 1681da88..c090ba55 100644 --- a/version/version_test.go +++ b/version/version_test.go @@ -11,5 +11,5 @@ func TestOsqueryVersion(t *testing.T) { } func TestOsctrlVersion(t *testing.T) { - assert.Equal(t, "0.3.5", OsctrlVersion) + assert.Equal(t, "0.3.6", OsctrlVersion) }