diff --git a/pkg/scorecard_result.go b/pkg/scorecard_result.go index 8830dc5ccc5c..102f4e3ec0a9 100644 --- a/pkg/scorecard_result.go +++ b/pkg/scorecard_result.go @@ -314,7 +314,7 @@ func assignRawData(probeCheckName string, request *checker.CheckRequest, ret *Sc func populateRawResults(request *checker.CheckRequest, probesToRun []string, ret *ScorecardResult) error { probeCheckNames := make([]string, 0) for _, probeName := range probesToRun { - probeCheckName := probes.ProbeChecks[probeName] + probeCheckName := probes.CheckMap[probeName] if !contains(probeCheckNames, probeCheckName) { probeCheckNames = append(probeCheckNames, probeCheckName) err := assignRawData(probeCheckName, request, ret) diff --git a/probes/entries.go b/probes/entries.go index 5576ac558550..bfb1e3e05d18 100644 --- a/probes/entries.go +++ b/probes/entries.go @@ -170,7 +170,7 @@ var ( notCreatedRecently.Probe: notCreatedRecently.Run, } - ProbeChecks = map[string]string{ + CheckMap = map[string]string{ securityPolicyPresent.Probe: "Security-Policy", securityPolicyContainsLinks.Probe: "Security-Policy", securityPolicyContainsVulnerabilityDisclosure.Probe: "Security-Policy",