diff --git a/src/detect/reporting.ts b/src/detect/reporting.ts index 5c62d91..c29bed1 100644 --- a/src/detect/reporting.ts +++ b/src/detect/reporting.ts @@ -6,10 +6,10 @@ export const TABLE_HEADER = '| Policies Violated | Dependency | License(s) | Vul export async function createRapidScanReportString(policyViolations: IRapidScanResults[], policyCheckWillFail: boolean): Promise { let message = '' if (policyViolations.length == 0) { - message = message.concat('# :white_check_mark: None of your dependencies violate policy!') + message = message.concat('# :white_check_mark: None of your dependencies violate your Black Duck policies!') } else { const violationSymbol = policyCheckWillFail ? ':x:' : ':warning:' - message = message.concat(`# ${violationSymbol} Found dependencies violating policy!\r\n\r\n`) + message = message.concat(`# ${violationSymbol} Found dependencies violating your Black Duck policy!\r\n\r\n`) const componentReports = await createRapidScanReport(policyViolations) const tableBody = componentReports.map(componentReport => createComponentRow(componentReport)).join('\r\n')