MCPcopy Create free account
hub / github.com/blacklanternsecurity/bbot / Scan

Class Scan

bbot/db/sql/models.py:122–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120
121
122class Scan(BBOTBaseModel, table=True):
123 id: str = Field(primary_key=True)
124 name: str
125 status: str
126 started_at: NaiveUTC = Field(index=True)
127 finished_at: Optional[NaiveUTC] = Field(default=None, sa_column=Column(SQLADateTime, nullable=True, index=True))
128 duration_seconds: Optional[float] = Field(default=None)
129 duration: Optional[str] = Field(default=None)
130 target: dict = Field(sa_type=JSON)
131 preset: dict = Field(sa_type=JSON)
132
133
134### TARGET ###

Callers 1

handle_eventMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…