forked from p15670423/monkey
Island: Remove StolenCredentials model
This commit is contained in:
parent
a24bdd43b8
commit
5ebf0ed8f6
|
@ -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
|
||||
|
|
|
@ -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()
|
Loading…
Reference in New Issue