diff --git a/cliv2/go.mod b/cliv2/go.mod index d28aa18fbe..ef6b9b1715 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-20241125123259-7cc51b8cb36c 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 @@ -164,7 +164,7 @@ require ( github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect github.com/shirou/gopsutil v3.21.11+incompatible // indirect github.com/skeema/knownhosts v1.3.0 // indirect - github.com/snyk/code-client-go v1.10.0 // indirect + github.com/snyk/code-client-go v1.11.0 // indirect github.com/snyk/policy-engine v0.31.3 // indirect github.com/sourcegraph/conc v0.3.0 // indirect github.com/sourcegraph/go-lsp v0.0.0-20240223163137-f80c5dd31dfd // indirect diff --git a/cliv2/go.sum b/cliv2/go.sum index aeab7e1101..b8f9f8d52c 100644 --- a/cliv2/go.sum +++ b/cliv2/go.sum @@ -754,14 +754,14 @@ github.com/snyk/cli-extension-iac-rules v0.0.0-20241008152401-24c8cf03a1a3 h1:AQ github.com/snyk/cli-extension-iac-rules v0.0.0-20241008152401-24c8cf03a1a3/go.mod h1:A/DNK3ZnUgqOKJ33Lc1z5KbbHqRSBgwCWw9KuyJu0xQ= github.com/snyk/cli-extension-sbom v0.0.0-20241016065306-0df2be5b3b8f h1:dlL+f+5sjHj4JCzW/Evl1x9UREXLyc3M4KjoZvQx0Bs= github.com/snyk/cli-extension-sbom v0.0.0-20241016065306-0df2be5b3b8f/go.mod h1:5CaY1bgvJY/uoG/1plLOf8T8o9AkwoBIGvw34RfRLZw= -github.com/snyk/code-client-go v1.10.0 h1:t/hBINxj4lKvoo681uGhxHBpMued/j68p2sHbB9qbfo= -github.com/snyk/code-client-go v1.10.0/go.mod h1:orU911flV1kJQOlxxx0InUQkAfpBrcERsb2olfnlI8s= +github.com/snyk/code-client-go v1.11.0 h1:qB0LDJSJwhbnsgHr2lz7VhoB2KRWhw9Me560+q/IzK8= +github.com/snyk/code-client-go v1.11.0/go.mod h1:orU911flV1kJQOlxxx0InUQkAfpBrcERsb2olfnlI8s= github.com/snyk/container-cli v0.0.0-20240821111304-7ca1c415a5d7 h1:Zn5BcV76oFAbJm5tDygU945lvoZ3yY8FoRFDC3YpwF8= github.com/snyk/container-cli v0.0.0-20240821111304-7ca1c415a5d7/go.mod h1:38w+dcAQp9eG3P5t2eNS9eG0reut10AeJjLv5lJ5lpM= github.com/snyk/error-catalog-golang-public v0.0.0-20241030160523-0aa643bb7069 h1:Oj/BJAEMEuBjTAQ72UYB4tR0IZKOB2ZtdDnAnJDL1BM= 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-20241125123259-7cc51b8cb36c h1:XcMpd7xR9NQIVsQHuunjRG/+NerTRUsk79amUdUYNcI= +github.com/snyk/go-application-framework v0.0.0-20241125123259-7cc51b8cb36c/go.mod h1:DNWS4m1W5EeF/nKhMsUnBrFSS+MUrTWKY7NoiBlu2io= 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= diff --git a/test/jest/acceptance/snyk-code/fixtures/test-sarif.json b/test/jest/acceptance/snyk-code/fixtures/test-sarif.json index 4a3c45d795..a9169a293d 100644 --- a/test/jest/acceptance/snyk-code/fixtures/test-sarif.json +++ b/test/jest/acceptance/snyk-code/fixtures/test-sarif.json @@ -3087,6 +3087,11 @@ "type": "fixExamples" } ], + "snykPolicy/v1": { + "originalLevel": "warning", + "originalSeverity": "medium", + "severity": "low" + }, "isAutofixable": false }, "suppressions": null