From 3717b6d0d91689798de1376a5b352c03112c1211 Mon Sep 17 00:00:00 2001 From: "Remi GASCOU (Podalirius)" <79218792+p0dalirius@users.noreply.github.com> Date: Mon, 22 Jun 2026 09:04:29 +0200 Subject: [PATCH] Fix missing metadata.source_kind in exported JSON (#15) --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index d47a764..0feef57 100755 --- a/main.go +++ b/main.go @@ -116,7 +116,7 @@ func main() { ParseResults(ldapResults, og, debug) logger.Info(fmt.Sprintf("Exporting graph to file: %s", outputFile)) - jsonData, err := og.ExportJSON(false) + jsonData, err := og.ExportJSON(true) if err != nil { logger.Warn(fmt.Sprintf("Error serializing graph to JSON: %s", err)) os.Exit(1)