Skip to content

Commit

Permalink
Cap asset security objective max value to 3
Browse files Browse the repository at this point in the history
For now, we only manage 4-value security objective scales.
  • Loading branch information
nas-tabchiche committed Jan 9, 2025
1 parent 3eea302 commit f277fcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1431,6 +1431,7 @@ class Type(models.TextChoices):
"value": {
"type": "integer",
"minimum": 0,
"maximum": 3,
},
"is_enabled": {
"type": "boolean",
Expand Down

0 comments on commit f277fcd

Please sign in to comment.