diff --git a/README.md b/README.md index b568d79..a6807b1 100644 --- a/README.md +++ b/README.md @@ -96,7 +96,7 @@ vectors by `persistent_storage.utils.cvss_utils`. ### What it cannot fill in A field the artifacts do not answer is written as ``, never guessed or quietly dropped. Today -that is the report and artifact ids, the manufacturer, the analysed lines of code, the language +that is the manufacturer, the analysed lines of code, the language breakdown, and the tools and profile of each pipeline stage — the metadata records that a stage ran and how long it took, not what it ran. diff --git a/report_generator/context.py b/report_generator/context.py index af56abd..4ac3e29 100644 --- a/report_generator/context.py +++ b/report_generator/context.py @@ -25,6 +25,8 @@ from typing import TYPE_CHECKING, Any from .vendor.cipherverifier.core.services.sarif import summarize_sarif from .vendor.cipherverifier.core.services.vdr import summarize_vdr +from .layout import TITLE + if TYPE_CHECKING: from .vendor.cipherverifier.core.services.sarif import Finding, SarifReport from .vendor.cipherverifier.core.services.vdr import VdrReport, Vulnerability @@ -161,13 +163,9 @@ def _cover( "subject": _stated(configuration.get("repository_name")), "footer_date": datetime.now(UTC).strftime("%d %B %Y"), "logo": "cc_logo.png", - "title": "SAST/SCA Report", + "title": TITLE, "identity": [ _fact("Scan Identifier", sources.scan_id, kind="mono"), - # Neither exists in the store today: a scan has artifacts, and a report of it is not - # itself recorded as one. - _fact("Report ID", None, kind="mono"), - _fact("Artifact ID", None, kind="mono"), _fact("Technology", ", ".join(technologies) or None), _fact("Project", configuration.get("repository_name"), gap=True), _fact("Version", configuration.get("repository_version")), diff --git a/report_generator/layout.py b/report_generator/layout.py index ee268b4..b8ed974 100644 --- a/report_generator/layout.py +++ b/report_generator/layout.py @@ -23,7 +23,7 @@ TEMPLATE_NAME = "report.html.j2" STYLESHEET = TEMPLATE_DIR / "report.css" # What the document calls itself, in the PDF's own metadata rather than only on its first page. -TITLE = "SAST/SCA Report" +TITLE = "Complete Security Findings Report" AUTHOR = "CipherCell"