lib.cuckoo.core.database

Package lib :: Package cuckoo :: Package core :: Module database |
[hide private]
[frames] | no frames]

# Module database

source code

Classes | [hide private]
| Machine Configured virtual machines to be used as guests.
| Tag Tag describing anything you want.
| Guest Tracks guest run.
| Sample Submitted files details.
| Error Analysis errors.
| Task Analysis task queue.
| AlembicVersion Table used to pinpoint actual database schema release.
| Database Analysis queue database.

Variables | [hide private]
| Base = `declarative_base()`
| log = `logging.getLogger(__name__)`
| SCHEMA_VERSION = `"cd31654d187"`
| TASK_PENDING = `"pending"`
| TASK_RUNNING = `"running"`
| TASK_COMPLETED = `"completed"`
| TASK_RECOVERED = `"recovered"`
| TASK_REPORTED = `"reported"`
| TASK_FAILED_ANALYSIS = `"failed_analysis"`
| TASK_FAILED_PROCESSING = `"failed_processing"`
| TASK_FAILED_REPORTING = `"failed_reporting"`
| machines_tags = `Table("machines_tags", Base.metadata, Column("`...``
| tasks_tags = `Table("tasks_tags", Base.metadata, Column("task_i`...``

Variables Details | [hide private]

  ### machines_tags Value:
      Table("machines_tags", Base.metadata, Column("machine_id", Integer, Fo
      reignKey("machines.id")), Column("tag_id", Integer, ForeignKey("tags.i
      d")))

  ### tasks_tags Value:
      Table("tasks_tags", Base.metadata, Column("task_id", Integer, ForeignK
      ey("tasks.id")), Column("tag_id", Integer, ForeignKey("tags.id")))