Skip to content

Commit

Permalink
Amended hexaOPA to pick up config version.
Browse files Browse the repository at this point in the history
Signed-off-by: Phil Hunt <[email protected]>
  • Loading branch information
independentid committed Jun 24, 2024
1 parent ad29ee4 commit d891321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/hexaOpa/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"os"

"github.com/hexa-org/policy-mapper/pkg/keysupport"
"github.com/hexa-org/policy-opa/cmd/hexaAuthZen/config"
"github.com/hexa-org/policy-opa/server/conditionEvaluator"
"github.com/hexa-org/policy-opa/server/hexaFilter"
"github.com/open-policy-agent/opa/ast"
Expand All @@ -18,7 +19,7 @@ import (
func main() {
// Configure JSON logger which is the normal OPA log format.
logger := slog.New(slog.NewJSONHandler(os.Stdout, nil))
logger.Info("Hexa OPA Server starting...", "version", "0.65.2")
logger.Info("Hexa OPA Server starting...", "version", config.HexaAuthZenVersion)

logger.Info("registering plugin " + hexaFilter.PluginName)
rego.RegisterBuiltin2(
Expand Down

0 comments on commit d891321

Please sign in to comment.