model

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWS

type AWS struct {
	AWSID        uint32 `gorm:"column:aws_id"`
	Name         string
	ProjectID    uint32
	AWSAccountID string `gorm:"column:aws_account_id"`
	CreatedAt    time.Time
	UpdatedAt    time.Time
}

AWS entity

type AWSDataSource

type AWSDataSource struct {
	AWSDataSourceID uint32 `gorm:"column:aws_data_source_id"`
	DataSource      string
	MaxScore        float32
	CreatedAt       time.Time
	UpdatedAt       time.Time
}

AWSDataSource entity

type AWSRelDataSource

type AWSRelDataSource struct {
	AWSID           uint32 `gorm:"column:aws_id"`
	AWSDataSourceID uint32 `gorm:"column:aws_data_source_id"`
	ProjectID       uint32
	AssumeRoleArn   string
	ExternalID      string
	SpecificVersion string
	Status          string
	StatusDetail    string
	ScanAt          time.Time
	ErrorNotifiedAt time.Time
	CreatedAt       time.Time
	UpdatedAt       time.Time
}

AWSRelDataSource entity

type ApplicationScan

type ApplicationScan struct {
	ApplicationScanID     uint32 `gorm:"primary_key"`
	DiagnosisDataSourceID uint32
	ProjectID             uint32
	Name                  string
	ScanType              string
	Status                string
	StatusDetail          string
	ScanAt                time.Time
	ErrorNotifiedAt       *time.Time
	CreatedAt             time.Time
	UpdatedAt             time.Time
}

ApplicationScan Entity

type ApplicationScanBasicSetting

type ApplicationScanBasicSetting struct {
	ApplicationScanBasicSettingID uint32 `gorm:"primary_key"`
	ApplicationScanID             uint32
	ProjectID                     uint32
	Target                        string
	MaxDepth                      uint32
	MaxChildren                   uint32
	CreatedAt                     time.Time
	UpdatedAt                     time.Time
}

ApplicationScanBasicSetting Entity

type Azure added in v0.12.0

