model

package
v0.0.0-...-0579e20 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finding

type Finding struct {
	FindingID     uint64 `gorm:"primary_key"`
	Description   string
	DataSource    string
	DataSourceID  string
	ResourceName  string
	ProjectID     uint32
	OriginalScore float32
	Score         float32
	Data          string
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

Finding entity model

type FindingSetting

type FindingSetting struct {
	FindingSettingID uint32 `gorm:"primary_key"`
	ProjectID        uint32
	ResourceName     string
	Setting          string
	Status           string
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

FindingSetting entity model

type FindingTag

type FindingTag struct {
	FindingTagID uint64 `gorm:"primary_key"`
	FindingID    uint64
	ProjectID    uint32
	Tag          string
	CreatedAt    time.Time
	UpdatedAt    time.Time
}

FindingTag entity model

type PendFinding

type PendFinding struct {
	FindingID uint64 `gorm:"primary_key"`
	ProjectID uint32
	Note      string
	CreatedAt time.Time
	UpdatedAt time.Time
}

PendFinding entity model

type Recommend

type Recommend struct {
	RecommendID    uint32 `gorm:"primary_key"`
	DataSource     string
	Type           string
	Risk           string
	Recommendation string
	CreatedAt      time.Time
	UpdatedAt      time.Time
}

Recommend entity model

type RecommendFinding

type RecommendFinding struct {
	FindingID   uint64 `gorm:"primary_key"`
	RecommendID uint32
	ProjectID   uint32
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

RecommendFinding entity model

type Resource

type Resource struct {
	ResourceID   uint64 `gorm:"primary_key"`
	ResourceName string
	ProjectID    uint32
	CreatedAt    time.Time
	UpdatedAt    time.Time
}

Resource entity model

type ResourceTag

type ResourceTag struct {
	ResourceTagID uint64 `gorm:"primary_key"`
	ResourceID    uint64
	ProjectID     uint32
	Tag           string
	CreatedAt     time.Time
	UpdatedAt     time.Time
}

ResourceTag entity model

Jump to

Keyboard shortcuts

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