assets_guardian.core.domain.ports.pdf_buildersο
Classes
Contract that each plugin implements to render its section in the PDF audit report. |
- class assets_guardian.core.domain.ports.pdf_builders.IPDFBuilder[source]ο
Bases:
ABCContract that each plugin implements to render its section in the PDF audit report.
- abstractmethod render(pdf: Any, findings: Iterable[Finding]) None[source]ο
Renders the PDF section for this source.
- Parameters:
pdf β The PDF object currently being built (FPDF or equivalent).
findings β List of Finding elements filtered for this source, already grouped by severity by the calling PDFWriter.
- abstract property section_title: strο
Title of the section in the PDF report. E.g., βGitLab - gitlab.comβ
- abstract property source_name: strο
Name of the source (βgitlabβ, βm365β, βdolibarrβ).