An IT service desk built on the Dashjoin Low Code Platform: tickets, infrastructure (datacenters, hosts, VMs,
applications), known vulnerabilities from the National Vulnerability Database (NVD) and threat intel from MITRE ATT&CK,
all in one SQLite database (itsm.db). Every page is a short JSON file in model/.
docker run -p 8080:8080 -e DJ_ADMIN_PASS=djdjdj -e DASHJOIN_HOME=dashjoin-itsm-demo -e DASHJOIN_APPURL=https://github.com/dashjoin/dashjoin-itsm-demo dashjoin/platform
Then open http://localhost:8080 and log in as admin / djdjdj.
| Where | Shows |
|---|---|
| Operations | animated html "operations center" (radar, live clock, counters, datacenter health), charts, open tickets ranked by severity, datacenter map |
| Triage | editable datagrid of unresolved tickets |
| Security | CVEs per application, exposure table with CVSS ratings, full text threat intel search across all tables |
| Infrastructure | diagram topology and a tree hierarchy of datacenters, hosts, VMs and applications |
| My tickets | self service page for requesters: "report an issue" form and their own tickets |
| record pages | Ticket ("take it" / "resolve" buttons), Application (known CVEs), Host, Datacenter (map), Software, CVE (affected applications, MITRE mentions) |
| triggers | Ticket before-create sets created time, status and reporter; before-update stamps the resolution time |
| functions | my-tickets / report-issue run as agent but are always scoped to the caller; mitre ETL loads ATT&CK relationships |
| library | cvss-rating turns a score into 🔴 critical … 🟢 low, with unit tests |
| menu and theme | role dependent side navigation and colors |
agent: reads and changes everything; home page Operationsrequester: only My tickets. Requesters have no direct access to the database: themy-ticketsandreport-issuefunctions userunas: agentand always filter by / stamp the caller's user ID, so nobody sees other people's ticketsadmin: everything, including configuration
For local testing, add users to djusers.properties / djroles.properties (see the roles-and-permissions skill), e.g.
joe=requester,authenticated.
schema.sqlanddata.sqlcreate the base tables (Datacenter, Host, Software, Application, User, Ticket) with sample datacveandvulnerabilityhold NVD data from 2023, matched to the software catalog by vendor and product namemitreis loaded from MITRE CTI relationship files inupload/ctiby themitreETL. The repository includes a small sample. For the full data set, rungit clone https://github.com/mitre/ctiinuploadand run the ETL again
Check the app with $djLint() or the page /#/page/Lint.
The app started from nothing but the SQL database. To recreate the main steps on an empty platform:
- Connect the database: on the database page create a SQL database
named
itsmwith the URLjdbc:sqlite:itsm.db. All tables and foreign keys are discovered automatically - Browse the data: open the tickets, sort them, and create a new one. User and application offer autocomplete because they are foreign keys. Search for "vmware" to find matches in several tables
- Customize a record page: on a datacenter page, add a map widget with the expression
value.address - Add a chart: on a dashboard, add a chart widget with a query that counts hosts per datacenter. Clicking a bar opens that datacenter
- Load threat intel (ETL): create an ETL function with the expression
$ls("file:upload/cti/enterprise-attack/relationship").url.$openJson($), map the columnobjectstoobjects.descriptionand name the tablemitre - Search across everything: search for CVE-2021-44228 (log4j) to see the CVE, the affected software and the MITRE campaigns that exploited it
Tutorial video: http://youtu.be/Asfp6X9cHwQ