go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/explorer/report.go (about) 1 // Copyright (c) Mondoo, Inc. 2 // SPDX-License-Identifier: BUSL-1.1 3 4 package explorer 5 6 import llx "go.mondoo.com/cnquery/llx" 7 8 func (r *Report) RawResults() map[string]*llx.RawResult { 9 results := map[string]*llx.RawResult{} 10 11 // covert all proto results to raw results 12 for k := range r.Data { 13 result := r.Data[k] 14 results[k] = result.RawResultV2() 15 } 16 17 return results 18 }