diff --git a/internal/wrappers/results-summary.go b/internal/wrappers/results-summary.go index f20613c00..53ccea5cc 100644 --- a/internal/wrappers/results-summary.go +++ b/internal/wrappers/results-summary.go @@ -68,19 +68,6 @@ func (r *ResultSummary) getRiskFromAPISecurity(origin string) *riskDistribution return nil } -func (r *ResultSummary) HasAPISecurityDocumentation() bool { - riskAPIDocumentation := r.getRiskFromAPISecurity("documentation") - return riskAPIDocumentation != nil -} - -func (r *ResultSummary) GetAPISecurityDocumentationTotal() int { - riskAPIDocumentation := r.getRiskFromAPISecurity("documentation") - if riskAPIDocumentation != nil { - return riskAPIDocumentation.Total - } - return -1 -} - func (r *ResultSummary) HasPolicies() bool { return r.Policies != nil && len(r.Policies.Polices) > 0 }