From 9183c0a59d69704c2d5b152613b091f91c3bbbc2 Mon Sep 17 00:00:00 2001 From: Gautier DI FOLCO Date: Sun, 18 Aug 2024 11:03:39 +0200 Subject: [PATCH] fix: wrong GitHub API attribute name --- app/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Main.hs b/app/Main.hs index 537d863..e690fe7 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -184,7 +184,7 @@ sendAdvisories ghContext packageAdvisories = do ghData = [ "ref" := ghContext.ref, "commit_sha" := ghContext.commitSha, - "sharif" := extractBase64 (encodeBase64 $ compress $ encodeSarifAsLBS defaultLog {logRuns = [run]}), + "sarif" := extractBase64 (encodeBase64 $ compress $ encodeSarifAsLBS defaultLog {logRuns = [run]}), "tool_name" := ("github-action-scan" :: Text), "validate" := True ]