type Azure struct {
	AzureID          uint32 `gorm:"primary_key column:azure_id"`
	Name             string
	ProjectID        uint32
	SubscriptionID   string `gorm:"column:subscription_id"`
	VerificationCode string
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

Azure entity

type AzureDataSource added in v0.12.0

type AzureDataSource struct {
	AzureDataSourceID uint32 `gorm:"primary_key"`
	Name              string
	Description       string
	MaxScore          float32
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

AzureDataSource entity

type CodeCodeScanSetting added in v0.10.0

type CodeCodeScanSetting struct {
	CodeGitHubSettingID uint32 `gorm:"primary_key;column:code_github_setting_id"`
	CodeDataSourceID    uint32
	ProjectID           uint32
	RepositoryPattern   string
	ScanPublic          bool
	ScanInternal        bool
	ScanPrivate         bool
	Status              string
	StatusDetail        string
	ScanAt              time.Time
	ErrorNotifiedAt     time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

func (*CodeCodeScanSetting) TableName added in v0.10.0

func (c *CodeCodeScanSetting) TableName() string

type CodeDataSource

type CodeDataSource struct {
	CodeDataSourceID uint32 `gorm:"primary_key"`
	Name             string
	Description      string
	MaxScore         float32
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

CodeDataSource entity

type CodeDependencySetting added in v0.4.0

type CodeDependencySetting struct {
	CodeGitHubSettingID uint32 `gorm:"primary_key;column:code_github_setting_id"`
	CodeDataSourceID    uint32
	ProjectID           uint32
	Status              string
	StatusDetail        string
	ScanAt              time.Time
	ErrorNotifiedAt     time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

CodeDependencySetting entity

type CodeGitHubSetting added in v0.4.0

type CodeGitHubSetting struct {
	CodeGitHubSettingID uint32 `gorm:"primary_key;column:code_github_setting_id"`
	Name                string
	ProjectID           uint32
	Type                string
	BaseURL             string
	TargetResource      string
	GitHubUser          string `gorm:"column:github_user"`
	PersonalAccessToken string
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

CodeGitHubSetting entity

func (CodeGitHubSetting) TableName added in v0.4.0

func (CodeGitHubSetting) TableName() string

type CodeGitleaksCache added in v0.5.0

type CodeGitleaksCache struct {
	CodeGitHubSettingID uint32 `gorm:"column:code_github_setting_id"`
	RepositoryFullName  string
	ScanAt              time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

CodeGitleaksCashe entity

type CodeGitleaksSetting added in v0.4.0

type CodeGitleaksSetting struct {
	CodeGitHubSettingID uint32 `gorm:"primary_key;column:code_github_setting_id"`
	CodeDataSourceID    uint32
	ProjectID           uint32
	RepositoryPattern   string
	ScanPublic          bool
	ScanInternal        bool
	ScanPrivate         bool
	Status              string
	StatusDetail        string
	ScanAt              time.Time
	ErrorNotifiedAt     time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

CodeGitleaksSetting entity

type DiagnosisDataSource

type DiagnosisDataSource struct {
	DiagnosisDataSourceID uint32 `gorm:"primary_key"`
	Name                  string
	Description           string
	MaxScore              float32
	CreatedAt             time.Time
	UpdatedAt             time.Time
}

DiagnosisDataSource entity

type GCP

type GCP struct {
	GCPID            uint32 `gorm:"primary_key column:gcp_id"`
	Name             string
	ProjectID        uint32
	GCPProjectID     string `gorm:"column:gcp_project_id"`
	VerificationCode string
	CreatedAt        time.Time
	UpdatedAt        time.Time
}

GCP entity

type GCPDataSource

type GCPDataSource struct {
	GCPID              uint32 `gorm:"primary_key column:gcp_id"`
	GoogleDataSourceID uint32 `gorm:"primary_key"`
	ProjectID          uint32
	SpecificVersion    string
	Status             string
	StatusDetail       string
	ScanAt             time.Time
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

GCPDataSource entity

type GoogleDataSource

type GoogleDataSource struct {
	GoogleDataSourceID uint32 `gorm:"primary_key"`
	Name               string
	Description        string
	MaxScore           float32
	CreatedAt          time.Time
	UpdatedAt          time.Time
}

GoogleDataSource entity

type Osint

type Osint struct {
	OsintID      uint32 `gorm:"primary_key"`
	ProjectID    uint32
	ResourceType string
	ResourceName string
	CreatedAt    time.Time
	UpdatedAt    time.Time
}

Osint entity

type OsintDataSource

type OsintDataSource struct {
	OsintDataSourceID uint32 `gorm:"primary_key"`
	Name              string
	Description       string
	MaxScore          float32
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

OsintDataSource entity

type OsintDetectWord

type OsintDetectWord struct {
	OsintDetectWordID    uint32 `gorm:"primary_key"`
	RelOsintDataSourceID uint32
	Word                 string
	ProjectID            uint32
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

OsintDetectWord entity

type OsintRelatedResource

type OsintRelatedResource struct {
	OsintResourceID     uint32
	RelatedResourceName string
	RelatedResourceType string
	ScanAt              time.Time
}

OsintRelatedResource entity

type OsintResource

type OsintResource struct {
	OsintResourceID uint32 `gorm:"primary_key"`
	ResourceName    string
	ResourceType    string
	ScanAt          time.Time
	CreatedAt       time.Time
	UpdatedAt       time.Time
}

OsintResource entity

type PortscanSetting

type PortscanSetting struct {
	PortscanSettingID     uint32 `gorm:"primary_key"`
	DiagnosisDataSourceID uint32
	ProjectID             uint32
	Name                  string
	CreatedAt             time.Time
	UpdatedAt             time.Time
}

PortscanSetting Entity

type PortscanTarget

type PortscanTarget struct {
	PortscanTargetID  uint32 `gorm:"primary_key"`
	PortscanSettingID uint32
	ProjectID         uint32
	Target            string
	Status            string
	StatusDetail      string
	ScanAt            time.Time
	ErrorNotifiedAt   *time.Time
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

PortscanTarget Entity

type RelAzureDataSource added in v0.12.0

type RelAzureDataSource struct {
	AzureID           uint32 `gorm:"primary_key column:azure_id"`
	AzureDataSourceID uint32 `gorm:"primary_key"`
	ProjectID         uint32
	Status            string
	StatusDetail      string
	ScanAt            time.Time
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

RelAzureDataSource entity

type RelOsintDataSource

type RelOsintDataSource struct {
	RelOsintDataSourceID uint32 `gorm:"primary_key"`
	OsintID              uint32
	OsintDataSourceID    uint32
	ProjectID            uint32
	Status               string
	StatusDetail         string
	ScanAt               time.Time
	ErrorNotifiedAt      *time.Time
	CreatedAt            time.Time
	UpdatedAt            time.Time
}

RelOsintDataSource entity

type WpscanSetting

type WpscanSetting struct {
	WpscanSettingID       uint32 `gorm:"primary_key"`
	DiagnosisDataSourceID uint32
	ProjectID             uint32
	TargetURL             string
	Options               string
	Status                string
	StatusDetail          string
	ScanAt                time.Time
	ErrorNotifiedAt       *time.Time
	CreatedAt             time.Time
	UpdatedAt             time.Time
}

WpscanSetting Entity

Jump to

Keyboard shortcuts

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