Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildConfiguration ¶
type EngineStatus ¶
type Finding ¶
type Finding struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"description"` Location string `json:"location"` Severity string `json:"severity"` Category string `json:"category"` OsiLayer string `json:"osi_layer"` Hint string `json:"hint"` Reference Reference `json:"reference"` Attributes map[string]interface{} `json:"attributes"` }
type JobFailure ¶
type ScannerConfiguration ¶
type ScannerScaffolding ¶
type ScannerScaffolding struct { ScannerId string ScannerType string TaskName string EngineUrl string Jobs chan ScanJob Results chan JobResult Failures chan JobFailure StartedAt time.Time InitialTestRun TestRun TaskStatus *TaskStatus EngineStatus *EngineStatus }
func CreateJobConnection ¶
func CreateJobConnection(configuration ScannerConfiguration) ScannerScaffolding
func (*ScannerScaffolding) StartStatusServer ¶
func (scanner *ScannerScaffolding) StartStatusServer()
type ScannerStatus ¶
type ScannerStatus struct { StartedAt time.Time `json:"started_at"` WorkerId string `json:"worker_id"` Healthcheck string `json:"healthcheck"` TaskStatus TaskStatus `json:"status"` EngineStatus EngineStatus `json:"engine"` ScannerStatus TestRun `json:"scanner"` BuildConfiguration BuildConfiguration `json:"build"` }
type TaskStatus ¶
Click to show internal directories.
Click to hide internal directories.