Island: Remove StolenCredentials model

This commit is contained in:
Ilija Lazoroski 2022-07-15 15:27:57 +02:00
parent a24bdd43b8
commit 5ebf0ed8f6
2 changed files with 0 additions and 22 deletions

View File

@ -7,6 +7,5 @@ from .monkey import Monkey
from .monkey_ttl import MonkeyTtl
from .pba_results import PbaResults
from monkey_island.cc.models.report.report import Report
from .stolen_credentials import StolenCredentials
from .simulation import Simulation, SimulationSchema, IslandMode
from .user_credentials import UserCredentials

View File

@ -1,21 +0,0 @@
from __future__ import annotations
from mongoengine import Document, ListField, ReferenceField
from monkey_island.cc.models import Monkey
class StolenCredentials(Document):
"""
This class has 2 main section:
* The schema section defines the DB fields in the document. This is the
data of the object.
* The logic section defines complex questions we can ask about a single document
which are asked multiple times, somewhat like an API.
"""
# SCHEMA
monkey = ReferenceField(Monkey)
identities = ListField()
secrets = ListField()