common

package
v0.0.0-...-a838a9a Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

View Source
const CVESeverityCritical = "CRITICAL"
View Source
const CVESeverityHigh = "HIGH"
View Source
const CVESeverityLow = "LOW"
View Source
const ErrorConnectingToMongoDB = "Error connecting to MongoDB"
View Source
const LogWarning = "logs warnings"
View Source
const ReturnsError = "returns an error"
View Source
const TestingCVE1Description = "Testing CVE1"
View Source
const TestingCVE1Id = "CVE-1"
View Source
const TestingCVE2Description = "Testing CVE2"
View Source
const TestingCVE2Id = "CVE-2"
View Source
const TestingCVE3Description = "Testing CVE3"
View Source
const TestingCVE3Id = "CVE-3"
View Source
const TestingCVE4Description = "Testing CVE4"
View Source
const TestingCVE4Id = "CVE-4"

Variables

This section is empty.

Functions

This section is empty.

Types

type LibrariesUtil

type LibrariesUtil struct {
	NvdNistLibrary   services.NVDNistLibraryInterface
	MongoLibrary     services.MongoLibraryInterface
	SlackLibrary     services.SlackLibraryInterface
	CSVReaderLibrary services.CSVReaderLibraryInterface
}

type NVDNistLibrary

type NVDNistLibrary struct {
	ResultsPerPage int
	BaseUrl        string
	Client         http.Client
	ApiKey         string
}

Jump to

Keyboard shortcuts

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