Skip to content

Commit af39ac2

Browse files
authoredJun 24, 2018
Updated models.py to state that it is designed for academic usage and not production use
1 parent ae20616 commit af39ac2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎app_node_proj/vm_app/models.py

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class Resource(EmbeddedDocument):
2020
resource = StringField()
2121
resource_criticality = IntField()
2222
resource_type = StringField(max_length=200, choices=CHOICES["resource_type"])
23+
# EmbeddedDocumentList is not a scalable way to store findings but is used because it is an interesting academic challenge for doing updates
2324
findings = EmbeddedDocumentListField(Finding)
2425

2526
def risk_score(self):

0 commit comments

Comments
 (0)
Please sign in to comment.