Closed ronenh closed 2 months ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pkg/app/directory/simple_resolver.go | 3 | 5 | 60.0% | ||
plugins/edge/plugin.go | 0 | 9 | 0.0% | ||
<!-- | Total: | 3 | 14 | 21.43% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
plugins/edge/plugin.go | 1 | 0.0% | ||
pkg/cli/cc/ports.go | 6 | 76.27% | ||
<!-- | Total: | 7 | --> |
Totals | |
---|---|
Change from base Build 10414409342: | -0.2% |
Covered Lines: | 1321 |
Relevant Lines: | 4688 |
This gives users the ability to configure topaz to include additional headers (gRPC metadata) in all directory calls. The remote_directory config value is alread an aserto.Config, which has a Headers field. This commit simply wires that into the underlying connection. Example:
It also gives the same ability to the directory and authorizer CLI commands. For example:
or (same semantics):