model

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 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
	Status          string
	StatusDetail    string
	ScanAt          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
	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 CodeDataSource

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

CodeDataSource entity

type CodeEnterpriseOrg

type CodeEnterpriseOrg struct {
	GitleaksID uint32 `gorm:"primary_key"`
	Login      string `gorm:"primary_key"`
	ProjectID  uint32
	CreatedAt  time.Time
	UpdatedAt  time.Time
}

CodeEnterpriseOrg entity

type CodeGitleaks

type CodeGitleaks struct {
	GitleaksID          uint32 `gorm:"primary_key"`
	CodeDataSourceID    uint32
	Name                string
	ProjectID           uint32
	Type                string
	BaseURL             string
	TargetResource      string
	RepositoryPattern   string
	GithubUser          string
	PersonalAccessToken string
	ScanPublic          bool
	ScanInternal        bool
	ScanPrivate         bool
	GitleaksConfig      string
	Status              string
	StatusDetail        string
	ScanAt              time.Time
	ScanSucceededAt     *time.Time
	CreatedAt           time.Time
	UpdatedAt           time.Time
}

CodeGitleaks 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
	GCPOrganizationID string `gorm:"column:gcp_organization_id"`
	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
	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
	CreatedAt         time.Time
	UpdatedAt         time.Time
}

PortscanTarget Entity

type RelOsintDataSource

type RelOsintDataSource struct {
	RelOsintDataSourceID uint32 `gorm:"primary_key"`
	OsintID              uint32
	OsintDataSourceID    uint32
	ProjectID            uint32
	Status               string
	StatusDetail         string
	ScanAt               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
	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