diff --git a/pkg/analyze/host_certificate.go b/pkg/analyze/host_certificate.go index c09196f9..f0fb56a3 100644 --- a/pkg/analyze/host_certificate.go +++ b/pkg/analyze/host_certificate.go @@ -30,7 +30,7 @@ func (a *AnalyzeHostCertificate) Analyze( } const nodeBaseDir = "host-collectors/certificate" - localPath := fmt.Sprintf("%s/%s", nodeBaseDir, collectorName) + localPath := fmt.Sprintf("%s/%s.json", nodeBaseDir, collectorName) fileName := fmt.Sprintf("%s.json", collectorName) collectedContents, err := retrieveCollectedContents(