From 58d7b48137aa5c10df9acb79e24fb203c31caff7 Mon Sep 17 00:00:00 2001 From: Luke Watts Date: Tue, 26 Nov 2024 16:29:18 +0100 Subject: [PATCH] feat: use instance param to determine oauth2 token endpoint --- cliv2/go.mod | 3 ++- cliv2/go.sum | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cliv2/go.mod b/cliv2/go.mod index d28aa18fbe..c1739a3043 100644 --- a/cliv2/go.mod +++ b/cliv2/go.mod @@ -17,7 +17,7 @@ require ( github.com/snyk/cli-extension-sbom v0.0.0-20241016065306-0df2be5b3b8f github.com/snyk/container-cli v0.0.0-20240821111304-7ca1c415a5d7 github.com/snyk/error-catalog-golang-public v0.0.0-20241030160523-0aa643bb7069 - github.com/snyk/go-application-framework v0.0.0-20241121110320-ec6ffc91558a + github.com/snyk/go-application-framework v0.0.0-20241126152422-f6cfded6480d github.com/snyk/go-httpauth v0.0.0-20240307114523-1f5ea3f55c65 github.com/snyk/snyk-iac-capture v0.6.5 github.com/snyk/snyk-ls v0.0.0-20241121152915-97e7af8d285c @@ -138,6 +138,7 @@ require ( github.com/muesli/cancelreader v0.2.2 // indirect github.com/muesli/reflow v0.3.0 // indirect github.com/muesli/termenv v0.15.2 // indirect + github.com/oapi-codegen/oapi-codegen/v2 v2.3.0 // indirect github.com/oapi-codegen/runtime v1.1.1 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/open-policy-agent/opa v0.51.0 // indirect diff --git a/cliv2/go.sum b/cliv2/go.sum index aeab7e1101..08028d879b 100644 --- a/cliv2/go.sum +++ b/cliv2/go.sum @@ -665,6 +665,8 @@ github.com/muesli/termenv v0.11.1-0.20220212125758-44cd13922739/go.mod h1:Bd5NYQ github.com/muesli/termenv v0.13.0/go.mod h1:sP1+uffeLaEYpyOTb8pLCUctGcGLnoFjSn4YJK5e2bc= github.com/muesli/termenv v0.15.2 h1:GohcuySI0QmI3wN8Ok9PtKGkgkFIk7y6Vpb5PvrY+Wo= github.com/muesli/termenv v0.15.2/go.mod h1:Epx+iuz8sNs7mNKhxzH4fWXGNpZwUaJKRS1noLXviQ8= +github.com/oapi-codegen/oapi-codegen/v2 v2.3.0 h1:rICjNsHbPP1LttefanBPnwsSwl09SqhCO7Ee623qR84= +github.com/oapi-codegen/oapi-codegen/v2 v2.3.0/go.mod h1:4k+cJeSq5ntkwlcpQSxLxICCxQzCL772o30PxdibRt4= github.com/oapi-codegen/runtime v1.1.1 h1:EXLHh0DXIJnWhdRPN2w4MXAzFyE4CskzhNLUmtpMYro= github.com/oapi-codegen/runtime v1.1.1/go.mod h1:SK9X900oXmPWilYR5/WKPzt3Kqxn/uS/+lbpREv+eCg= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= @@ -762,6 +764,8 @@ github.com/snyk/error-catalog-golang-public v0.0.0-20241030160523-0aa643bb7069 h github.com/snyk/error-catalog-golang-public v0.0.0-20241030160523-0aa643bb7069/go.mod h1:Ytttq7Pw4vOCu9NtRQaOeDU2dhBYUyNBe6kX4+nIIQ4= github.com/snyk/go-application-framework v0.0.0-20241121110320-ec6ffc91558a h1:JBeM7V7srT5dmF7w0Y06TDxwoU+j0GG3W5YEVfKbnA0= github.com/snyk/go-application-framework v0.0.0-20241121110320-ec6ffc91558a/go.mod h1:GekIT38VeZQiDw/Ot9Qn0s2kxVR1TXMw6gcaaAiKsVg= +github.com/snyk/go-application-framework v0.0.0-20241126152422-f6cfded6480d h1:INMQ3tyR7vmUyNyVCknUoC6FDi3riYw5VGCv9djnzTk= +github.com/snyk/go-application-framework v0.0.0-20241126152422-f6cfded6480d/go.mod h1:KqrGoKC8ftiMXOI29Uk4+O9Gup3Jg9UxrjXRhwsLF1k= github.com/snyk/go-httpauth v0.0.0-20240307114523-1f5ea3f55c65 h1:CEQuYv0Go6MEyRCD3YjLYM2u3Oxkx8GpCpFBd4rUTUk= github.com/snyk/go-httpauth v0.0.0-20240307114523-1f5ea3f55c65/go.mod h1:88KbbvGYlmLgee4OcQ19yr0bNpXpOr2kciOthaSzCAg= github.com/snyk/policy-engine v0.31.3 h1:FepCg6QN/X8uvxYjF+WwB2aiBPJB+NENDgKQeI/FwLg=