# s-shanthosh/lectra architecture

> Architecture diagram of the GitHub repository s-shanthosh/lectra, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/s-shanthosh/lectra
- Repository: https://github.com/s-shanthosh/lectra

## Overview

This repository is a collection of operational reporting tools, with sampled Python workflows for WAF-log reporting and Jira incident tracking. Users provide spreadsheet data; the scripts transform and deduplicate it into management reports. The tree also indicates WAF and unhandled-incident web/JavaScript areas, but their behavior and connections are not established by the available excerpts, so they are shown as unverified subsystems without invented links.

Main entry points: [`WAF/Python/Waf.py`](https://github.com/s-shanthosh/lectra/blob/main/WAF/Python/Waf.py) (WAF report generator), [`TicketTracker/Python/TicketTracker.py`](https://github.com/s-shanthosh/lectra/blob/main/TicketTracker/Python/TicketTracker.py) (Ticket tracker)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_waf["WAF Reporting"]
  node_waf_workbook[("WAF workbook")]
  node_waf_report["WAF report generator<br/>[Waf.py]"]
  node_waf_views["WAF web views"]
  node_waf_rule_sheets["WAF rule workflows"]
end

subgraph group_tickets["Ticket Tracking"]
  node_ticket_workbook[("Ticket workbook")]
  node_ticket_tracker["Ticket tracker<br/>[TicketTracker.py]"]
  node_ticket_view["Incident view"]
end

subgraph group_other["Other Operations"]
  node_alb_ops["ALB operations"]
  node_unhandled_ops["Unhandled incident tools"]
  node_unhandled_readme["Unhandled tool notes"]
end

node_waf_user(("WAF operator"))
node_ticket_user(("Ticket operator"))

node_waf_user -->|"supplies raw logs"| node_waf_workbook
node_waf_report -->|"updates sheets"| node_waf_workbook
node_ticket_user -->|"pastes Jira export"| node_ticket_workbook
node_ticket_tracker -->|"updates incidents"| node_ticket_workbook

click node_waf_report "https://github.com/s-shanthosh/lectra/blob/main/WAF/Python/Waf.py"
click node_waf_views "https://github.com/s-shanthosh/lectra/tree/main/WAF/HTML"
click node_waf_rule_sheets "https://github.com/s-shanthosh/lectra/tree/main/WAF/Javascript"
click node_alb_ops "https://github.com/s-shanthosh/lectra/blob/main/Others/ALB"
click node_ticket_tracker "https://github.com/s-shanthosh/lectra/blob/main/TicketTracker/Python/TicketTracker.py"
click node_ticket_view "https://github.com/s-shanthosh/lectra/tree/main/TicketTracker/HTML"
click node_unhandled_ops "https://github.com/s-shanthosh/lectra/tree/main/Unhandled/Javascript"
click node_unhandled_readme "https://github.com/s-shanthosh/lectra/blob/main/Unhandled/Javascript/unhandled_READme.MD"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_waf_workbook,node_waf_report,node_waf_views,node_waf_rule_sheets toneBlue
class node_ticket_workbook,node_ticket_tracker,node_ticket_view toneAmber
class node_alb_ops,node_unhandled_ops,node_unhandled_readme toneMint
class node_waf_user,node_ticket_user toneIndigo
```

## Components

### WAF Reporting

- **WAF workbook**
- [WAF report generator](https://github.com/s-shanthosh/lectra/blob/main/WAF/Python/Waf.py): `WAF/Python/Waf.py`
- [WAF web views](https://github.com/s-shanthosh/lectra/tree/main/WAF/HTML): `WAF/HTML`
- [WAF rule workflows](https://github.com/s-shanthosh/lectra/tree/main/WAF/Javascript): `WAF/Javascript`

### Ticket Tracking

- **Ticket workbook**
- [Ticket tracker](https://github.com/s-shanthosh/lectra/blob/main/TicketTracker/Python/TicketTracker.py): `TicketTracker/Python/TicketTracker.py`
- [Incident view](https://github.com/s-shanthosh/lectra/tree/main/TicketTracker/HTML): `TicketTracker/HTML`

### Other Operations

- [ALB operations](https://github.com/s-shanthosh/lectra/blob/main/Others/ALB): `Others/ALB`
- [Unhandled incident tools](https://github.com/s-shanthosh/lectra/tree/main/Unhandled/Javascript): `Unhandled/Javascript`
- [Unhandled tool notes](https://github.com/s-shanthosh/lectra/blob/main/Unhandled/Javascript/unhandled_READme.MD): `Unhandled/Javascript/unhandled_READme.MD`

### Other components

- **WAF operator**
- **Ticket operator**

## Connections

- WAF operator → WAF workbook: supplies raw logs
- WAF report generator → WAF workbook: updates sheets (evidence: `WAF/Python/Waf.py`)
- Ticket operator → Ticket workbook: pastes Jira export
- Ticket tracker → Ticket workbook: updates incidents (evidence: `TicketTracker/Python/TicketTracker.py`)
