dto

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2020 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	VulnerabilityID uuid.UUID                      `json:"vulnerabilityID"`
	Type            horusecEnums.VulnerabilityType `json:"type"`
	VulnHash        string                         `json:"vulnHash"`
	Line            string                         `json:"line"`
	Column          string                         `json:"column"`
	Confidence      string                         `json:"confidence"`
	File            string                         `json:"file"`
	Code            string                         `json:"code"`
	Details         string                         `json:"details"`
	SecurityTool    tools.Tool                     `json:"securityTool"`
	Language        languages.Language             `json:"language"`
	Severity        severity.Severity              `json:"severity"`
}

type UpdateVulnType

type UpdateVulnType struct {
	Type horusecEnums.VulnerabilityType `json:"type"`
}

func (*UpdateVulnType) ToBytes added in v1.2.0

func (u *UpdateVulnType) ToBytes() []byte

func (UpdateVulnType) TypeValues

func (u UpdateVulnType) TypeValues() []interface{}

func (*UpdateVulnType) Validate

func (u *UpdateVulnType) Validate() error

type VulnManagement

type VulnManagement struct {
	TotalItems int    `json:"totalItems"`
	Data       []Data `json:"data"`
}

Jump to

Keyboard shortcuts

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