Skip to content

Commit

Permalink
create report template
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorwalton committed Jul 14, 2023
1 parent f86bad5 commit 4a14543
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/app/services/smtp/create_report.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# from app.services.WazuhIndexer.alerts import AlertsService
# from loguru import logger
from reportlab.lib.pagesizes import letter
from reportlab.pdfgen import canvas


def create_pdf():
# service = AlertsService()
# alerts = service.collect_alerts()
# logger.info(alerts)
c = canvas.Canvas("report.pdf", pagesize=letter)
width, height = letter
c.setFont("Helvetica", 24)
Expand Down
Binary file modified backend/report.pdf
Binary file not shown.

0 comments on commit 4a14543

Please sign in to comment.