From f20e88b2468bdcdb631b14e384f1f9a67e984013 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Thu, 13 Feb 2025 11:57:14 +0100 Subject: syz-cluster: report session results Provide an API to set up the reporting of finished sessions for which syz-cluster collected reportable findings. The actual sending of the results is to be done in a separate component that would: 1) Call Next() to get the next report to send. 2) Call Confirm() to confirm that the report has been sent. 3) Call Upstream() if the report has been moderated and needs to be sent to e.g. public mailing lists. --- syz-cluster/workflow/boot-step/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'syz-cluster/workflow/boot-step') diff --git a/syz-cluster/workflow/boot-step/main.go b/syz-cluster/workflow/boot-step/main.go index 8adf15fac..d88202034 100644 --- a/syz-cluster/workflow/boot-step/main.go +++ b/syz-cluster/workflow/boot-step/main.go @@ -87,7 +87,7 @@ func runTest(ctx context.Context, client *api.Client) (bool, error) { log.Printf("found: %q", rep.Title) if *flagFindings { log.Printf("reporting the finding") - findingErr := client.UploadFinding(ctx, &api.Finding{ + findingErr := client.UploadFinding(ctx, &api.NewFinding{ SessionID: *flagSession, TestName: *flagTestName, Title: rep.Title, -- cgit mrf-deployment