-
Notifications
You must be signed in to change notification settings - Fork 59
Heimdall Class Diagrams
George M. Dias edited this page Feb 18, 2024
·
5 revisions
Database ERD
Tables
Evaluations
Table schema
Name | Data Type | Precision | Not NULL | Primary Key | Default | Notes |
---|---|---|---|---|---|---|
id | bigint | true | true | nextval('"Evaluations_id_seq"'::regclass) | ||
userId | bigint | false | *either userId or groupId must be set | |||
groupId | bigint | false | *either groupId or userId must be set | |||
evaluationTagId | bigint | false | field is not used, when an evaluation is added to the database and entry is added to the EvaluationTags table | |||
public | boolean | true | false | |||
filename | character varying | 255 | true | |||
data | json | true | ||||
createdAt | timestamp with time zone | true | ||||
updatedAt | timestamp with time zone | true |
NOTE (*): An evaluation is either uploaded by a user or a group (via API key, or directly loading the scan into the application). Group evaluations can only be uploaded vi API.
SQL Script
CREATE TABLE public."Evaluations"(
id bigserial NOT NULL,
"userId" bigint,
"groupId" bigint,
"evaluationTagId" bigint,
public boolean NOT NULL DEFAULT false,
filename character varying(255) NOT NULL,
"data" json NOT NULL,
"createdAt" timestamp with time zone NOT NULL,
"updatedAt" timestamp with time zone NOT NULL,
CONSTRAINT "Evaluations_pkey" PRIMARY KEY(id)
);
COMMENT ON TABLE public."Evaluations" IS 'Evaluations attributes table';
Backend
Frontend
Helping the overall cybersecurity strength of organizations.
- Home
- How to create a release
- Environment Variables Configuration
- Heimdall Authentication Methods
- Heimdall API Documentation
- Group and User Management
- Heimdall Interface Connections
- Heimdall Architecture Information
- Heimdall Class Diagrams
- Heimdall Development Tips & Tricks
- Heimdall Frontend Components
- Heimdall Processes Documentation
- Heimdall Heroku Documentation
- Developers Code Style
- Troubleshooting
- HDF Converter Mappings
- HDF Converters How Tos
- Manual Attestations
- Control Correlation Identifier (CCI) Converter