Skip to content

topaz config info - #766

Merged
aserto-bot merged 3 commits into
mainfrom
config-info
Sep 28, 2026
Merged

aserto-bot merged 3 commits into
mainfrom
config-info

Conversation

@gertd

@gertd gertd commented Sep 27, 2026

Copy link
Copy Markdown
Member

Add OpenAPI endpoint information
Add AuthZEN Access service .wellknown endpoint
Add topaz access info command to expose results of querying the access service .wellknown endpoint

Complete topaz config info output:

{
  "environment": {
    "home": "/Users/gertd",
    "xdg_config_home": "/Users/gertd/.config",
    "xdg_data_home": "/Users/gertd/.local/share"
  },
  "config": {
    "topaz_cfg_dir": "/Users/gertd/.config/topaz/cfg",
    "topaz_certs_dir": "/Users/gertd/.local/share/topaz/certs",
    "topaz_db_dir": "/Users/gertd/.local/share/topaz/db",
    "topaz_decisions_dir": "/Users/gertd/.local/share/topaz/decisions",
    "topaz_tmpl_dir": "/Users/gertd/.local/share/topaz/tmpl",
    "topaz_dir": "/Users/gertd/.config/topaz"
  },
  "runtime": {
    "active_configuration_name": "gdrive-v33",
    "active_configuration_file": "/Users/gertd/.config/topaz/cfg/gdrive-v33.yaml",
    "running_configuration_name": "gdrive-v33",
    "running_configuration_file": "/Users/gertd/.config/topaz/cfg/gdrive-v33.yaml",
    "running_container_name": "topaz-gdrive-v33",
    "topaz_json": "/Users/gertd/.config/topaz/topaz.json"
  },
  "default": {
    "container_registry": "ghcr.io/aserto-dev",
    "container_image": "topaz",
    "container_tag": "0.33.20",
    "container_platform": "linux/arm64",
    "topaz_no_check": false,
    "topaz_no_color": false
  },
  "directory": {
    "topaz_directory_svc": "0.0.0.0:9292",
    "topaz_directory_svc_http": "https://localhost:9393",
    "topaz_directory_key": "",
    "topaz_directory_token": "",
    "topaz_insecure": false,
    "topaz_plaintext": false,
    "timeout": "5s"
  },
  "authorizer": {
    "topaz_authorizer_svc": "0.0.0.0:8282",
    "topaz_authorizer_svc_http": "https://localhost:8383",
    "topaz_authorizer_key": "",
    "topaz_authorizer_token": "",
    "topaz_insecure": false,
    "topaz_plaintext": false,
    "timeout": "5s"
  },
  "open_api_endpoints": {
    "topaz_directory_svc": "https://localhost:9393/directory/openapi.json",
    "topaz_access_svc": "https://localhost:9393/access/openapi.json",
    "topaz_authorizer_svc": "https://localhost:8383/authorizer/openapi.json"
  },
  "access": {
    "wellknown_config_url": "https://localhost:9393/.well-known/authzen-configuration"
  }
}

Signed-off-by: Gert Drapers <1533850+gertd@users.noreply.github.com>
@coveralls

coveralls commented Sep 27, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 36388532068

Coverage decreased (-0.05%) to 6.27%

Details

  • Coverage decreased (-0.05%) from the base build.
  • Patch coverage: 115 uncovered changes across 12 files (0 of 115 lines covered, 0.0%).
  • 1 coverage regression across 1 file.

Uncovered Changes

Top 10 Files by Coverage Impact Changed Covered %
topaz/cmd/configure/info.go 55 0 0.0%
topaz/cmd/topaz/stop.go 10 0 0.0%
topaz/cc/client.go 8 0 0.0%
topaz/cc/cc.go 6 0 0.0%
topaz/cmd/topaz/install.go 6 0 0.0%
topaz/cmd/configure/list.go 5 0 0.0%
topaz/cmd/configure/new.go 5 0 0.0%
topaz/cmd/configure/delete.go 4 0 0.0%
topaz/cmd/configure/rename.go 4 0 0.0%
topaz/cmd/configure/use.go 4 0 0.0%
Total (12 files) 115 0 0.0%

Coverage Regressions

1 previously-covered line in 1 file lost coverage.

File Lines Losing Coverage Coverage
topaz/cc/cc.go 1 0.0%

Coverage Stats

Coverage Status
Relevant Lines: 10175
Covered Lines: 638
Line Coverage: 6.27%
Coverage Strength: 0.06 hits per line

💛 - Coveralls

Signed-off-by: Gert Drapers <1533850+gertd@users.noreply.github.com>
@aserto-bot
aserto-bot merged commit 67d3c5f into main Sep 28, 2026
9 checks passed
@aserto-bot
aserto-bot deleted the config-info branch September 28, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants