Skip to main content

Professional report generation for the Klyrek ecosystem

Project description

klyrek-report

Turns a klyrek_core.models.ScanResult — everything the rest of the ecosystem accumulated — into an actual report, in three formats:

  • render_markdown — a Markdown report (executive summary, findings grouped by severity, technology/endpoint tables). Renders cleanly on GitHub/GitLab or in any editor.
  • render_json — the full ScanResult as JSON, for klyrek-dashboard or other tooling to consume.
  • render_html — a self-contained, styled HTML report. All target-derived content (finding titles, evidence, endpoint URLs) is HTML-escaped before embedding, since that content ultimately came from the site being scanned and should never be trusted to render as raw HTML in a report someone opens in a browser.

remediation.remediation_for(title) maps the finding titles Klyrek's own detectors (klyrek-headers, klyrek-js, klyrek-assets, ...) produce to generic remediation guidance — a fixed, curated lookup, not an open-ended knowledge base.

from klyrek_report.markdown import render_markdown
from klyrek_report.html import render_html
from klyrek_report.json_export import render_json

report_md = render_markdown(scan_result)
report_html = render_html(scan_result)
report_json = render_json(scan_result)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

klyrek_report-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

klyrek_report-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file klyrek_report-0.1.0.tar.gz.

File metadata

  • Download URL: klyrek_report-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for klyrek_report-0.1.0.tar.gz
Algorithm Hash digest
SHA256 482d6a9bb01152bb65d56e1b33b9505e6df314135e374d04da2cbf4807428e37
MD5 23d28bb8ecd7f694e1c7f51a878e8c46
BLAKE2b-256 b96cbe49cd95c64c927767a810597e5c504b416eb64e1388013458e4567afe87

See more details on using hashes here.

File details

Details for the file klyrek_report-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: klyrek_report-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for klyrek_report-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e1b2af8731e29e02e2114c540ec6cffb266e1ba93ed48f80a6a6cb2eec803284
MD5 8fe4c3ff1e8209a44275ae39728615cc
BLAKE2b-256 7fa23d9131fc9ec24c603742bdbffcf19f828dca49a50640df012755b08a5e00

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page