Remove the scan information section
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b380c736c9
commit
9d78e9edf4
5 files changed
+6
-184
No files matched your search
@@ -97,108 +97,6 @@ def _cover() -> dict[str, Any]:
|
||||
}
|
||||
|
||||
|
||||
def _scan() -> dict[str, Any]:
|
||||
"""What the pipeline did, stage by stage, and what each stage was configured with."""
|
||||
return {
|
||||
"title": "CipherCell Scan Information",
|
||||
"overview": [
|
||||
_fact("Scan started at", "Wednesday, September 16, 2026 05:43:14 (UTC)"),
|
||||
_fact("Scan duration", "07:30:38"),
|
||||
_fact("Scan completed at", "Wednesday, September 16, 2026 13:13:52 (UTC)"),
|
||||
_fact(
|
||||
"Pipeline Steps",
|
||||
"Preanalysis, SAST, SBOM Dependency Tracking, SBOM Reachability, AI FP Detection, AI Ranking",
|
||||
),
|
||||
_fact("Errors Detected", "None (2 warnings, see SBOM Reachability)"),
|
||||
],
|
||||
"stages": [
|
||||
{
|
||||
"title": "Pre-Analysis Settings",
|
||||
"rows": [
|
||||
_fact("Selected Tools", "Propylon v0.9.4"),
|
||||
_fact("Profile", "deterministic"),
|
||||
_fact("Errors Detected", "None"),
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": "SAST Settings",
|
||||
"rows": [
|
||||
_fact("Selected Tools", "ruff v0.14.4, bandit v1.8.6, cppcheck v2.18.0, semgrep v1.145.0"),
|
||||
_fact("Language Coverage", "C (cppcheck, semgrep), Python (ruff, bandit, semgrep)"),
|
||||
_fact("Rule Profile", "security — ruleset ciphercell-sec-2026.03, sha256 8f2b41c6…d97a"),
|
||||
_fact("Deduplication Method", "Deterministic"),
|
||||
_fact("Created Artifacts", "sast_combined.sarif", kind="mono"),
|
||||
_fact("Errors Detected", "None"),
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": "SBOM Dependency Tracking Settings",
|
||||
"rows": [
|
||||
_fact("Selected Tools", "syft v1.33.0, cdxgen v11.10.0, deptrace v0.7.2"),
|
||||
_fact("Profile", "Standard SBOM"),
|
||||
_fact("SBOM Format", "CycloneDX 1.6"),
|
||||
_fact("Advisory Sources", "NVD, OSV.dev, GitHub Advisory Database, Sonatype OSS Index"),
|
||||
_fact("Created Artifacts", "sbom.cdx.json, sbom.vdr.json", kind="mono"),
|
||||
_fact("Errors Detected", "None"),
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": "SBOM Reachability",
|
||||
"rows": [
|
||||
_fact("Selected Tools", "CodeQL v2.24.1, Joern v4.0.312"),
|
||||
_fact("Profile", "Default Taint Analysis"),
|
||||
_fact("Created Artifacts", "sbom_annotated.vdr.json", kind="mono"),
|
||||
_fact("Errors Detected", "2 warnings"),
|
||||
],
|
||||
"table": {
|
||||
"columns": ["ID", "Stage", "Warning"],
|
||||
"rows": [
|
||||
{
|
||||
"cells": [
|
||||
"W-01",
|
||||
"Joern, JavaScript",
|
||||
"2 of 148 entry points could not be resolved (dynamic require() in "
|
||||
"server/plugins/loader.js:41). The 6 findings depending on these entry points "
|
||||
"were escalated and are reported conservatively as true issues.",
|
||||
]
|
||||
},
|
||||
{
|
||||
"cells": [
|
||||
"W-02",
|
||||
"CodeQL, C",
|
||||
"Database build skipped for vendored sources under third_party/; excluded by "
|
||||
"scan scope, no reachability verdict is claimed for those paths.",
|
||||
]
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
"title": "AI FP Detection",
|
||||
"rows": [
|
||||
_fact("Selected Tools", "Polygraph v1.6.2"),
|
||||
_fact("Profile", "static and escalation agent"),
|
||||
_fact("AI Model", "Qwen3-32B, digest sha256:4ab1…c70f"),
|
||||
_fact("Inference", "On-premise, CipherCell inference cluster"),
|
||||
_fact("Reasoning Effort", "Default (classification), Default (escalation)"),
|
||||
_fact("Response Cache", "Enabled"),
|
||||
_fact("Context Enrichment", "Static (50 lines before, 50 lines after)"),
|
||||
_fact("Errors Detected", "None"),
|
||||
],
|
||||
},
|
||||
{
|
||||
"title": "Ranking",
|
||||
"rows": [
|
||||
_fact("Selected Tools", "Prism v0.4.1"),
|
||||
_fact("Effort", "Standard"),
|
||||
_fact("Context Size", "Minimal"),
|
||||
_fact("Errors Detected", "None"),
|
||||
],
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
def _project() -> dict[str, Any]:
|
||||
"""What was scanned, and what it is written in."""
|
||||
return {
|
||||
@@ -517,7 +415,6 @@ def sample_context() -> dict[str, Any]:
|
||||
"""A complete context, covering every section the template can draw."""
|
||||
return {
|
||||
"cover": _cover(),
|
||||
"scan": _scan(),
|
||||
"project": _project(),
|
||||
"summary": _summary(),
|
||||
"critical": _critical(),
|
||||
|
||||
Reference in new issue
Block a user