1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-22 20:11:04 -05:00
bitwarden/docs/shared.models.dsl
2025-05-20 13:57:43 -07:00

83 lines
2.1 KiB
Plaintext

# Person types
user = person "Bitwarden User" "An end user of the Bitwarden System"
system_admin = person "System Admin" "Either a Bitwarden site-reliability engineer or administrator of a self-hosted instance" {
tags "Bitwarden Employee" "Self-Host Admin"
}
bw_controlled = group "Bitwarden Controlled" {
# Bitwarden staff
customer_success = person "Customer Success" "A customer success engineer. Inspects bitwarden state through the admin portal and internal tools" {
tags "Bitwarden Employee"
}
# Root systems
server = softwareSystem "Bitwarden Server" {
api = container "API" {
billing = component "Billing" {
tags "Billing"
}
tags "API"
}
events = container "Events" {
tags "Events"
}
notifications = container "Notifications"
portal = container "Bitwarden Portal" {
tags "Web"
}
events_processor = container "Events Processor" {
tags "Events"
}
# Data stores
database = container "Database" {
tags "Database"
}
events_queue = container "Events Queue" {
tags "Queue"
tags "Azure"
}
mail_queue = container "Mail Queue" {
tags "Queue"
tags "Azure"
}
notifications_queue = container "Notifications Queue" {
tags "Queue"
tags "Azure"
}
}
clients = softwareSystem "Clients" {
web = container "Web Application" {
tags "Web"
}
ios = container "iOS Application" {
tags "Mobile"
}
android = container "Android Application" {
tags "Mobile"
}
browser_extension = container "Browser Extension" {
tags "Browser"
}
cli = container "CLI" {
tags "CLI"
}
desktop = container "Desktop Application" {
tags "Desktop"
}
}
directory_connector = softwareSystem "Directory Connector" {
tags "Directory"
tags "LDAP"
tags "Self-Hosted"
}
key_connector = softwareSystem "Key Connector"
}
self_hosted_instances = softwareSystem "Self-Hosted Instances" {
tags "Self-Hosted"
tags "External"
description "Self-hosted instances of Bitwarden servers"
}