mirror of
https://framagit.org/framasoft/framaspace/argos.git
synced 2025-04-28 18:02:41 +02:00
812 B
812 B
description |
---|
What’s in the database? |
The data model
classDiagram
direction RL
class Task {
- url
- domain
- check
- expected
- frequency
- selected_by
- selected_at
- completed_at
- next_run
- severity
- last_severity_update
}
class Result{
- task : Task
- task_id
- agent_id
- submitted_at
- status
- severity
- context
}
class ConfigCache {
- name
- val
- updated_at
}
class User {
- username
- password
- disabled
- created_at
- updated_at
- last_login_at
}
Result "*" o-- "1" Task : has many
The severity
attribute in Task
is the severity of the last Result
submitted by an agent.
---
caption: models.py
---