# asbaek/openisms architecture

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

- Interactive diagram: https://gitdiagram.com/asbaek/openisms
- Repository: https://github.com/asbaek/openisms

## Overview

Openisms is a Flask-based information-security management and risk-assessment application. Its apparent workflow is to manage processes, assets, threats, controls, and risk relationships, then analyse risks and produce process reports. The tree also shows alignment, statement-of-applicability, assessment, deliverable, and risk-acceptance views. The sampled monolith confirms JSON-backed data handling and report rendering, but its excerpts do not show route registration or map the data constants to exact files; those connections are therefore omitted. Some capabilities are identifiable only from template names.

Main entry points: [`openisms.py`](https://github.com/asbaek/openisms/blob/master/openisms.py) (Assessment logic), [`templates/report_process.html`](https://github.com/asbaek/openisms/blob/master/templates/report_process.html) (Process report)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Application logic"]
  node_core["Assessment logic<br/>[openisms.py]"]
end

subgraph group_data["Assessment data"]
  node_assessment_data[("Assessment records<br/>[data.json]")]
  node_assessment_schema["Assessment schema<br/>[schema.json]"]
  node_control_library["Control library"]
  node_deliverables_data["Deliverable definitions<br/>[deliverables.json]"]
end

subgraph group_views["User-facing views"]
  node_process_analysis["Process analysis"]
  node_process_report["Process report"]
  node_risk_report["Risk report<br/>[risk_report.html]"]
  node_risk_acceptance["Risk acceptance"]
  node_alignment["Alignment<br/>[alignment.html]"]
  node_controls_soa["Controls SoA<br/>[controls_soa.html]"]
  node_assessments_view["Assessments<br/>[assessments.html]"]
  node_deliverables_view["Deliverables<br/>[deliverables.html]"]
  node_reports_view["Reports<br/>[reports.html]"]
end

node_user(("User"))

node_core -->|"renders"| node_process_report

click node_core "https://github.com/asbaek/openisms/blob/master/openisms.py"
click node_process_analysis "https://github.com/asbaek/openisms/blob/master/templates/analyse_process.html"
click node_process_report "https://github.com/asbaek/openisms/blob/master/templates/report_process.html"
click node_risk_report "https://github.com/asbaek/openisms/blob/master/templates/risk_report.html"
click node_risk_acceptance "https://github.com/asbaek/openisms/blob/master/templates/risk_acceptance.html"
click node_alignment "https://github.com/asbaek/openisms/blob/master/templates/alignment.html"
click node_controls_soa "https://github.com/asbaek/openisms/blob/master/templates/controls_soa.html"
click node_assessments_view "https://github.com/asbaek/openisms/blob/master/templates/assessments.html"
click node_deliverables_view "https://github.com/asbaek/openisms/blob/master/templates/deliverables.html"
click node_reports_view "https://github.com/asbaek/openisms/blob/master/templates/reports.html"
click node_assessment_data "https://github.com/asbaek/openisms/blob/master/assessments/data.json"
click node_assessment_schema "https://github.com/asbaek/openisms/blob/master/assessments/schema.json"
click node_control_library "https://github.com/asbaek/openisms/blob/master/assessments/control_library.json"
click node_deliverables_data "https://github.com/asbaek/openisms/blob/master/assessments/deliverables.json"

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_core,node_user toneBlue
class node_assessment_data,node_assessment_schema,node_control_library,node_deliverables_data toneAmber
class node_process_analysis,node_process_report,node_risk_report,node_risk_acceptance,node_alignment,node_controls_soa,node_assessments_view,node_deliverables_view,node_reports_view toneMint
```

## Components

### Application logic

- [Assessment logic](https://github.com/asbaek/openisms/blob/master/openisms.py): `openisms.py`

### Assessment data

- [Assessment records](https://github.com/asbaek/openisms/blob/master/assessments/data.json): `assessments/data.json`
- [Assessment schema](https://github.com/asbaek/openisms/blob/master/assessments/schema.json): `assessments/schema.json`
- [Control library](https://github.com/asbaek/openisms/blob/master/assessments/control_library.json): `assessments/control_library.json`
- [Deliverable definitions](https://github.com/asbaek/openisms/blob/master/assessments/deliverables.json): `assessments/deliverables.json`

### User-facing views

- [Process analysis](https://github.com/asbaek/openisms/blob/master/templates/analyse_process.html): `templates/analyse_process.html`
- [Process report](https://github.com/asbaek/openisms/blob/master/templates/report_process.html): `templates/report_process.html`
- [Risk report](https://github.com/asbaek/openisms/blob/master/templates/risk_report.html): `templates/risk_report.html`
- [Risk acceptance](https://github.com/asbaek/openisms/blob/master/templates/risk_acceptance.html): `templates/risk_acceptance.html`
- [Alignment](https://github.com/asbaek/openisms/blob/master/templates/alignment.html): `templates/alignment.html`
- [Controls SoA](https://github.com/asbaek/openisms/blob/master/templates/controls_soa.html): `templates/controls_soa.html`
- [Assessments](https://github.com/asbaek/openisms/blob/master/templates/assessments.html): `templates/assessments.html`
- [Deliverables](https://github.com/asbaek/openisms/blob/master/templates/deliverables.html): `templates/deliverables.html`
- [Reports](https://github.com/asbaek/openisms/blob/master/templates/reports.html): `templates/reports.html`

### Other components

- **User**

## Connections

- Assessment logic → Process report: renders (evidence: `openisms.py`)
