Skip to content

Releases: cortexapps/axon

Header Injection, Github App support

21 Jul 03:56
30463f8
Compare
Choose a tag to compare

Summary

Adds the ability to inject headers into the accept.json file, eg:

{
  "private": [
    {
      "method": "get",
      "path": "/foo/*",
      "origin": "https://foo-server.com",
      "headers": {
        "my-custom-heade-static": "my-custom-value",
        "my-custom-header-env": "${ENV_VAR_NAME}"
     },
    }
  ]
}

These headers will be sent to requests to the downstream (private origin) server.

In addition, adds support for github apps:

docker run ... cortex-axon-agent:latest relay -i github -a github-relay -s app

What's Changed

Full Changelog: v0.0.8...v0.0.9

Bug fix: webhook routing

25 Jun 22:51
924af14
Compare
Choose a tag to compare

Summary

A change to use Gorilla Mux broke routing for webhooks, but in a way that did not fail unit tests. This addresses that and adds better E2E testing for this scenario going forward.

What's Changed

Full Changelog: v0.0.7...v0.0.8

Respect HTTP_PORT

16 Jun 22:11
c922356
Compare
Choose a tag to compare

Small release to ensure HTTP_PORT is respected in all scenarios

What's Changed

Full Changelog: v0.0.6...v0.0.7

Proxy and Self-Signed Cert Support

13 Jun 04:46
2b9950d
Compare
Choose a tag to compare

This release adds proxy support, which is:

  • Support for HTTP_PROXY and friends
  • Local certs an be trusted by pointing at them with the CA_CERT_FILE environment variable

In addition, this release introduces the "reflector" which re-routes all outbound broker traffic back through the agent. It's been discovered that node (e.g. Snyk Broker) has some difficult issues when dealing with proxies in a production environment, while the Go stack does not. So this allows sending all traffic from the broker back to the agent which proxies it out using the Go transport settings including extra cert(s).

This can be enabled via:

  • ENABLE_RELAY_REFLECTOR=true just for contacting Cortex. This is useful if all resources accesed in the environment are NO_PROXY
  • ENABLE_RELAY_REFLECTOR=all proxies all outbound broker traffic through the agent. After some bake time this will become the default in future versions.

What's Changed

New Contributors

Full Changelog: v0.0.5...v0.0.6