model

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Overview

Package model represents the data model for vulcan-tracker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindingTicket

type FindingTicket struct {
	ID         string `json:"id" db:"id"`
	FindingID  string `json:"finding_id" db:"finding_id"`
	TeamID     string `json:"team_id" db:"team_id"`
	URLTracker string `json:"url_tracker" db:"url_tracker"`
}

FindingTicket represents a ticket for a finding and a team.

type ProjectConfig

type ProjectConfig struct {
	ID                     string `db:"id"`
	Name                   string `db:"name"`
	TeamID                 string `db:"team_id"`
	TrackerConfigID        string `db:"tracker_configuration_id"`
	Project                string `db:"project"`
	VulnerabilityIssueType string `db:"issue_type"`
}

ProjectConfig represents the configuration of a team.

type Ticket

type Ticket struct {
	ID          string   `json:"id"`
	Key         string   `json:"key"`
	TeamID      string   `json:"team_id"`
	FindingID   string   `json:"finding_id"`
	Summary     string   `json:"summary"`
	Description string   `json:"description"`
	Project     string   `json:"project"`
	Status      string   `json:"status"`
	TicketType  string   `json:"ticket_type"`
	Resolution  string   `json:"resolution"`
	Labels      []string `json:"labels"`
	URLTracker  string   `json:"url_tracker"`
}

Ticket represents a vulnerability in a ticket tracker.

type TrackerConfig

type TrackerConfig struct {
	ID    string `db:"id"`
	Name  string `db:"name"`
	URL   string `db:"url"`
	Token string
}

TrackerConfig represents the configuration of a ticket tracker server.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL