Documentation
¶
Overview ¶
Package sidecar holds the small brokered-PUT plumbing shared by Wardyn's in-sandbox result-uploader binaries (wardyn-scan, wardyn-aws-sso): validate WARDYN_PROXY_URL/WARDYN_RUN_ID, build the brokered result URL, and PUT a JSON body. No Authorization header is ever set here — the wardyn-proxy holds and injects the run token, stripping any sandbox-supplied one. The PUT goes DIRECT (Proxy: nil): the target is the run's own proxy, so it must never be sent through the proxy named by the sandbox's HTTP_PROXY.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProxyRunURL ¶
ProxyRunURL reads and validates WARDYN_PROXY_URL and WARDYN_RUN_ID from the environment and returns the brokered result URL for the given result kind (e.g. "scan", "verify"): "${WARDYN_PROXY_URL}/wardyn/v1/${kind}-results/${WARDYN_RUN_ID}".
Types ¶
This section is empty.