How remimatteo/security-setup-automation works
Security Setup Automation is a Flask web app for turning a CUSIP or ticker into a reviewed security-master submission. The workflow runs from browser lookup through OpenFIGI matching, asset-class enrichment and editable review, then submission and SQLite audit logging. The registry, dashboard and CSV export expose stored submission history. The graph follows the sampled route and service calls; README-described UI and reporting capabilities are included, but their unsampled implementation links are not inferred beyond documented workflow.
Main entry points: app.py API routes · app.js Lookup and review UI · enrichment.py Security enrichment · database.py Submission persistence
Components 15
Web workflow
- Lookup and review UI
static/js/app.js - Application page
templates/index.html - API routes
app.py
Lookup and enrichment
- OpenFIGI
- Identifier lookup
services/cusip_lookup.py - Security enrichment
services/enrichment.py - Bond profile fields
services/enrichment.py - Equity profile fields
services/enrichment.py
Submission and audit
- Security Master submission
services/vendor.py - Submission persistence
db/database.py - SQLite database
config.py
Registry and reporting
- Searchable registry
static/js/app.js - Dashboard statistics
static/js/app.js - CSV export
app.py
Other components
- Operations user
Connections 18
- Operations user → Lookup and review UI: uses
README.md - Lookup and review UI → API routes: calls lookup API
static/js/app.js - API routes → Identifier lookup: dispatches lookup
app.py - Identifier lookup → OpenFIGI: queries
services/cusip_lookup.py - API routes → Security enrichment: enriches result
app.py - Security enrichment → Bond profile fields: builds bond fields
services/enrichment.py - Security enrichment → Equity profile fields: builds equity fields
services/enrichment.py - API routes → Security Master submission: submits security
app.py - API routes → Submission persistence: saves submission
app.py - Submission persistence → SQLite database: reads and writes
db/database.py - Lookup and review UI → Searchable registry: loads history
static/js/app.js - Searchable registry → API routes: requests submissions
static/js/app.js - Lookup and review UI → Dashboard statistics: loads stats
static/js/app.js - Dashboard statistics → API routes: requests statistics
static/js/app.js - API routes → Submission persistence: queries history
app.py - API routes → CSV export: exports CSV
app.py - Operations user → Application page: opens app
README.md - Application page → Lookup and review UI: presents workflow