SYMBOL INDEX (1641 symbols across 171 files) FILE: cache/bolt.go type Bolt (line 16) | type Bolt struct method Close (line 44) | func (b Bolt) Close() error { method createBucketIfNotExists (line 52) | func (b *Bolt) createBucketIfNotExists(name string) error { method GetMeta (line 63) | func (b Bolt) GetMeta(serverName string) (meta Meta, found bool, err e... method RefreshMeta (line 81) | func (b Bolt) RefreshMeta(meta Meta) error { method EnsureBuckets (line 98) | func (b Bolt) EnsureBuckets(meta Meta) error { method PrettyPrint (line 129) | func (b Bolt) PrettyPrint(meta Meta) error { method GetChangelog (line 146) | func (b Bolt) GetChangelog(servername, packName string) (changelog str... method PutChangelog (line 164) | func (b Bolt) PutChangelog(servername, packName, changelog string) err... function SetupBolt (line 23) | func SetupBolt(path string, l logging.Logger) error { FILE: cache/bolt_test.go constant path (line 15) | path = "/tmp/vuls-test-cache-11111111.db" constant servername (line 16) | servername = "server1" function TestSetupBolt (line 32) | func TestSetupBolt(t *testing.T) { function TestEnsureBuckets (line 59) | func TestEnsureBuckets(t *testing.T) { function TestPutGetChangelog (line 99) | func TestPutGetChangelog(t *testing.T) { FILE: cache/db.go constant metabucket (line 13) | metabucket = "changelog-meta" type Cache (line 16) | type Cache interface type Meta (line 28) | type Meta struct FILE: cmd/scanner/main.go function main (line 15) | func main() { FILE: cmd/vuls/main.go function main (line 15) | func main() { FILE: config/awsconf.go type AWSConf (line 12) | type AWSConf struct method Validate (line 50) | func (c *AWSConf) Validate() (errs []error) { type CredentialProviderType (line 42) | type CredentialProviderType constant CredentialProviderAnonymous (line 46) | CredentialProviderAnonymous CredentialProviderType = "anonymous" FILE: config/azureconf.go type AzureConf (line 11) | type AzureConf struct method Validate (line 33) | func (c *AzureConf) Validate() (errs []error) { constant azureAccount (line 28) | azureAccount = "AZURE_STORAGE_ACCOUNT" constant azureKey (line 29) | azureKey = "AZURE_STORAGE_ACCESS_KEY" FILE: config/chatworkconf.go type ChatWorkConf (line 9) | type ChatWorkConf struct method Validate (line 16) | func (c *ChatWorkConf) Validate() (errs []error) { FILE: config/config.go type Config (line 27) | type Config struct method ValidateOnConfigtest (line 100) | func (c Config) ValidateOnConfigtest() bool { method ValidateOnScan (line 112) | func (c Config) ValidateOnScan() bool { method checkSSHKeyExist (line 143) | func (c Config) checkSSHKeyExist() (errs []error) { method ValidateOnReport (line 159) | func (c *Config) ValidateOnReport() bool { method ValidateOnSaaS (line 214) | func (c Config) ValidateOnSaaS() bool { type ReportConf (line 65) | type ReportConf interface type ScanOpts (line 70) | type ScanOpts struct type ReportOpts (line 75) | type ReportOpts struct type TrivyOpts (line 91) | type TrivyOpts struct type WpScanConf (line 223) | type WpScanConf struct type ServerInfo (line 229) | type ServerInfo struct method GetServerName (line 305) | func (s ServerInfo) GetServerName() string { method IsContainer (line 347) | func (s ServerInfo) IsContainer() bool { method SetContainer (line 352) | func (s *ServerInfo) SetContainer(d Container) { type ContainerSetting (line 277) | type ContainerSetting struct type WordPressConf (line 285) | type WordPressConf struct method IsZero (line 293) | func (cnf WordPressConf) IsZero() bool { type GitHubConf (line 298) | type GitHubConf struct type Distro (line 313) | type Distro struct method String (line 318) | func (l Distro) String() string { method MajorVersion (line 323) | func (l Distro) MajorVersion() (int, error) { type Container (line 357) | type Container struct FILE: config/config_test.go function TestDistro_MajorVersion (line 9) | func TestDistro_MajorVersion(t *testing.T) { FILE: config/config_v1.go type V1 (line 18) | type V1 struct type Server (line 25) | type Server struct constant WinUpdateSrcVulsDefault (line 35) | WinUpdateSrcVulsDefault = 2 constant SystemDefault (line 39) | SystemDefault = 0 constant WSUS (line 40) | WSUS = 1 constant WinUpdateDirect (line 41) | WinUpdateDirect = 2 constant LocalCab (line 42) | LocalCab = 3 type ProxyConfig (line 46) | type ProxyConfig struct function convertToLatestConfig (line 56) | func convertToLatestConfig(pathToToml string) error { FILE: config/googlechatconf.go type GoogleChatConf (line 9) | type GoogleChatConf struct method Validate (line 17) | func (c *GoogleChatConf) Validate() (errs []error) { FILE: config/httpconf.go type HTTPConf (line 10) | type HTTPConf struct method Validate (line 18) | func (c *HTTPConf) Validate() (errs []error) { constant httpKey (line 15) | httpKey = "VULS_HTTP_URL" FILE: config/jsonloader.go type JSONLoader (line 6) | type JSONLoader struct method Load (line 10) | func (c JSONLoader) Load(_, _, _ string) (err error) { FILE: config/loader.go function Load (line 4) | func Load(path string) error { type Loader (line 10) | type Loader interface FILE: config/os.go type EOL (line 12) | type EOL struct method IsStandardSupportEnded (line 19) | func (e EOL) IsStandardSupportEnded(now time.Time) bool { method IsExtendedSuppportEnded (line 26) | func (e EOL) IsExtendedSuppportEnded(now time.Time) bool { function GetEOL (line 39) | func GetEOL(family, release string) (eol EOL, found bool) { function major (line 489) | func major(osVer string) (majorVersion string) { function majorDotMinor (line 493) | func majorDotMinor(osVer string) (majorDotMinor string) { function getAmazonLinuxVersion (line 501) | func getAmazonLinuxVersion(osRelease string) string { FILE: config/os_test.go function TestEOL_IsStandardSupportEnded (line 10) | func TestEOL_IsStandardSupportEnded(t *testing.T) { function Test_majorDotMinor (line 901) | func Test_majorDotMinor(t *testing.T) { function Test_getAmazonLinuxVersion (line 948) | func Test_getAmazonLinuxVersion(t *testing.T) { FILE: config/portscan.go type PortScanConf (line 15) | type PortScanConf struct method GetScanTechniques (line 90) | func (c *PortScanConf) GetScanTechniques() []ScanTechnique { method Validate (line 118) | func (c *PortScanConf) Validate() (errs []error) { method IsZero (line 212) | func (c PortScanConf) IsZero() bool { type ScanTechnique (line 32) | type ScanTechnique method String (line 66) | func (s ScanTechnique) String() string { constant NotSupportTechnique (line 36) | NotSupportTechnique ScanTechnique = iota constant TCPSYN (line 38) | TCPSYN constant TCPConnect (line 40) | TCPConnect constant TCPACK (line 42) | TCPACK constant TCPWindow (line 44) | TCPWindow constant TCPMaimon (line 46) | TCPMaimon constant TCPNull (line 48) | TCPNull constant TCPFIN (line 50) | TCPFIN constant TCPXmas (line 52) | TCPXmas FILE: config/portscan_test.go function TestPortScanConf_getScanTechniques (line 8) | func TestPortScanConf_getScanTechniques(t *testing.T) { function TestPortScanConf_IsZero (line 45) | func TestPortScanConf_IsZero(t *testing.T) { FILE: config/saasconf.go type SaasConf (line 9) | type SaasConf struct method Validate (line 16) | func (c *SaasConf) Validate() (errs []error) { FILE: config/scanmode.go type ScanMode (line 10) | type ScanMode struct method Set (line 31) | func (s *ScanMode) Set(f byte) { method IsFast (line 36) | func (s ScanMode) IsFast() bool { method IsFastRoot (line 41) | func (s ScanMode) IsFastRoot() bool { method IsDeep (line 46) | func (s ScanMode) IsDeep() bool { method IsOffline (line 51) | func (s ScanMode) IsOffline() bool { method ensure (line 55) | func (s *ScanMode) ensure() error { method String (line 72) | func (s ScanMode) String() string { constant Fast (line 16) | Fast = byte(1 << iota) constant FastRoot (line 18) | FastRoot constant Deep (line 20) | Deep constant Offline (line 22) | Offline constant fastStr (line 24) | fastStr = "fast" constant fastRootStr (line 25) | fastRootStr = "fast-root" constant deepStr (line 26) | deepStr = "deep" constant offlineStr (line 27) | offlineStr = "offline" function setScanMode (line 87) | func setScanMode(server *ServerInfo) error { FILE: config/scanmodule.go type ScanModule (line 10) | type ScanModule struct method Set (line 33) | func (s *ScanModule) Set(f byte) { method IsScanOSPkg (line 38) | func (s ScanModule) IsScanOSPkg() bool { method IsScanWordPress (line 43) | func (s ScanModule) IsScanWordPress() bool { method IsScanLockFile (line 48) | func (s ScanModule) IsScanLockFile() bool { method IsScanPort (line 53) | func (s ScanModule) IsScanPort() bool { method IsZero (line 58) | func (s ScanModule) IsZero() bool { method ensure (line 62) | func (s *ScanModule) ensure() error { constant OSPkg (line 16) | OSPkg = byte(1 << iota) constant WordPress (line 18) | WordPress constant Lockfile (line 20) | Lockfile constant Port (line 22) | Port constant osPkgStr (line 24) | osPkgStr = "ospkg" constant wordPressStr (line 25) | wordPressStr = "wordpress" constant lockfileStr (line 26) | lockfileStr = "lockfile" constant portStr (line 27) | portStr = "port" function setScanModules (line 74) | func setScanModules(server *ServerInfo, d ServerInfo) error { FILE: config/scanmodule_test.go function TestScanModule_IsZero (line 7) | func TestScanModule_IsZero(t *testing.T) { function TestScanModule_validate (line 37) | func TestScanModule_validate(t *testing.T) { FILE: config/slackconf.go type SlackConf (line 11) | type SlackConf struct method Validate (line 23) | func (c *SlackConf) Validate() (errs []error) { FILE: config/smtpconf.go type SMTPConf (line 9) | type SMTPConf struct method Validate (line 36) | func (c *SMTPConf) Validate() (errs []error) { function checkEmails (line 23) | func checkEmails(emails []string) (errs []error) { FILE: config/syslog/syslogconf.go method Validate (line 14) | func (c *Conf) Validate() (errs []error) { method GetSeverity (line 43) | func (c *Conf) GetSeverity() (syslog.Priority, error) { method GetFacility (line 71) | func (c *Conf) GetFacility() (syslog.Priority, error) { FILE: config/syslog/syslogconf_test.go function TestSyslogConfValidate (line 9) | func TestSyslogConfValidate(t *testing.T) { FILE: config/syslog/syslogconf_windows.go method Validate (line 8) | func (c *Conf) Validate() (errs []error) { FILE: config/syslog/types.go type Conf (line 4) | type Conf struct FILE: config/telegramconf.go type TelegramConf (line 9) | type TelegramConf struct method Validate (line 16) | func (c *TelegramConf) Validate() (errs []error) { FILE: config/tomlloader.go type TOMLLoader (line 22) | type TOMLLoader struct method Load (line 26) | func (c TOMLLoader) Load(pathToToml string) error { function hosts (line 161) | func hosts(host string, ignores []string) ([]string, error) { function enumerateHosts (line 191) | func enumerateHosts(host string) ([]string, error) { function isCIDRNotation (line 220) | func isCIDRNotation(host string) bool { function setDefaultIfEmpty (line 228) | func setDefaultIfEmpty(server *ServerInfo) error { function toCpeURI (line 313) | func toCpeURI(cpename string) (string, error) { FILE: config/tomlloader_test.go function TestHosts (line 9) | func TestHosts(t *testing.T) { function TestToCpeURI (line 100) | func TestToCpeURI(t *testing.T) { FILE: config/vulnDictConf.go type VulnDictInterface (line 16) | type VulnDictInterface interface type VulnDict (line 29) | type VulnDict struct method GetType (line 51) | func (cnf VulnDict) GetType() string { method GetName (line 56) | func (cnf VulnDict) GetName() string { method GetURL (line 61) | func (cnf VulnDict) GetURL() string { method GetSQLite3Path (line 66) | func (cnf VulnDict) GetSQLite3Path() string { method GetDebugSQL (line 71) | func (cnf VulnDict) GetDebugSQL() bool { method Validate (line 76) | func (cnf VulnDict) Validate() error { method Init (line 116) | func (cnf VulnDict) Init() {} method setDefault (line 118) | func (cnf *VulnDict) setDefault(sqlite3Name string) { method IsFetchViaHTTP (line 129) | func (cnf VulnDict) IsFetchViaHTTP() bool { method CheckHTTPHealth (line 134) | func (cnf VulnDict) CheckHTTPHealth() error { type ExploitConf (line 150) | type ExploitConf struct method Init (line 161) | func (cnf *ExploitConf) Init() { constant exploitDBType (line 154) | exploitDBType = "EXPLOITDB_TYPE" constant exploitDBURL (line 155) | exploitDBURL = "EXPLOITDB_URL" constant exploitDBPATH (line 156) | exploitDBPATH = "EXPLOITDB_SQLITE3_PATH" type GoCveDictConf (line 177) | type GoCveDictConf struct method Init (line 188) | func (cnf *GoCveDictConf) Init() { constant cveDBType (line 181) | cveDBType = "CVEDB_TYPE" constant cveDBURL (line 182) | cveDBURL = "CVEDB_URL" constant cveDBPATH (line 183) | cveDBPATH = "CVEDB_SQLITE3_PATH" type GostConf (line 204) | type GostConf struct method Init (line 215) | func (cnf *GostConf) Init() { constant gostDBType (line 208) | gostDBType = "GOSTDB_TYPE" constant gostDBURL (line 209) | gostDBURL = "GOSTDB_URL" constant gostDBPATH (line 210) | gostDBPATH = "GOSTDB_SQLITE3_PATH" type MetasploitConf (line 231) | type MetasploitConf struct method Init (line 242) | func (cnf *MetasploitConf) Init() { constant metasploitDBType (line 235) | metasploitDBType = "METASPLOITDB_TYPE" constant metasploitDBURL (line 236) | metasploitDBURL = "METASPLOITDB_URL" constant metasploitDBPATH (line 237) | metasploitDBPATH = "METASPLOITDB_SQLITE3_PATH" type KEVulnConf (line 258) | type KEVulnConf struct method Init (line 269) | func (cnf *KEVulnConf) Init() { constant kevulnDBType (line 262) | kevulnDBType = "KEVULN_TYPE" constant kevulnDBURL (line 263) | kevulnDBURL = "KEVULN_URL" constant kevulnDBPATH (line 264) | kevulnDBPATH = "KEVULN_SQLITE3_PATH" type CtiConf (line 285) | type CtiConf struct method Init (line 296) | func (cnf *CtiConf) Init() { constant ctiDBType (line 289) | ctiDBType = "CTI_TYPE" constant ctiDBURL (line 290) | ctiDBURL = "CTI_URL" constant ctiDBPATH (line 291) | ctiDBPATH = "CTI_SQLITE3_PATH" type Vuls2Conf (line 312) | type Vuls2Conf struct FILE: config/windows.go type WindowsConf (line 8) | type WindowsConf struct method Validate (line 14) | func (c *WindowsConf) Validate() []error { FILE: constant/constant.go constant RedHat (line 9) | RedHat = "redhat" constant Debian (line 12) | Debian = "debian" constant Ubuntu (line 15) | Ubuntu = "ubuntu" constant CentOS (line 18) | CentOS = "centos" constant Alma (line 21) | Alma = "alma" constant Rocky (line 24) | Rocky = "rocky" constant Fedora (line 27) | Fedora = "fedora" constant Amazon (line 30) | Amazon = "amazon" constant Oracle (line 33) | Oracle = "oracle" constant FreeBSD (line 36) | FreeBSD = "freebsd" constant Raspbian (line 39) | Raspbian = "raspbian" constant Windows (line 42) | Windows = "windows" constant MacOSX (line 45) | MacOSX = "macos_x" constant MacOSXServer (line 48) | MacOSXServer = "macos_x_server" constant MacOS (line 51) | MacOS = "macos" constant MacOSServer (line 54) | MacOSServer = "macos_server" constant OpenSUSE (line 57) | OpenSUSE = "opensuse" constant OpenSUSELeap (line 60) | OpenSUSELeap = "opensuse.leap" constant SUSEEnterpriseServer (line 63) | SUSEEnterpriseServer = "suse.linux.enterprise.server" constant SUSEEnterpriseDesktop (line 66) | SUSEEnterpriseDesktop = "suse.linux.enterprise.desktop" constant Alpine (line 69) | Alpine = "alpine" constant ServerTypePseudo (line 72) | ServerTypePseudo = "pseudo" constant DeepSecurity (line 75) | DeepSecurity = "deepsecurity" FILE: contrib/future-vuls/cmd/main.go function main (line 41) | func main() { FILE: contrib/future-vuls/pkg/config/config.go constant DiscoverTomlFileName (line 6) | DiscoverTomlFileName = "discover_list.toml" constant SnmpVersion (line 8) | SnmpVersion = "v2c" constant FvulsDomain (line 10) | FvulsDomain = "vuls.biz" constant Community (line 12) | Community = "public" constant DiscoverTomlTimeStampFormat (line 14) | DiscoverTomlTimeStampFormat = "20060102150405" type DiscoverToml (line 18) | type DiscoverToml type ServerSetting (line 21) | type ServerSetting struct FILE: contrib/future-vuls/pkg/cpe/cpe.go type AddCpeConfig (line 19) | type AddCpeConfig struct method LoadAndCheckTomlFile (line 69) | func (c *AddCpeConfig) LoadAndCheckTomlFile(ctx context.Context) (need... method AddServerToFvuls (line 127) | func (c *AddCpeConfig) AddServerToFvuls(ctx context.Context, needAddSe... method AddCpeToFvuls (line 147) | func (c *AddCpeConfig) AddCpeToFvuls(ctx context.Context, needAddCpes ... method WriteDiscoverToml (line 170) | func (c *AddCpeConfig) WriteDiscoverToml() error { function AddCpe (line 27) | func AddCpe(token, outputFile, proxy string) (err error) { FILE: contrib/future-vuls/pkg/discover/discover.go function ActiveHosts (line 19) | func ActiveHosts(cidr, outputFile, snmpVersion, community string, timeou... function executeSnmp2cpe (line 109) | func executeSnmp2cpe(addr, snmpVersion, community string, timeout time.D... FILE: contrib/future-vuls/pkg/fvuls/fvuls.go type Client (line 21) | type Client struct method UploadToFvuls (line 43) | func (f Client) UploadToFvuls(serverUUID string, groupID int64, tags [... method GetServerByUUID (line 78) | func (f Client) GetServerByUUID(ctx context.Context, uuid string) (ser... method CreatePseudoServer (line 98) | func (f Client) CreatePseudoServer(ctx context.Context, name string) (... method UploadCPE (line 124) | func (f Client) UploadCPE(ctx context.Context, cpeURI string, serverID... method ListUploadedCPE (line 153) | func (f Client) ListUploadedCPE(ctx context.Context, serverID int64) (... method sendHTTPRequest (line 183) | func (f Client) sendHTTPRequest(req *http.Request) ([]byte, error) { function NewClient (line 29) | func NewClient(token string, proxy string) *Client { FILE: contrib/future-vuls/pkg/fvuls/model.go type CreatePseudoServerInput (line 5) | type CreatePseudoServerInput struct type AddCpeInput (line 10) | type AddCpeInput struct type AddCpeOutput (line 17) | type AddCpeOutput struct type ListCpesInput (line 22) | type ListCpesInput struct type ListCpesOutput (line 29) | type ListCpesOutput struct type Paging (line 35) | type Paging struct type PkgCpes (line 42) | type PkgCpes struct type ServerChild (line 47) | type ServerChild struct type ServerDetailOutput (line 52) | type ServerDetailOutput struct FILE: contrib/owasp-dependency-check/parser/parser.go type analysis (line 15) | type analysis struct type dependency (line 19) | type dependency struct type vulnerabilityID (line 23) | type vulnerabilityID struct function appendIfMissing (line 27) | func appendIfMissing(slice []string, str string) []string { function Parse (line 35) | func Parse(path string) ([]string, error) { FILE: contrib/trivy/cmd/main.go function main (line 23) | func main() { FILE: contrib/trivy/parser/parser.go type Parser (line 13) | type Parser interface type Report (line 18) | type Report struct function NewParser (line 23) | func NewParser(vulnJSON []byte) (Parser, error) { FILE: contrib/trivy/parser/v2/parser.go type ParserV2 (line 17) | type ParserV2 struct method Parse (line 21) | func (p ParserV2) Parse(vulnJSON []byte) (result *models.ScanResult, e... function setScanResultMeta (line 40) | func setScanResultMeta(scanResult *models.ScanResult, report *types.Repo... FILE: contrib/trivy/parser/v2/parser_test.go function TestParse (line 13) | func TestParse(t *testing.T) { function TestParseError (line 3122) | func TestParseError(t *testing.T) { FILE: contrib/trivy/pkg/converter.go function Convert (line 20) | func Convert(results types.Results, artifactType ftypes.ArtifactType, ar... function isTrivySupportedOS (line 261) | func isTrivySupportedOS(family ftypes.TargetType) bool { function getPURL (line 292) | func getPURL(p ftypes.Package) string { function getLockfilePath (line 299) | func getLockfilePath(scanmode ftypes.ArtifactType, artifactName string, ... FILE: contrib/trivy/pkg/converter_test.go function Test_getLockfilePath (line 10) | func Test_getLockfilePath(t *testing.T) { FILE: cti/cti.go type Technique (line 4) | type Technique struct FILE: cwe/en.go type Cwe (line 4) | type Cwe struct FILE: detector/cti.go type goCTIDBClient (line 24) | type goCTIDBClient struct method closeDB (line 30) | func (client goCTIDBClient) closeDB() error { function newGoCTIDBClient (line 37) | func newGoCTIDBClient(cnf config.VulnDictInterface, o logging.LogOpts) (... function FillWithCTI (line 50) | func FillWithCTI(r *models.ScanResult, cnf config.CtiConf, logOpts loggi... type ctiResponse (line 109) | type ctiResponse struct function getCTIsViaHTTP (line 114) | func getCTIsViaHTTP(cveIDs []string, urlPrefix string) (responses []ctiR... type ctiRequest (line 170) | type ctiRequest struct function httpGetCTI (line 174) | func httpGetCTI(url string, req ctiRequest, resChan chan<- ctiResponse, ... function newCTIDB (line 212) | func newCTIDB(cnf config.VulnDictInterface) (ctidb.DB, error) { FILE: detector/cve_client.go type goCveDictClient (line 24) | type goCveDictClient struct method closeDB (line 41) | func (client goCveDictClient) closeDB() error { method fetchCveDetails (line 53) | func (client goCveDictClient) fetchCveDetails(cveIDs []string) (cveDet... method detectCveByCpeURI (line 149) | func (client goCveDictClient) detectCveByCpeURI(cpeURI string, useJVN ... function newGoCveDictClient (line 29) | func newGoCveDictClient(cnf config.VulnDictInterface, o logging.LogOpts)... type response (line 48) | type response struct function httpGet (line 114) | func httpGet(key, url string, resChan chan<- response, errChan chan<- er... function httpPost (line 182) | func httpPost(url string, query map[string]string) ([]cvemodels.CveDetai... function newCveDB (line 216) | func newCveDB(cnf config.VulnDictInterface) (cvedb.DB, error) { FILE: detector/detector.go type Cpe (line 29) | type Cpe struct function Detect (line 35) | func Detect(rs []models.ScanResult, dir string) ([]models.ScanResult, er... function DetectPkgCves (line 320) | func DetectPkgCves(r *models.ScanResult, gostCnf config.GostConf, vuls2C... function isPkgCvesDetactable (line 369) | func isPkgCvesDetactable(r *models.ScanResult) bool { function DetectGitHubCves (line 396) | func DetectGitHubCves(r *models.ScanResult, githubConfs map[string]confi... function DetectWordPressCves (line 423) | func DetectWordPressCves(r *models.ScanResult, wpCnf config.WpScanConf) ... function FillCvesWithGoCVEDictionary (line 437) | func FillCvesWithGoCVEDictionary(r *models.ScanResult, cnf config.GoCveD... function fillCertAlerts (line 507) | func fillCertAlerts(cvedetail *cvemodels.CveDetail) (dict models.AlertDi... function detectPkgsCvesWithGost (line 531) | func detectPkgsCvesWithGost(cnf config.GostConf, r *models.ScanResult, l... function DetectCpeURIsCves (line 553) | func DetectCpeURIsCves(r *models.ScanResult, cpes []Cpe, cnf config.GoCv... function getMaxConfidence (line 659) | func getMaxConfidence(detail cvemodels.CveDetail) (maxConfidence models.... function FillCweDict (line 763) | func FillCweDict(r *models.ScanResult) { function fillCweRank (line 808) | func fillCweRank(entry *models.CweDictEntry, id string) { FILE: detector/detector_test.go function Test_getMaxConfidence (line 14) | func Test_getMaxConfidence(t *testing.T) { function TestFillCweDict (line 138) | func TestFillCweDict(t *testing.T) { FILE: detector/exploitdb.go type goExploitDBClient (line 25) | type goExploitDBClient struct method closeDB (line 31) | func (client goExploitDBClient) closeDB() error { function newGoExploitDBClient (line 38) | func newGoExploitDBClient(cnf config.VulnDictInterface, o logging.LogOpt... function FillWithExploit (line 51) | func FillWithExploit(r *models.ScanResult, cnf config.ExploitConf, logOp... function ConvertToModelsExploit (line 110) | func ConvertToModelsExploit(es []exploitmodels.Exploit) (exploits []mode... type exploitResponse (line 138) | type exploitResponse struct function getExploitsViaHTTP (line 143) | func getExploitsViaHTTP(cveIDs []string, urlPrefix string) ( type exploitRequest (line 200) | type exploitRequest struct function httpGetExploit (line 204) | func httpGetExploit(url string, req exploitRequest, resChan chan<- explo... function newExploitDB (line 243) | func newExploitDB(cnf config.VulnDictInterface) (exploitdb.DB, error) { FILE: detector/exploitdb_test.go function TestConvertToModelsExploit (line 14) | func TestConvertToModelsExploit(t *testing.T) { FILE: detector/github.go function DetectGitHubSecurityAlerts (line 24) | func DetectGitHubSecurityAlerts(r *models.ScanResult, owner, repo, token... type SecurityAlerts (line 158) | type SecurityAlerts struct function DetectGitHubDependencyGraph (line 214) | func DetectGitHubDependencyGraph(r *models.ScanResult, owner, repo, toke... function fetchDependencyGraph (line 225) | func fetchDependencyGraph(r *models.ScanResult, httpClient *http.Client,... type DependencyGraph (line 344) | type DependencyGraph struct FILE: detector/javadb/javadb.go function UpdateJavaDB (line 31) | func UpdateJavaDB(trivyOpts config.TrivyOpts, noProgress bool) error { function isNewDB (line 109) | func isNewDB(meta db.Metadata) bool { type DBClient (line 124) | type DBClient struct method Close (line 138) | func (client *DBClient) Close() error { method SearchBySHA1 (line 147) | func (client *DBClient) SearchBySHA1(sha1 string) (jar.Properties, err... function NewClient (line 129) | func NewClient(cacheDBDir string) (*DBClient, error) { FILE: detector/kevuln.go type goKEVulnDBClient (line 24) | type goKEVulnDBClient struct method closeDB (line 30) | func (client goKEVulnDBClient) closeDB() error { function newGoKEVulnDBClient (line 37) | func newGoKEVulnDBClient(cnf config.VulnDictInterface, o logging.LogOpts... function FillWithKEVuln (line 50) | func FillWithKEVuln(r *models.ScanResult, cnf config.KEVulnConf, logOpts... type kevulnResponse (line 238) | type kevulnResponse struct function getKEVulnsViaHTTP (line 243) | func getKEVulnsViaHTTP(cveIDs []string, urlPrefix string) ( type kevulnRequest (line 300) | type kevulnRequest struct function httpGetKEVuln (line 304) | func httpGetKEVuln(url string, req kevulnRequest, resChan chan<- kevulnR... function newKEVulnDB (line 343) | func newKEVulnDB(cnf config.VulnDictInterface) (kevulndb.DB, error) { FILE: detector/library.go type libraryDetector (line 36) | type libraryDetector struct method scan (line 167) | func (d *libraryDetector) scan() ([]models.VulnInfo, error) { method improveJARInfo (line 198) | func (d *libraryDetector) improveJARInfo() error { method convertFanalToVuln (line 237) | func (d libraryDetector) convertFanalToVuln(tvulns []types.DetectedVul... method getVulnDetail (line 249) | func (d libraryDetector) getVulnDetail(tvuln types.DetectedVulnerabili... function DetectLibsCves (line 43) | func DetectLibsCves(r *models.ScanResult, trivyOpts config.TrivyOpts, lo... function downloadDB (line 105) | func downloadDB(appVersion string, trivyOpts config.TrivyOpts, noProgres... function showDBInfo (line 155) | func showDBInfo(cacheDir string) error { function getCveContents (line 269) | func getCveContents(cveID string, vul trivydbTypes.Vulnerability) (conte... FILE: detector/msf.go type goMetasploitDBClient (line 25) | type goMetasploitDBClient struct method closeDB (line 31) | func (client goMetasploitDBClient) closeDB() error { function newGoMetasploitDBClient (line 38) | func newGoMetasploitDBClient(cnf config.VulnDictInterface, o logging.Log... function FillWithMetasploit (line 51) | func FillWithMetasploit(r *models.ScanResult, cnf config.MetasploitConf,... type metasploitResponse (line 109) | type metasploitResponse struct function getMetasploitsViaHTTP (line 114) | func getMetasploitsViaHTTP(cveIDs []string, urlPrefix string) ( type metasploitRequest (line 171) | type metasploitRequest struct function httpGetMetasploit (line 175) | func httpGetMetasploit(url string, req metasploitRequest, resChan chan<-... function ConvertToModelsMsf (line 215) | func ConvertToModelsMsf(ms []metasploitmodels.Metasploit) (modules []mod... function newMetasploitDB (line 234) | func newMetasploitDB(cnf config.VulnDictInterface) (metasploitdb.DB, err... FILE: detector/util.go function reuseScannedCves (line 23) | func reuseScannedCves(r *models.ScanResult) bool { function needToRefreshCve (line 31) | func needToRefreshCve(r models.ScanResult) bool { function loadPrevious (line 40) | func loadPrevious(currs models.ScanResults, resultsDir string) (prevs mo... function diff (line 70) | func diff(curResults, preResults models.ScanResults, isPlus, isMinus boo... function getPlusDiffCves (line 119) | func getPlusDiffCves(previous, current models.ScanResult) models.VulnInf... function getMinusDiffCves (line 159) | func getMinusDiffCves(previous, current models.ScanResult) models.VulnIn... function isCveInfoUpdated (line 180) | func isCveInfoUpdated(cveID string, previous, current models.ScanResult)... function ListValidJSONDirs (line 221) | func ListValidJSONDirs(resultsDir string) (dirs []string, err error) { function loadOneServerScanResult (line 243) | func loadOneServerScanResult(jsonFile string) (*models.ScanResult, error) { function ValidateDBs (line 266) | func ValidateDBs(cveConf config.GoCveDictConf, gostConf config.GostConf,... FILE: detector/vuls2/db.go function newDBConfig (line 27) | func newDBConfig(vuls2Conf config.Vuls2Conf, noProgress bool) (*session.... function shouldDownload (line 77) | func shouldDownload(vuls2Conf config.Vuls2Conf, now time.Time) (bool, er... FILE: detector/vuls2/db_test.go function Test_shouldDownload (line 17) | func Test_shouldDownload(t *testing.T) { function putMetadata (line 153) | func putMetadata(metadata types.Metadata, path string) error { function parse (line 175) | func parse(date string) *time.Time { function schemaVersionBoltDB (line 180) | func schemaVersionBoltDB(t *testing.T) uint { FILE: detector/vuls2/export_test.go type Source (line 11) | type Source FILE: detector/vuls2/vendor.go function preConvertBinaryVersion (line 33) | func preConvertBinaryVersion(family, version string) string { function toVuls2Family (line 48) | func toVuls2Family(vuls0Family, vuls0Release string) string { function toVuls2Release (line 66) | func toVuls2Release(vuls0Family, vuls0Release string) string { function ignoreVulnerability (line 80) | func ignoreVulnerability(e ecosystemTypes.Ecosystem, v vulnerabilityType... function filterDistroAdvisories (line 117) | func filterDistroAdvisories(e ecosystemTypes.Ecosystem, as models.Distro... function ignoreCriteria (line 135) | func ignoreCriteria(e ecosystemTypes.Ecosystem, s sourceTypes.SourceID, ... function ignoreCriterion (line 169) | func ignoreCriterion(e ecosystemTypes.Ecosystem, cn criterionTypes.Filte... function filterCriterion (line 220) | func filterCriterion(e ecosystemTypes.Ecosystem, scanned scanTypes.ScanR... function affectedPackageName (line 341) | func affectedPackageName(e ecosystemTypes.Ecosystem, pkg scanTypes.OSPac... function fixState (line 350) | func fixState(e ecosystemTypes.Ecosystem, s sourceTypes.SourceID, fixsta... function selectFixedIn (line 367) | func selectFixedIn(rangeType vcAffectedRangeTypes.RangeType, fixed []str... function comparePackStatus (line 412) | func comparePackStatus(a, b packStatus) (int, error) { function advisoryReference (line 473) | func advisoryReference(e ecosystemTypes.Ecosystem, s sourceTypes.SourceI... function cveContentSourceLink (line 585) | func cveContentSourceLink(ccType models.CveContentType, v vulnerabilityT... function compareSource (line 608) | func compareSource(a, b source) int { function compareSourceID (line 630) | func compareSourceID(e ecosystemTypes.Ecosystem, a, b sourceTypes.Source... function compareTag (line 739) | func compareTag(e ecosystemTypes.Ecosystem, s sourceTypes.SourceID, a, b... function toCveContentType (line 794) | func toCveContentType(e ecosystemTypes.Ecosystem, s sourceTypes.SourceID... function toCvss (line 836) | func toCvss(e ecosystemTypes.Ecosystem, src sourceTypes.SourceID, ss []s... function toVuls0Confidence (line 935) | func toVuls0Confidence(e ecosystemTypes.Ecosystem, s sourceTypes.SourceI... FILE: detector/vuls2/vuls2.go constant defaultRegistory (line 44) | defaultRegistory = "ghcr.io/vulsio/vuls-nightly-db" function Detect (line 47) | func Detect(r *models.ScanResult, vuls2Conf config.Vuls2Conf, noProgress... function preConvert (line 119) | func preConvert(sr *models.ScanResult) scanTypes.ScanResult { function detect (line 166) | func detect(sesh *session.Session, sr scanTypes.ScanResult) (detectTypes... type source (line 246) | type source struct type sourceData (line 252) | type sourceData struct type rootTag (line 259) | type rootTag struct type pack (line 264) | type pack struct type packStatus (line 272) | type packStatus struct function postConvert (line 277) | func postConvert(scanned scanTypes.ScanResult, detected detectTypes.Dete... function walkVulnerabilityDetections (line 429) | func walkVulnerabilityDetections(m map[source]sourceData, scanned scanTy... function pruneCriteria (line 466) | func pruneCriteria(c criteriaTypes.FilteredCriteria) (criteriaTypes.Filt... function walkCriteria (line 526) | func walkCriteria(e ecosystemTypes.Ecosystem, sourceID sourceTypes.Sourc... function walkVulnerabilityDatas (line 613) | func walkVulnerabilityDatas(m map[source]sourceData, vds []detectTypes.V... function comparePack (line 814) | func comparePack(a, b pack) (int, error) { function mergeVulnInfo (line 840) | func mergeVulnInfo(a, b models.VulnInfo) (models.VulnInfo, error) { function toReference (line 1004) | func toReference(ref string) models.Reference { FILE: detector/vuls2/vuls2_test.go function Test_preConvert (line 47) | func Test_preConvert(t *testing.T) { type args (line 280) | type args struct FILE: detector/wordpress.go type wpCveInfos (line 25) | type wpCveInfos struct type wpCveInfo (line 37) | type wpCveInfo struct type references (line 55) | type references struct type cvss (line 63) | type cvss struct type closed (line 70) | type closed struct function detectWordPressCves (line 76) | func detectWordPressCves(r *models.ScanResult, cnf config.WpScanConf) (i... function wpscan (line 135) | func wpscan(url, name, token string, isCore bool) (vinfos []models.VulnI... function detect (line 149) | func detect(installed models.WpPackage, candidates []models.VulnInfo) (v... function match (line 172) | func match(installedVer, fixedIn string) (bool, error) { function convertToVinfos (line 184) | func convertToVinfos(pkgName, body string) (vinfos []models.VulnInfo, er... function extractToVulnInfos (line 201) | func extractToVulnInfos(pkgName string, cves []wpCveInfo) (vinfos []mode... function httpRequest (line 290) | func httpRequest(url, token string) (string, error) { function removeInactives (line 329) | func removeInactives(pkgs models.WordPressPackages) (removed models.Word... FILE: detector/wordpress_test.go function TestRemoveInactive (line 13) | func TestRemoveInactive(t *testing.T) { function Test_convertToVinfos (line 87) | func Test_convertToVinfos(t *testing.T) { FILE: errof/errof.go type ErrorCode (line 4) | type ErrorCode type Error (line 7) | type Error struct method Error (line 12) | func (e Error) Error() string { function New (line 28) | func New(code ErrorCode, msg string) Error { FILE: gost/gost.go type Client (line 19) | type Client interface type Base (line 25) | type Base struct method CloseDB (line 31) | func (b Base) CloseDB() error { function FillCVEsWithRedHat (line 39) | func FillCVEsWithRedHat(r *models.ScanResult, cnf config.GostConf, o log... function NewGostClient (line 59) | func NewGostClient(cnf config.GostConf, family string, o logging.LogOpts... function newGostDB (line 84) | func newGostDB(cnf config.VulnDictInterface) (gostdb.DB, error) { FILE: gost/microsoft.go type Microsoft (line 29) | type Microsoft struct method DetectCVEs (line 34) | func (ms Microsoft) DetectCVEs(r *models.ScanResult, _ bool) (nCVEs in... method detect (line 204) | func (ms Microsoft) detect(r *models.ScanResult, cve gostmodels.Micros... method ConvertToModel (line 373) | func (ms Microsoft) ConvertToModel(cve *gostmodels.MicrosoftCVE) (*mod... FILE: gost/microsoft_test.go function TestMicrosoft_detect (line 14) | func TestMicrosoft_detect(t *testing.T) { FILE: gost/pseudo.go type Pseudo (line 10) | type Pseudo struct method DetectCVEs (line 15) | func (pse Pseudo) DetectCVEs(_ *models.ScanResult, _ bool) (int, error) { FILE: gost/redhat.go type RedHat (line 16) | type RedHat struct method fillCvesWithRedHatAPI (line 20) | func (red RedHat) fillCvesWithRedHatAPI(r *models.ScanResult) error { method setFixedCveToScanResult (line 64) | func (red RedHat) setFixedCveToScanResult(cve *gostmodels.RedhatCVE, r... method parseCwe (line 84) | func (red RedHat) parseCwe(str string) (cwes []string) { method ConvertToModel (line 99) | func (red RedHat) ConvertToModel(cve *gostmodels.RedhatCVE) (*models.C... FILE: gost/redhat_test.go function TestParseCwe (line 10) | func TestParseCwe(t *testing.T) { FILE: gost/util.go type response (line 22) | type response struct function getCvesViaHTTP (line 27) | func getCvesViaHTTP(cveIDs []string, urlPrefix string) ( type request (line 84) | type request struct function getCvesWithFixStateViaHTTP (line 90) | func getCvesWithFixStateViaHTTP(r *models.ScanResult, urlPrefix, fixStat... function httpGet (line 152) | func httpGet(url string, req request, resChan chan<- response, errChan c... function major (line 191) | func major(osVer string) (majorVersion string) { function unique (line 195) | func unique[T comparable](s []T) []T { FILE: logging/logutil.go type LogOpts (line 19) | type LogOpts struct type Logger (line 32) | type Logger struct function init (line 36) | func init() { function NewNormalLogger (line 44) | func NewNormalLogger() Logger { function NewIODiscardLogger (line 49) | func NewIODiscardLogger() Logger { function NewCustomLogger (line 56) | func NewCustomLogger(debug, quiet, logToFile bool, logDir, logMsgAnsiCol... function GetDefaultLogDir (line 120) | func GetDefaultLogDir() string { FILE: models/cvecontents.go type CveContents (line 15) | type CveContents method Except (line 42) | func (v CveContents) Except(exceptCtypes ...CveContentType) (values Cv... method PrimarySrcURLs (line 53) | func (v CveContents) PrimarySrcURLs(lang, myFamily, cveID string, conf... method PatchURLs (line 118) | func (v CveContents) PatchURLs() (urls []string) { method Cpes (line 136) | func (v CveContents) Cpes(myFamily string) (values []CveContentCpes) { method References (line 165) | func (v CveContents) References(myFamily string) (values []CveContentR... method CweIDs (line 191) | func (v CveContents) CweIDs(myFamily string) (values []CveContentStr) { method UniqCweIDs (line 215) | func (v CveContents) UniqCweIDs(myFamily string) []CveContentStr { method SSVC (line 230) | func (v CveContents) SSVC() (value []CveContentSSVC) { method Sort (line 248) | func (v CveContents) Sort() { function NewCveContents (line 18) | func NewCveContents(conts ...CveContent) CveContents { type CveContentStr (line 36) | type CveContentStr struct type CveContentCpes (line 130) | type CveContentCpes struct type CveContentRefs (line 159) | type CveContentRefs struct type CveContentSSVC (line 224) | type CveContentSSVC struct type CveContent (line 276) | type CveContent struct method Empty (line 301) | func (c CveContent) Empty() bool { type CveContentType (line 306) | type CveContentType function NewCveContentType (line 309) | func NewCveContentType(name string) CveContentType { function GetCveContentTypes (line 427) | func GetCveContentTypes(family string) []CveContentType { constant Mitre (line 460) | Mitre CveContentType = "mitre" constant Nvd (line 463) | Nvd CveContentType = "nvd" constant Vulncheck (line 466) | Vulncheck CveContentType = "vulncheck" constant Jvn (line 469) | Jvn CveContentType = "jvn" constant Euvd (line 472) | Euvd CveContentType = "euvd" constant Fortinet (line 475) | Fortinet CveContentType = "fortinet" constant Paloalto (line 478) | Paloalto CveContentType = "paloalto" constant Cisco (line 481) | Cisco CveContentType = "cisco" constant RedHat (line 484) | RedHat CveContentType = "redhat" constant RedHatAPI (line 487) | RedHatAPI CveContentType = "redhat_api" constant Alma (line 490) | Alma CveContentType = "alma" constant Rocky (line 493) | Rocky CveContentType = "rocky" constant DebianSecurityTracker (line 496) | DebianSecurityTracker CveContentType = "debian_security_tracker" constant Debian (line 499) | Debian CveContentType = "debian" constant Ubuntu (line 502) | Ubuntu CveContentType = "ubuntu" constant UbuntuAPI (line 505) | UbuntuAPI CveContentType = "ubuntu_api" constant Oracle (line 508) | Oracle CveContentType = "oracle" constant Amazon (line 511) | Amazon CveContentType = "amazon" constant Fedora (line 514) | Fedora CveContentType = "fedora" constant SUSE (line 517) | SUSE CveContentType = "suse" constant Alpine (line 520) | Alpine CveContentType = "alpine" constant Microsoft (line 523) | Microsoft CveContentType = "microsoft" constant WpScan (line 526) | WpScan CveContentType = "wpscan" constant Trivy (line 529) | Trivy CveContentType = "trivy" constant TrivyNVD (line 532) | TrivyNVD CveContentType = "trivy:nvd" constant TrivyRedHat (line 535) | TrivyRedHat CveContentType = "trivy:redhat" constant TrivyRedHatOVAL (line 538) | TrivyRedHatOVAL CveContentType = "trivy:redhat-oval" constant TrivyDebian (line 541) | TrivyDebian CveContentType = "trivy:debian" constant TrivyUbuntu (line 544) | TrivyUbuntu CveContentType = "trivy:ubuntu" constant TrivyCentOS (line 547) | TrivyCentOS CveContentType = "trivy:centos" constant TrivyRocky (line 550) | TrivyRocky CveContentType = "trivy:rocky" constant TrivyFedora (line 553) | TrivyFedora CveContentType = "trivy:fedora" constant TrivyAmazon (line 556) | TrivyAmazon CveContentType = "trivy:amazon" constant TrivyOracleOVAL (line 559) | TrivyOracleOVAL CveContentType = "trivy:oracle-oval" constant TrivySuseCVRF (line 562) | TrivySuseCVRF CveContentType = "trivy:suse-cvrf" constant TrivyAlpine (line 565) | TrivyAlpine CveContentType = "trivy:alpine" constant TrivyArchLinux (line 568) | TrivyArchLinux CveContentType = "trivy:arch-linux" constant TrivyAlma (line 571) | TrivyAlma CveContentType = "trivy:alma" constant TrivyAzure (line 574) | TrivyAzure CveContentType = "trivy:azure" constant TrivyCBLMariner (line 577) | TrivyCBLMariner CveContentType = "trivy:cbl-mariner" constant TrivyPhoton (line 580) | TrivyPhoton CveContentType = "trivy:photon" constant TrivyCoreOS (line 583) | TrivyCoreOS CveContentType = "trivy:coreos" constant TrivyRubySec (line 586) | TrivyRubySec CveContentType = "trivy:ruby-advisory-db" constant TrivyPhpSecurityAdvisories (line 589) | TrivyPhpSecurityAdvisories CveContentType = "trivy:php-security-advisories" constant TrivyNodejsSecurityWg (line 592) | TrivyNodejsSecurityWg CveContentType = "trivy:nodejs-security-wg" constant TrivyGHSA (line 595) | TrivyGHSA CveContentType = "trivy:ghsa" constant TrivyGLAD (line 598) | TrivyGLAD CveContentType = "trivy:glad" constant TrivyOSV (line 601) | TrivyOSV CveContentType = "trivy:osv" constant TrivyWolfi (line 604) | TrivyWolfi CveContentType = "trivy:wolfi" constant TrivyChainguard (line 607) | TrivyChainguard CveContentType = "trivy:chainguard" constant TrivyBitnamiVulndb (line 610) | TrivyBitnamiVulndb CveContentType = "trivy:bitnami" constant TrivyK8sVulnDB (line 613) | TrivyK8sVulnDB CveContentType = "trivy:k8s" constant TrivyGoVulnDB (line 616) | TrivyGoVulnDB CveContentType = "trivy:govulndb" constant TrivyAqua (line 619) | TrivyAqua CveContentType = "trivy:aqua" constant TrivyEcho (line 622) | TrivyEcho CveContentType = "trivy:echo" constant TrivyMinimOS (line 625) | TrivyMinimOS CveContentType = "trivy:minimos" constant TrivyRootIO (line 628) | TrivyRootIO CveContentType = "trivy:rootio" constant GitHub (line 631) | GitHub CveContentType = "github" constant Unknown (line 634) | Unknown CveContentType = "unknown" type CveContentTypes (line 638) | type CveContentTypes method Except (line 702) | func (c CveContentTypes) Except(excepts ...CveContentType) (excepted C... type Cpe (line 712) | type Cpe struct type References (line 718) | type References type Reference (line 721) | type Reference struct type SSVC (line 729) | type SSVC struct FILE: models/cvecontents_test.go function TestCveContents_Except (line 10) | func TestCveContents_Except(t *testing.T) { function TestSourceLinks (line 44) | func TestSourceLinks(t *testing.T) { function TestCveContents_PatchURLs (line 176) | func TestCveContents_PatchURLs(t *testing.T) { function TestCveContents_Cpes (line 222) | func TestCveContents_Cpes(t *testing.T) { function TestCveContents_References (line 260) | func TestCveContents_References(t *testing.T) { function TestCveContents_CweIDs (line 336) | func TestCveContents_CweIDs(t *testing.T) { function TestCveContents_UniqCweIDs (line 377) | func TestCveContents_UniqCweIDs(t *testing.T) { function TestCveContents_SSVC (line 414) | func TestCveContents_SSVC(t *testing.T) { function TestCveContents_Sort (line 464) | func TestCveContents_Sort(t *testing.T) { function TestCveContent_Empty (line 596) | func TestCveContent_Empty(t *testing.T) { function TestNewCveContentType (line 637) | func TestNewCveContentType(t *testing.T) { function TestGetCveContentTypes (line 664) | func TestGetCveContentTypes(t *testing.T) { function TestCveContentTypes_Except (line 695) | func TestCveContentTypes_Except(t *testing.T) { FILE: models/github.go type DependencyGraphManifests (line 10) | type DependencyGraphManifests type DependencyGraphManifest (line 13) | type DependencyGraphManifest struct method RepoURLFilename (line 21) | func (m DependencyGraphManifest) RepoURLFilename() string { method Ecosystem (line 27) | func (m DependencyGraphManifest) Ecosystem() string { type Dependency (line 85) | type Dependency struct method Version (line 93) | func (d Dependency) Version() string { FILE: models/library.go type LibraryScanners (line 8) | type LibraryScanners method Find (line 11) | func (lss LibraryScanners) Find(path, name string) map[string]Library { method Total (line 25) | func (lss LibraryScanners) Total() (total int) { type LibraryScanner (line 33) | type LibraryScanner struct method GetLibraryKey (line 85) | func (s LibraryScanner) GetLibraryKey() string { type Library (line 42) | type Library struct type LibraryFixedIn (line 117) | type LibraryFixedIn struct FILE: models/library_test.go function TestLibraryScanners_Find (line 8) | func TestLibraryScanners_Find(t *testing.T) { FILE: models/models.go constant JSONVersion (line 4) | JSONVersion = 4 FILE: models/packages.go type Packages (line 19) | type Packages method MergeNewVersion (line 31) | func (ps Packages) MergeNewVersion(as Packages) { method Merge (line 49) | func (ps Packages) Merge(other Packages) Packages { method FindOne (line 57) | func (ps Packages) FindOne(f func(Package) bool) (string, Package, boo... method FindByFQPN (line 67) | func (ps Packages) FindByFQPN(nameVerRel string) (*Package, error) { function NewPackages (line 22) | func NewPackages(packs ...Package) Packages { type Package (line 77) | type Package struct method FQPN (line 94) | func (p Package) FQPN() string { method FormatVer (line 106) | func (p Package) FormatVer() string { method FormatNewVer (line 115) | func (p Package) FormatNewVer() string { method FormatVersionFromTo (line 124) | func (p Package) FormatVersionFromTo(stat PackageFixStatus) string { method FormatChangelog (line 144) | func (p Package) FormatChangelog() string { method HasReachablePort (line 204) | func (p Package) HasReachablePort() bool { type Changelog (line 168) | type Changelog struct type AffectedProcess (line 174) | type AffectedProcess struct type PortStat (line 182) | type PortStat struct function NewPortStat (line 189) | func NewPortStat(ipPort string) (*PortStat, error) { type NeedRestartProcess (line 216) | type NeedRestartProcess struct type SrcPackage (line 229) | type SrcPackage struct method AddBinaryName (line 237) | func (s *SrcPackage) AddBinaryName(name string) { type SrcPackages (line 246) | type SrcPackages method FindByBinName (line 249) | func (s SrcPackages) FindByBinName(name string) (*SrcPackage, bool) { function IsRaspbianPackage (line 270) | func IsRaspbianPackage(name, version string) bool { function RenameKernelSourcePackageName (line 278) | func RenameKernelSourcePackageName(family, name string) string { function IsKernelSourcePackage (line 298) | func IsKernelSourcePackage(family, name string) bool { FILE: models/packages_test.go function TestMergeNewVersion (line 12) | func TestMergeNewVersion(t *testing.T) { function TestMerge (line 47) | func TestMerge(t *testing.T) { function TestAddBinaryName (line 77) | func TestAddBinaryName(t *testing.T) { function TestFindByBinName (line 123) | func TestFindByBinName(t *testing.T) { function TestPackage_FormatVersionFromTo (line 181) | func TestPackage_FormatVersionFromTo(t *testing.T) { function Test_IsRaspbianPackage (line 303) | func Test_IsRaspbianPackage(t *testing.T) { function Test_NewPortStat (line 387) | func Test_NewPortStat(t *testing.T) { function TestRenameKernelSourcePackageName (line 434) | func TestRenameKernelSourcePackageName(t *testing.T) { function TestIsKernelSourcePackage (line 486) | func TestIsKernelSourcePackage(t *testing.T) { FILE: models/scanresults.go type ScanResults (line 19) | type ScanResults type ScanResult (line 22) | type ScanResult struct method FilterInactiveWordPressLibs (line 95) | func (r *ScanResult) FilterInactiveWordPressLibs(detectInactive bool) { method ReportFileName (line 120) | func (r ScanResult) ReportFileName() (name string) { method ReportKeyName (line 128) | func (r ScanResult) ReportKeyName() (name string) { method ServerInfo (line 137) | func (r ScanResult) ServerInfo() string { method ServerInfoTui (line 152) | func (r ScanResult) ServerInfoTui() string { method FormatServerName (line 173) | func (r ScanResult) FormatServerName() (name string) { method FormatTextReportHeader (line 187) | func (r ScanResult) FormatTextReportHeader() string { method FormatUpdatablePkgsSummary (line 214) | func (r ScanResult) FormatUpdatablePkgsSummary() string { method FormatExploitCveSummary (line 235) | func (r ScanResult) FormatExploitCveSummary() string { method FormatMetasploitCveSummary (line 246) | func (r ScanResult) FormatMetasploitCveSummary() string { method FormatKEVCveSummary (line 257) | func (r ScanResult) FormatKEVCveSummary() string { method FormatAlertSummary (line 268) | func (r ScanResult) FormatAlertSummary() string { method isDisplayUpdatableNum (line 282) | func (r ScanResult) isDisplayUpdatableNum(mode config.ScanMode) bool { method IsContainer (line 309) | func (r ScanResult) IsContainer() bool { method ClearFields (line 314) | func (r ScanResult) ClearFields(targetTagNames []string) ScanResult { method CheckEOL (line 334) | func (r *ScanResult) CheckEOL() { method SortForJSONOutput (line 371) | func (r *ScanResult) SortForJSONOutput() { type Container (line 67) | type Container struct type Platform (line 76) | type Platform struct type Kernel (line 82) | type Kernel struct type WindowsKB (line 89) | type WindowsKB struct type CweDict (line 427) | type CweDict method Get (line 436) | func (c CweDict) Get(cweID, lang string) (name, url string, owasp, cwe... type AttentionCWE (line 430) | type AttentionCWE struct function fillAttentionCwe (line 464) | func fillAttentionCwe(dict CweDictEntry, lang string) (owasp, cwe25, san... type CweDictEntry (line 501) | type CweDictEntry struct FILE: models/scanresults_test.go function TestIsDisplayUpdatableNum (line 11) | func TestIsDisplayUpdatableNum(t *testing.T) { function TestScanResult_Sort (line 112) | func TestScanResult_Sort(t *testing.T) { FILE: models/utils.go function ConvertJvnToModel (line 16) | func ConvertJvnToModel(cveID string, jvns []cvedict.Jvn) []CveContent { function ConvertEuvdToModel (line 58) | func ConvertEuvdToModel(cveID string, euvds []cvedict.Euvd) []CveContent { function ConvertNvdToModel (line 131) | func ConvertNvdToModel(cveID string, nvds []cvedict.Nvd) ([]CveContent, ... function ConvertVulncheckToModel (line 232) | func ConvertVulncheckToModel(cveID string, vulnchecks []cvedict.Vulnchec... function ConvertFortinetToModel (line 321) | func ConvertFortinetToModel(cveID string, fortinets []cvedict.Fortinet) ... function ConvertMitreToModel (line 356) | func ConvertMitreToModel(cveID string, mitres []cvedict.Mitre) []CveCont... function ConvertPaloaltoToModel (line 475) | func ConvertPaloaltoToModel(cveID string, paloaltos []cvedict.Paloalto) ... function ConvertCiscoToModel (line 567) | func ConvertCiscoToModel(cveID string, ciscos []cvedict.Cisco) []CveCont... FILE: models/utils_test.go function TestConvertEuvdToModel (line 16) | func TestConvertEuvdToModel(t *testing.T) { function TestConvertVulncheckToModel (line 195) | func TestConvertVulncheckToModel(t *testing.T) { function TestConvertPaloaltoToModel (line 338) | func TestConvertPaloaltoToModel(t *testing.T) { function TestConvertCiscoToModel (line 424) | func TestConvertCiscoToModel(t *testing.T) { FILE: models/vulninfos.go type VulnInfos (line 19) | type VulnInfos method Find (line 22) | func (v VulnInfos) Find(f func(VulnInfo) bool) VulnInfos { method FilterByCvssOver (line 33) | func (v VulnInfos) FilterByCvssOver(over float64) (_ VulnInfos, nFilte... method FilterByConfidenceOver (line 44) | func (v VulnInfos) FilterByConfidenceOver(over int) (_ VulnInfos, nFil... method FilterIgnoreCves (line 57) | func (v VulnInfos) FilterIgnoreCves(ignoreCveIDs []string) (_ VulnInfo... method FilterUnfixed (line 68) | func (v VulnInfos) FilterUnfixed(ignoreUnfixed bool) (_ VulnInfos, nFi... method FilterIgnorePkgs (line 89) | func (v VulnInfos) FilterIgnorePkgs(ignorePkgsRegexps []string) (_ Vul... method FindScoredVulns (line 124) | func (v VulnInfos) FindScoredVulns() (_ VulnInfos, nFiltered int) { method ToSortedSlice (line 135) | func (v VulnInfos) ToSortedSlice() (sorted []VulnInfo) { method CountGroupBySeverity (line 149) | func (v VulnInfos) CountGroupBySeverity() map[string]int { method FormatCveSummary (line 176) | func (v VulnInfos) FormatCveSummary() string { method FormatFixedStatus (line 190) | func (v VulnInfos) FormatFixedStatus(packs Packages) string { method CountDiff (line 202) | func (v VulnInfos) CountDiff() (nPlus int, nMinus int) { type PackageFixStatuses (line 216) | type PackageFixStatuses method Names (line 219) | func (ps PackageFixStatuses) Names() (names []string) { method Store (line 227) | func (ps PackageFixStatuses) Store(pkg PackageFixStatus) PackageFixSta... method Sort (line 239) | func (ps PackageFixStatuses) Sort() { type PackageFixStatus (line 249) | type PackageFixStatus struct type VulnInfo (line 257) | type VulnInfo struct method CveIDDiffFormat (line 383) | func (v VulnInfo) CveIDDiffFormat() string { method Titles (line 391) | func (v VulnInfo) Titles(lang, myFamily string) (values []CveContentSt... method Summaries (line 452) | func (v VulnInfo) Summaries(lang, myFamily string) (values []CveConten... method Cvss2Scores (line 510) | func (v VulnInfo) Cvss2Scores() (values []CveContentCvss) { method Cvss3Scores (line 535) | func (v VulnInfo) Cvss3Scores() (values []CveContentCvss) { method Cvss40Scores (line 608) | func (v VulnInfo) Cvss40Scores() (values []CveContentCvss) { method MaxCvssScore (line 633) | func (v VulnInfo) MaxCvssScore() CveContentCvss { method MaxCvss40Score (line 646) | func (v VulnInfo) MaxCvss40Score() CveContentCvss { method MaxCvss3Score (line 660) | func (v VulnInfo) MaxCvss3Score() CveContentCvss { method MaxCvss2Score (line 674) | func (v VulnInfo) MaxCvss2Score() CveContentCvss { method AttackVector (line 688) | func (v VulnInfo) AttackVector() string { method PatchStatus (line 714) | func (v VulnInfo) PatchStatus(packs Packages) string { method FormatMaxCvssScore (line 844) | func (v VulnInfo) FormatMaxCvssScore() string { type Alert (line 279) | type Alert struct type GitHubSecurityAlerts (line 286) | type GitHubSecurityAlerts method Add (line 289) | func (g GitHubSecurityAlerts) Add(alert GitHubSecurityAlert) GitHubSec... method Names (line 299) | func (g GitHubSecurityAlerts) Names() (names []string) { type GitHubSecurityAlert (line 307) | type GitHubSecurityAlert struct method RepoURLPackageName (line 318) | func (a GitHubSecurityAlert) RepoURLPackageName() string { method RepoURLManifestPath (line 323) | func (a GitHubSecurityAlert) RepoURLManifestPath() string { type GSAVulnerablePackage (line 328) | type GSAVulnerablePackage struct type LibraryFixedIns (line 337) | type LibraryFixedIns method Names (line 340) | func (lfs LibraryFixedIns) Names() (names []string) { type WpPackageFixStats (line 348) | type WpPackageFixStats method Names (line 351) | func (ws WpPackageFixStats) Names() (names []string) { type WpPackages (line 359) | type WpPackages method Add (line 362) | func (g WpPackages) Add(pkg WpPackage) WpPackages { type DiffStatus (line 372) | type DiffStatus constant DiffPlus (line 376) | DiffPlus = DiffStatus("+") constant DiffMinus (line 379) | DiffMinus = DiffStatus("-") type CveContentCvss (line 758) | type CveContentCvss struct type CvssType (line 764) | type CvssType constant CVSS2 (line 768) | CVSS2 CvssType = "2" constant CVSS3 (line 771) | CVSS3 CvssType = "3" constant CVSS40 (line 774) | CVSS40 CvssType = "4.0" type Cvss (line 778) | type Cvss struct method Format (line 787) | func (c Cvss) Format() string { method SeverityToCvssScoreRange (line 795) | func (c Cvss) SeverityToCvssScoreRange() string { function severityToCvssScoreRange (line 799) | func severityToCvssScoreRange(severity string) string { function severityToCvssScoreRoughly (line 829) | func severityToCvssScoreRoughly(severity string) float64 { type DistroAdvisories (line 853) | type DistroAdvisories method AppendIfMissing (line 856) | func (advs *DistroAdvisories) AppendIfMissing(adv *DistroAdvisory) bool { type DistroAdvisory (line 867) | type DistroAdvisory struct method Format (line 876) | func (p DistroAdvisory) Format() string { type Exploit (line 890) | type Exploit struct type Metasploit (line 904) | type Metasploit struct type Mitigation (line 912) | type Mitigation struct type KEVType (line 919) | type KEVType constant CISAKEVType (line 923) | CISAKEVType KEVType = "cisa" constant VulnCheckKEVType (line 925) | VulnCheckKEVType KEVType = "vulncheck" type KEV (line 929) | type KEV struct type CISAKEV (line 945) | type CISAKEV struct type VulnCheckKEV (line 950) | type VulnCheckKEV struct type VulnCheckXDB (line 956) | type VulnCheckXDB struct type VulnCheckReportedExploitation (line 965) | type VulnCheckReportedExploitation struct type AlertDict (line 971) | type AlertDict struct method IsEmpty (line 978) | func (a AlertDict) IsEmpty() bool { method FormatSource (line 983) | func (a AlertDict) FormatSource() string { type Confidences (line 991) | type Confidences method AppendIfMissing (line 994) | func (cs *Confidences) AppendIfMissing(confidence Confidence) { method SortByConfident (line 1004) | func (cs Confidences) SortByConfident() Confidences { type Confidence (line 1013) | type Confidence struct method String (line 1019) | func (c Confidence) String() string { type DetectionMethod (line 1026) | type DetectionMethod constant NvdExactVersionMatchStr (line 1030) | NvdExactVersionMatchStr = "NvdExactVersionMatch" constant NvdRoughVersionMatchStr (line 1033) | NvdRoughVersionMatchStr = "NvdRoughVersionMatch" constant NvdVendorProductMatchStr (line 1036) | NvdVendorProductMatchStr = "NvdVendorProductMatch" constant VulncheckExactVersionMatchStr (line 1039) | VulncheckExactVersionMatchStr = "VulncheckExactVersionMatch" constant VulncheckRoughVersionMatchStr (line 1042) | VulncheckRoughVersionMatchStr = "VulncheckRoughVersionMatch" constant VulncheckVendorProductMatchStr (line 1045) | VulncheckVendorProductMatchStr = "VulncheckVendorProductMatch" constant JvnVendorProductMatchStr (line 1048) | JvnVendorProductMatchStr = "JvnVendorProductMatch" constant FortinetExactVersionMatchStr (line 1051) | FortinetExactVersionMatchStr = "FortinetExactVersionMatch" constant FortinetRoughVersionMatchStr (line 1054) | FortinetRoughVersionMatchStr = "FortinetRoughVersionMatch" constant FortinetVendorProductMatchStr (line 1057) | FortinetVendorProductMatchStr = "FortinetVendorProductMatch" constant PaloaltoExactVersionMatchStr (line 1060) | PaloaltoExactVersionMatchStr = "PaloaltoExactVersionMatch" constant PaloaltoRoughVersionMatchStr (line 1063) | PaloaltoRoughVersionMatchStr = "PaloaltoRoughVersionMatch" constant PaloaltoVendorProductMatchStr (line 1066) | PaloaltoVendorProductMatchStr = "PaloaltoVendorProductMatch" constant CiscoExactVersionMatchStr (line 1069) | CiscoExactVersionMatchStr = "CiscoExactVersionMatch" constant CiscoRoughVersionMatchStr (line 1072) | CiscoRoughVersionMatchStr = "CiscoRoughVersionMatch" constant CiscoVendorProductMatchStr (line 1075) | CiscoVendorProductMatchStr = "CiscoVendorProductMatch" constant PkgAuditMatchStr (line 1078) | PkgAuditMatchStr = "PkgAuditMatch" constant OvalMatchStr (line 1081) | OvalMatchStr = "OvalMatch" constant RedHatAPIStr (line 1084) | RedHatAPIStr = "RedHatAPIMatch" constant DebianSecurityTrackerMatchStr (line 1087) | DebianSecurityTrackerMatchStr = "DebianSecurityTrackerMatch" constant UbuntuAPIMatchStr (line 1090) | UbuntuAPIMatchStr = "UbuntuAPIMatch" constant WindowsUpdateSearchStr (line 1093) | WindowsUpdateSearchStr = "WindowsUpdateSearch" constant WindowsRoughMatchStr (line 1096) | WindowsRoughMatchStr = "WindowsRoughMatch" constant TrivyMatchStr (line 1099) | TrivyMatchStr = "TrivyMatch" constant ChangelogExactMatchStr (line 1102) | ChangelogExactMatchStr = "ChangelogExactMatch" constant ChangelogRoughMatchStr (line 1105) | ChangelogRoughMatchStr = "ChangelogRoughMatch" constant GitHubMatchStr (line 1108) | GitHubMatchStr = "GitHubMatch" constant WpScanMatchStr (line 1111) | WpScanMatchStr = "WpScanMatch" constant FailedToGetChangelog (line 1114) | FailedToGetChangelog = "FailedToGetChangelog" constant FailedToFindVersionInChangelog (line 1117) | FailedToFindVersionInChangelog = "FailedToFindVersionInChangelog" FILE: models/vulninfos_test.go function TestTitles (line 9) | func TestTitles(t *testing.T) { function TestSummaries (line 110) | func TestSummaries(t *testing.T) { function TestCountGroupBySeverity (line 213) | func TestCountGroupBySeverity(t *testing.T) { function TestToSortedSlice (line 338) | func TestToSortedSlice(t *testing.T) { function TestCvss2Scores (line 505) | func TestCvss2Scores(t *testing.T) { function TestMaxCvss2Scores (line 584) | func TestMaxCvss2Scores(t *testing.T) { function TestCvss3Scores (line 645) | func TestCvss3Scores(t *testing.T) { function TestMaxCvss3Scores (line 735) | func TestMaxCvss3Scores(t *testing.T) { function TestMaxCvssScores (line 783) | func TestMaxCvssScores(t *testing.T) { function TestFormatMaxCvssScore (line 984) | func TestFormatMaxCvssScore(t *testing.T) { function TestSortPackageStatues (line 1043) | func TestSortPackageStatues(t *testing.T) { function TestStorePackageStatuses (line 1089) | func TestStorePackageStatuses(t *testing.T) { function TestAppendIfMissing (line 1118) | func TestAppendIfMissing(t *testing.T) { function TestSortByConfident (line 1152) | func TestSortByConfident(t *testing.T) { function TestDistroAdvisories_AppendIfMissing (line 1186) | func TestDistroAdvisories_AppendIfMissing(t *testing.T) { function TestVulnInfo_AttackVector (line 1248) | func TestVulnInfo_AttackVector(t *testing.T) { function TestVulnInfos_FilterByCvssOver (line 1331) | func TestVulnInfos_FilterByCvssOver(t *testing.T) { function TestVulnInfos_FilterIgnoreCves (line 1506) | func TestVulnInfos_FilterIgnoreCves(t *testing.T) { function TestVulnInfos_FilterUnfixed (line 1555) | func TestVulnInfos_FilterUnfixed(t *testing.T) { function TestVulnInfos_FilterIgnorePkgs (line 1642) | func TestVulnInfos_FilterIgnorePkgs(t *testing.T) { function TestVulnInfos_FilterByConfidenceOver (line 1726) | func TestVulnInfos_FilterByConfidenceOver(t *testing.T) { function TestVulnInfo_PatchStatus (line 1807) | func TestVulnInfo_PatchStatus(t *testing.T) { function TestVulnInfo_Cvss40Scores (line 1962) | func TestVulnInfo_Cvss40Scores(t *testing.T) { function TestVulnInfo_MaxCvss40Score (line 2034) | func TestVulnInfo_MaxCvss40Score(t *testing.T) { function TestVulnInfos_FormatFixedStatus (line 2086) | func TestVulnInfos_FormatFixedStatus(t *testing.T) { FILE: models/wordpress.go type WordPressPackages (line 4) | type WordPressPackages method CoreVersion (line 7) | func (w WordPressPackages) CoreVersion() string { method Plugins (line 17) | func (w WordPressPackages) Plugins() (ps []WpPackage) { method Themes (line 27) | func (w WordPressPackages) Themes() (ps []WpPackage) { method Find (line 37) | func (w WordPressPackages) Find(name string) (ps *WpPackage, found boo... constant WPCore (line 48) | WPCore = "core" constant WPPlugin (line 50) | WPPlugin = "plugin" constant WPTheme (line 52) | WPTheme = "theme" constant Inactive (line 55) | Inactive = "inactive" type WpPackage (line 59) | type WpPackage struct type WpPackageFixStatus (line 68) | type WpPackageFixStatus struct FILE: reporter/azureblob.go type AzureBlobWriter (line 17) | type AzureBlobWriter struct method Write (line 28) | func (w AzureBlobWriter) Write(rs ...models.ScanResult) (err error) { method Validate (line 84) | func (w AzureBlobWriter) Validate() error { method getBlobClient (line 105) | func (w AzureBlobWriter) getBlobClient() (*azblob.Client, error) { method createBlockBlob (line 119) | func (w AzureBlobWriter) createBlockBlob(cli *azblob.Client, k string,... FILE: reporter/chatwork.go type ChatWorkWriter (line 18) | type ChatWorkWriter struct method Write (line 24) | func (w ChatWorkWriter) Write(rs ...models.ScanResult) (err error) { method chatWorkpostMessage (line 55) | func (w ChatWorkWriter) chatWorkpostMessage(message string) error { FILE: reporter/email.go type EMailWriter (line 20) | type EMailWriter struct method Write (line 28) | func (w EMailWriter) Write(rs ...models.ScanResult) (err error) { type EMailSender (line 94) | type EMailSender interface type emailSender (line 98) | type emailSender struct method sendMail (line 102) | func (e *emailSender) sendMail(smtpServerAddr, message string) (err er... method Send (line 193) | func (e *emailSender) Send(subject, body string) (err error) { method newSaslClient (line 225) | func (e *emailSender) newSaslClient(authList []string) sasl.Client { function NewEMailSender (line 221) | func NewEMailSender(cnf config.SMTPConf) EMailSender { FILE: reporter/googlechat.go type GoogleChatWriter (line 19) | type GoogleChatWriter struct method Write (line 25) | func (w GoogleChatWriter) Write(rs ...models.ScanResult) (err error) { method postMessage (line 75) | func (w GoogleChatWriter) postMessage(message string) error { method checkResponse (line 97) | func (w GoogleChatWriter) checkResponse(r *http.Response) error { FILE: reporter/http.go type HTTPRequestWriter (line 15) | type HTTPRequestWriter struct method Write (line 20) | func (w HTTPRequestWriter) Write(rs ...models.ScanResult) (err error) { type HTTPResponseWriter (line 44) | type HTTPResponseWriter struct method Write (line 49) | func (w HTTPResponseWriter) Write(rs ...models.ScanResult) (err error) { FILE: reporter/localfile.go type LocalFileWriter (line 17) | type LocalFileWriter struct method Write (line 33) | func (w LocalFileWriter) Write(rs ...models.ScanResult) (err error) { method writeFile (line 136) | func (w LocalFileWriter) writeFile(path string, data []byte, perm os.F... FILE: reporter/s3.go type S3Writer (line 24) | type S3Writer struct method getS3 (line 34) | func (w S3Writer) getS3() (*s3.Client, error) { method Write (line 65) | func (w S3Writer) Write(rs ...models.ScanResult) (err error) { method Validate (line 122) | func (w S3Writer) Validate() error { method putObject (line 152) | func (w S3Writer) putObject(svc *s3.Client, k string, b []byte, gzip b... FILE: reporter/sbom/cyclonedx.go function ToCycloneDX (line 21) | func ToCycloneDX(r models.ScanResult) *cdx.BOM { function SerializeCycloneDX (line 30) | func SerializeCycloneDX(bom *cdx.BOM, format cdx.BOMFileFormat) ([]byte,... function cdxMetadata (line 40) | func cdxMetadata(result models.ScanResult) *cdx.Metadata { function cdxComponents (line 58) | func cdxComponents(result models.ScanResult, metaBomRef string) (*[]cdx.... function osToCdxComponent (line 116) | func osToCdxComponent(r models.ScanResult) *cdx.Component { function ospkgToCdxComponents (line 163) | func ospkgToCdxComponents(r models.ScanResult, ospkgToPURL map[string]st... function cpeToCdxComponents (line 228) | func cpeToCdxComponents(scannedCves models.VulnInfos) []cdx.Component { function libpkgToCdxComponents (line 264) | func libpkgToCdxComponents(libscanner models.LibraryScanner, libpkgToPUR... function ghpkgToCdxComponents (line 298) | func ghpkgToCdxComponents(m models.DependencyGraphManifest, ghpkgToPURL ... function wppkgToCdxComponents (line 332) | func wppkgToCdxComponents(wppkgs models.WordPressPackages, wppkgToPURL m... function cdxDependencies (line 366) | func cdxDependencies(bomRefs map[string][]string) *[]cdx.Dependency { function cdxVulnerabilities (line 378) | func cdxVulnerabilities(result models.ScanResult, ospkgToPURL map[string... function cdxRatings (line 393) | func cdxRatings(cveContents models.CveContents) *[]cdx.VulnerabilityRati... function cdxCVSS2Rating (line 416) | func cdxCVSS2Rating(source, vector string, score float64, severity strin... function cdxCVSS3Rating (line 438) | func cdxCVSS3Rating(source, vector string, score float64, severity strin... function cdxCVSS40Rating (line 467) | func cdxCVSS40Rating(source, vector string, score float64, severity stri... function cdxAffects (line 493) | func cdxAffects(cve models.VulnInfo, ospkgToPURL map[string]string, libp... function cdxCWEs (line 528) | func cdxCWEs(cveContents models.CveContents) *[]int { function cdxDescription (line 553) | func cdxDescription(cveContents models.CveContents) string { function cdxAdvisories (line 560) | func cdxAdvisories(cveContents models.CveContents) *[]cdx.Advisory { FILE: reporter/sbom/cyclonedx_test.go function TestToCycloneDX (line 15) | func TestToCycloneDX(t *testing.T) { FILE: reporter/sbom/purl.go function osPkgToPURL (line 14) | func osPkgToPURL(osFamily, osVersion string, pkg models.Package) *packag... function libPkgToPURL (line 61) | func libPkgToPURL(libScanner models.LibraryScanner, lib models.Library) ... function ghPkgToPURL (line 72) | func ghPkgToPURL(m models.DependencyGraphManifest, dep models.Dependency... function wpPkgToPURL (line 78) | func wpPkgToPURL(wpPkg models.WpPackage) *packageurl.PackageURL { function purlType (line 82) | func purlType(t ftypes.LangType) string { function ghEcosystemToPurlType (line 119) | func ghEcosystemToPurlType(t string) string { function parsePkgName (line 152) | func parsePkgName(t, n string) (string, string, string) { FILE: reporter/sbom/purl_test.go function TestParsePkgName (line 9) | func TestParsePkgName(t *testing.T) { FILE: reporter/sbom/spdx.go constant creatorOrganization (line 21) | creatorOrganization = "future-architect" constant creatorTool (line 22) | creatorTool = "vuls" constant documentNamespace (line 23) | documentNamespace = "https://www.future.co.jp/spdxdoc" constant documentSPDXIdentifier (line 25) | documentSPDXIdentifier = "DOCUMENT" constant elementOperatingSystem (line 26) | elementOperatingSystem = "Operating-System" constant elementPackage (line 27) | elementPackage = "Package" constant packagePurposeOS (line 29) | packagePurposeOS = "OPERATING-SYSTEM" constant packagePurposeApplication (line 30) | packagePurposeApplication = "APPLICATION" constant packagePurposeLibrary (line 31) | packagePurposeLibrary = "LIBRARY" constant packageAnnotatorTool (line 33) | packageAnnotatorTool = "Tool" constant annotationOther (line 34) | annotationOther = "Other" constant valueNone (line 36) | valueNone = "NONE" constant relationshipDescribe (line 38) | relationshipDescribe = common.TypeRelationshipDescribe constant relationshipContains (line 39) | relationshipContains = common.TypeRelationshipContains constant relationshipDepensOn (line 40) | relationshipDepensOn = common.TypeRelationshipDependsOn constant categoryPackageManager (line 42) | categoryPackageManager = common.CategoryPackageManager constant packageManagerPURL (line 43) | packageManagerPURL = common.TypePackageManagerPURL constant categorySecurity (line 45) | categorySecurity = common.CategorySecurity constant securityCPE23Type (line 46) | securityCPE23Type = common.TypeSecurityCPE23Type constant securityAdvisory (line 47) | securityAdvisory = common.TypeSecurityAdvisory function ToSPDX (line 51) | func ToSPDX(r models.ScanResult, toolName string) spdx.Document { function SerializeSPDX (line 75) | func SerializeSPDX(doc spdx.Document) ([]byte, error) { function osToSpdxPackage (line 79) | func osToSpdxPackage(r models.ScanResult) spdx.Package { function spdxCreationInfo (line 113) | func spdxCreationInfo(result models.ScanResult, toolName string) spdx.Cr... function spdxPackages (line 127) | func spdxPackages(result models.ScanResult, root spdx.Package) ([]*spdx.... function ospkgToSPDXPackages (line 196) | func ospkgToSPDXPackages(r models.ScanResult, packageToURLMap map[string... function cpeToSPDXPackages (line 253) | func cpeToSPDXPackages(r models.ScanResult, packageToURLMap map[string][... function libpkgToSPDXPackages (line 295) | func libpkgToSPDXPackages(libScanner models.LibraryScanner, packageToURL... function ghpkgToSPDXPackages (line 333) | func ghpkgToSPDXPackages(ghm models.DependencyGraphManifest, packageToUR... function wppkgToSPDXPackages (line 371) | func wppkgToSPDXPackages(wppkgs models.WordPressPackages, packageToURLMa... function generateSDPXIDentifier (line 409) | func generateSDPXIDentifier(packageType string) spdx.ElementID { function appendAnnotation (line 413) | func appendAnnotation(annotations []spdx.Annotation, key, value string, ... function appendExternalRefs (line 428) | func appendExternalRefs(extRefs []*spdx.PackageExternalReference, catego... function makeSPDXRelationship (line 440) | func makeSPDXRelationship(refA, refB spdx.ElementID, relationship string... function createPackageToURLMap (line 458) | func createPackageToURLMap(r models.ScanResult) map[string][]string { function sortSDPXDocument (line 527) | func sortSDPXDocument(doc *spdx.Document) { FILE: reporter/sbom/spdx_test.go function TestToSPDX (line 16) | func TestToSPDX(t *testing.T) { FILE: reporter/slack.go type SlackWriter (line 20) | type SlackWriter struct method Write (line 37) | func (w SlackWriter) Write(rs ...models.ScanResult) (err error) { method send (line 137) | func (w SlackWriter) send(msg message) error { method toSlackAttachments (line 170) | func (w SlackWriter) toSlackAttachments(r models.ScanResult) (attaches... method attachmentText (line 252) | func (w SlackWriter) attachmentText(vinfo models.VulnInfo, cweDict map... method cweIDs (line 330) | func (w SlackWriter) cweIDs(vinfo models.VulnInfo, osFamily string, cw... method getNotifyUsers (line 353) | func (w SlackWriter) getNotifyUsers(notifyUsers []string) string { type message (line 28) | type message struct function cvssColor (line 239) | func cvssColor(cvssScore float64) string { FILE: reporter/slack_test.go function TestGetNotifyUsers (line 5) | func TestGetNotifyUsers(t *testing.T) { FILE: reporter/stdout.go type StdoutWriter (line 11) | type StdoutWriter struct method WriteScanSummary (line 20) | func (w StdoutWriter) WriteScanSummary(rs ...models.ScanResult) { method Write (line 28) | func (w StdoutWriter) Write(rs ...models.ScanResult) error { FILE: reporter/syslog.go type SyslogWriter (line 17) | type SyslogWriter struct method Write (line 22) | func (w SyslogWriter) Write(rs ...models.ScanResult) (err error) { method encodeSyslog (line 43) | func (w SyslogWriter) encodeSyslog(result models.ScanResult) (messages... FILE: reporter/syslog_test.go function TestSyslogWriterEncodeSyslog (line 13) | func TestSyslogWriterEncodeSyslog(t *testing.T) { FILE: reporter/telegram.go type TelegramWriter (line 19) | type TelegramWriter struct method Write (line 25) | func (w TelegramWriter) Write(rs ...models.ScanResult) (err error) { method sendMessage (line 61) | func (w TelegramWriter) sendMessage(chatID, token, message string) err... method checkResponse (line 85) | func (w TelegramWriter) checkResponse(r *http.Response) error { FILE: reporter/util.go constant maxColWidth (line 33) | maxColWidth = 100 function OverwriteJSONFile (line 37) | func OverwriteJSONFile(dir string, r models.ScanResult) error { function LoadScanResults (line 49) | func LoadScanResults(jsonDir string) (results models.ScanResults, err er... function loadOneServerScanResult (line 73) | func loadOneServerScanResult(jsonFile string) (*models.ScanResult, error) { function ListValidJSONDirs (line 97) | func ListValidJSONDirs(resultsDir string) (dirs []string, err error) { function JSONDir (line 124) | func JSONDir(resultsDir string, args []string) (path string, err error) { function formatScanSummary (line 165) | func formatScanSummary(rs ...models.ScanResult) string { function formatOneLineSummary (line 203) | func formatOneLineSummary(rs ...models.ScanResult) string { function formatList (line 245) | func formatList(r models.ScanResult) (string, error) { function formatFullPlainText (line 349) | func formatFullPlainText(r models.ScanResult) (string, error) { function terminalWidth (line 661) | func terminalWidth() int { function formatCsvList (line 688) | func formatCsvList(r models.ScanResult, path string) error { function diff (line 728) | func diff(curResults, preResults models.ScanResults, isPlus, isMinus boo... function getPlusDiffCves (line 777) | func getPlusDiffCves(previous, current models.ScanResult) models.VulnInf... function getMinusDiffCves (line 817) | func getMinusDiffCves(previous, current models.ScanResult) models.VulnIn... function isCveInfoUpdated (line 838) | func isCveInfoUpdated(cveID string, previous, current models.ScanResult)... FILE: reporter/util_test.go function TestMain (line 13) | func TestMain(m *testing.M) { function TestIsCveInfoUpdated (line 20) | func TestIsCveInfoUpdated(t *testing.T) { function TestPlusMinusDiff (line 176) | func TestPlusMinusDiff(t *testing.T) { function TestPlusDiff (line 327) | func TestPlusDiff(t *testing.T) { function TestMinusDiff (line 482) | func TestMinusDiff(t *testing.T) { FILE: reporter/writer.go type ResultWriter (line 11) | type ResultWriter interface function gz (line 15) | func gz(data []byte) ([]byte, error) { FILE: saas/saas.go type Writer (line 29) | type Writer struct method Write (line 51) | func (w Writer) Write(rs ...models.ScanResult) error { type TempCredential (line 36) | type TempCredential struct type payload (line 42) | type payload struct function renameKeyName (line 146) | func renameKeyName(uuid string, container models.Container) string { FILE: saas/uuid.go function EnsureUUIDs (line 20) | func EnsureUUIDs(servers map[string]config.ServerInfo, path string, scan... function ensure (line 32) | func ensure(servers map[string]config.ServerInfo, scanResults models.Sca... function writeToFile (line 98) | func writeToFile(cnf config.Config, path string) error { function cleanForTOMLEncoding (line 149) | func cleanForTOMLEncoding(server config.ServerInfo, def config.ServerInf... FILE: saas/uuid_test.go function mockGenerateFunc (line 11) | func mockGenerateFunc() (string, error) { function Test_ensure (line 15) | func Test_ensure(t *testing.T) { FILE: scanner/alma.go type alma (line 10) | type alma struct method checkScanMode (line 32) | func (o *alma) checkScanMode() error { method checkDeps (line 36) | func (o *alma) checkDeps() error { method depsFast (line 46) | func (o *alma) depsFast() []string { method depsFastRoot (line 56) | func (o *alma) depsFastRoot() []string { method depsDeep (line 66) | func (o *alma) depsDeep() []string { method checkIfSudoNoPasswd (line 70) | func (o *alma) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 80) | func (o *alma) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsFastRoot (line 84) | func (o *alma) sudoNoPasswdCmdsFastRoot() []cmd { method sudoNoPasswdCmdsDeep (line 102) | func (o *alma) sudoNoPasswdCmdsDeep() []cmd { function newAlma (line 15) | func newAlma(c config.ServerInfo) *alma { type rootPrivAlma (line 106) | type rootPrivAlma struct method repoquery (line 108) | func (o rootPrivAlma) repoquery() bool { method yumMakeCache (line 112) | func (o rootPrivAlma) yumMakeCache() bool { method yumPS (line 116) | func (o rootPrivAlma) yumPS() bool { FILE: scanner/alpine.go type alpine (line 17) | type alpine struct method checkScanMode (line 50) | func (o *alpine) checkScanMode() error { method checkDeps (line 54) | func (o *alpine) checkDeps() error { method checkIfSudoNoPasswd (line 59) | func (o *alpine) checkIfSudoNoPasswd() error { method apkUpdate (line 64) | func (o *alpine) apkUpdate() error { method preCure (line 75) | func (o *alpine) preCure() error { method postScan (line 84) | func (o *alpine) postScan() error { method detectIPAddr (line 88) | func (o *alpine) detectIPAddr() (err error) { method scanPackages (line 93) | func (o *alpine) scanPackages() error { method scanInstalledPackages (line 130) | func (o *alpine) scanInstalledPackages() (models.Packages, models.SrcP... method parseInstalledPackages (line 144) | func (o *alpine) parseInstalledPackages(stdout string) (models.Package... method parseApkInstalledList (line 150) | func (o *alpine) parseApkInstalledList(stdout string) (models.Packages... method parseApkIndex (line 191) | func (o *alpine) parseApkIndex(stdout string) (models.Packages, models... method scanUpdatablePackages (line 251) | func (o *alpine) scanUpdatablePackages() (models.Packages, error) { method parseApkUpgradableList (line 265) | func (o *alpine) parseApkUpgradableList(stdout string) (models.Package... method parseApkVersion (line 293) | func (o *alpine) parseApkVersion(stdout string) (models.Packages, erro... function newAlpine (line 22) | func newAlpine(c config.ServerInfo) *alpine { function detectAlpine (line 38) | func detectAlpine(c config.ServerInfo) (bool, osTypeInterface) { constant apkListPattern (line 148) | apkListPattern = `(?P.+) (?P.+) \{(?P.+)\} \(.+\) ... FILE: scanner/alpine_test.go function Test_alpine_parseApkInstalledList (line 11) | func Test_alpine_parseApkInstalledList(t *testing.T) { function Test_alpine_parseApkIndex (line 80) | func Test_alpine_parseApkIndex(t *testing.T) { function Test_alpine_parseApkUpgradableList (line 299) | func Test_alpine_parseApkUpgradableList(t *testing.T) { function TestParseApkVersion (line 362) | func TestParseApkVersion(t *testing.T) { FILE: scanner/amazon.go type amazon (line 15) | type amazon struct method checkScanMode (line 37) | func (o *amazon) checkScanMode() error { method checkDeps (line 41) | func (o *amazon) checkDeps() error { method depsFast (line 54) | func (o *amazon) depsFast() []string { method depsFastRoot (line 70) | func (o *amazon) depsFastRoot() []string { method depsDeep (line 82) | func (o *amazon) depsDeep() []string { method checkIfSudoNoPasswd (line 86) | func (o *amazon) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 96) | func (o *amazon) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsFastRoot (line 100) | func (o *amazon) sudoNoPasswdCmdsFastRoot() []cmd { method sudoNoPasswdCmdsDeep (line 111) | func (o *amazon) sudoNoPasswdCmdsDeep() []cmd { function newAmazon (line 20) | func newAmazon(c config.ServerInfo) *amazon { type rootPrivAmazon (line 115) | type rootPrivAmazon struct method repoquery (line 117) | func (o rootPrivAmazon) repoquery() bool { method yumMakeCache (line 121) | func (o rootPrivAmazon) yumMakeCache() bool { method yumPS (line 125) | func (o rootPrivAmazon) yumPS() bool { FILE: scanner/base.go type base (line 81) | type base struct method exec (line 110) | func (l *base) exec(cmd string, sudo bool) execResult { method setServerInfo (line 114) | func (l *base) setServerInfo(c config.ServerInfo) { method getServerInfo (line 118) | func (l *base) getServerInfo() config.ServerInfo { method setDistro (line 122) | func (l *base) setDistro(fam, rel string) { method getDistro (line 134) | func (l *base) getDistro() config.Distro { method setPlatform (line 138) | func (l *base) setPlatform(p models.Platform) { method getPlatform (line 142) | func (l *base) getPlatform() models.Platform { method runningKernel (line 146) | func (l *base) runningKernel() (release, version string, err error) { method allContainers (line 166) | func (l *base) allContainers() (containers []config.Container, err err... method runningContainers (line 192) | func (l *base) runningContainers() (containers []config.Container, err... method exitedContainers (line 218) | func (l *base) exitedContainers() (containers []config.Container, err ... method dockerPs (line 244) | func (l *base) dockerPs(option string) (string, error) { method lxdPs (line 253) | func (l *base) lxdPs(option string) (string, error) { method lxcPs (line 262) | func (l *base) lxcPs(option string) (string, error) { method parseDockerPs (line 271) | func (l *base) parseDockerPs(stdout string) (containers []config.Conta... method parseLxdPs (line 290) | func (l *base) parseLxdPs(stdout string) (containers []config.Containe... method parseLxcPs (line 311) | func (l *base) parseLxcPs(stdout string) (containers []config.Containe... method ip (line 327) | func (l *base) ip() ([]string, []string, error) { method parseIP (line 341) | func (l *base) parseIP(stdout string) (ipv4Addrs []string, ipv6Addrs [... method parseIfconfig (line 365) | func (l *base) parseIfconfig(stdout string) (ipv4Addrs []string, ipv6A... method detectPlatform (line 389) | func (l *base) detectPlatform() { method detectDeepSecurity (line 413) | func (l *base) detectDeepSecurity() (string, error) { method detectIPS (line 429) | func (l *base) detectIPS() { method detectRunningOnAws (line 439) | func (l *base) detectRunningOnAws() (ok bool, instanceID string, err e... method isAwsInstanceID (line 501) | func (l *base) isAwsInstanceID(str string) bool { method convertToModel (line 505) | func (l *base) convertToModel() models.ScanResult { method setErrs (line 558) | func (l *base) setErrs(errs []error) { method getErrs (line 562) | func (l *base) getErrs() []error { method setLogger (line 566) | func (l *base) setLogger(logger logging.Logger) { method detectInitSystem (line 577) | func (l *base) detectInitSystem() (string, error) { method detectServiceName (line 609) | func (l *base) detectServiceName(pid string) (string, error) { method parseSystemctlStatus (line 618) | func (l *base) parseSystemctlStatus(stdout string) string { method scanLibraries (line 631) | func (l *base) scanLibraries() (err error) { method buildWpCliCmd (line 920) | func (l *base) buildWpCliCmd(wpCliArgs string, suppressStderr bool, sh... method scanWordPress (line 939) | func (l *base) scanWordPress() error { method detectShell (line 969) | func (l *base) detectShell() (string, error) { method detectWordPress (line 995) | func (l *base) detectWordPress(shell string) (*models.WordPressPackage... method detectWpCore (line 1023) | func (l *base) detectWpCore(shell string) (string, error) { method detectWpThemes (line 1033) | func (l *base) detectWpThemes(shell string) ([]models.WpPackage, error) { method detectWpPlugins (line 1051) | func (l *base) detectWpPlugins(shell string) ([]models.WpPackage, erro... method scanPorts (line 1068) | func (l *base) scanPorts() (err error) { method detectScanDest (line 1080) | func (l *base) detectScanDest() map[string][]string { method execPortsScan (line 1122) | func (l *base) execPortsScan(scanDestIPPorts map[string][]string) ([]s... method execNativePortScan (line 1139) | func (l *base) execNativePortScan(scanDestIPPorts map[string][]string)... method execExternalPortScan (line 1184) | func (l *base) execExternalPortScan(scanDestIPPorts map[string][]strin... method setScanTechniques (line 1279) | func (l *base) setScanTechniques() (func(*nmap.Scanner), error) { method updatePortStatus (line 1313) | func (l *base) updatePortStatus(listenIPPorts []string) { method findPortTestSuccessOn (line 1329) | func (l *base) findPortTestSuccessOn(listenIPPorts []string, searchLis... method ps (line 1350) | func (l *base) ps() (string, error) { method parsePs (line 1359) | func (l *base) parsePs(stdout string) map[string]string { method lsProcExe (line 1373) | func (l *base) lsProcExe(pid string) (string, error) { method parseLsProcExe (line 1382) | func (l *base) parseLsProcExe(stdout string) (string, error) { method grepProcMap (line 1390) | func (l *base) grepProcMap(pid string) (string, error) { method parseGrepProcMap (line 1399) | func (l *base) parseGrepProcMap(stdout string) (soPaths []string) { method lsOfListen (line 1409) | func (l *base) lsOfListen() (string, error) { method parseLsOf (line 1418) | func (l *base) parseLsOf(stdout string) map[string][]string { method pkgPs (line 1436) | func (l *base) pkgPs(getOwnerPkgs func([]string) ([]string, error)) er... type osPackages (line 96) | type osPackages struct constant systemd (line 571) | systemd = "systemd" constant upstart (line 572) | upstart = "upstart" constant sysVinit (line 573) | sysVinit = "init" function AnalyzeLibrary (line 753) | func AnalyzeLibrary(ctx context.Context, path string, contents []byte, f... type DummyFileInfo (line 896) | type DummyFileInfo struct method Name (line 903) | func (d *DummyFileInfo) Name() string { return d.name } method Size (line 906) | func (d *DummyFileInfo) Size() int64 { return d.size } method Mode (line 909) | func (d *DummyFileInfo) Mode() os.FileMode { return d.filemode } method ModTime (line 912) | func (d *DummyFileInfo) ModTime() time.Time { return time.Now() } method IsDir (line 915) | func (d *DummyFileInfo) IsDir() bool { return false } method Sys (line 918) | func (d *DummyFileInfo) Sys() any { return nil } function nativeScanPort (line 1165) | func nativeScanPort(scanDest string) (bool, error) { function formatNmapOptionsToString (line 1262) | func formatNmapOptionsToString(conf *config.PortScanConf) string { FILE: scanner/base_test.go function TestParseDockerPs (line 28) | func TestParseDockerPs(t *testing.T) { function TestParseLxdPs (line 62) | func TestParseLxdPs(t *testing.T) { function TestParseIp (line 99) | func TestParseIp(t *testing.T) { function TestParseIfconfig (line 129) | func TestParseIfconfig(t *testing.T) { function TestIsAwsInstanceID (line 168) | func TestIsAwsInstanceID(t *testing.T) { function TestParseSystemctlStatus (line 190) | func TestParseSystemctlStatus(t *testing.T) { function Test_base_parseLsProcExe (line 222) | func Test_base_parseLsProcExe(t *testing.T) { function Test_base_parseGrepProcMap (line 256) | func Test_base_parseGrepProcMap(t *testing.T) { function Test_base_parseLsOf (line 291) | func Test_base_parseLsOf(t *testing.T) { function Test_detectScanDest (line 353) | func Test_detectScanDest(t *testing.T) { function Test_updatePortStatus (line 439) | func Test_updatePortStatus(t *testing.T) { function Test_findPortScanSuccessOn (line 519) | func Test_findPortScanSuccessOn(t *testing.T) { FILE: scanner/centos.go type centos (line 10) | type centos struct method checkScanMode (line 32) | func (o *centos) checkScanMode() error { method checkDeps (line 36) | func (o *centos) checkDeps() error { method depsFast (line 46) | func (o *centos) depsFast() []string { method depsFastRoot (line 56) | func (o *centos) depsFastRoot() []string { method depsDeep (line 66) | func (o *centos) depsDeep() []string { method checkIfSudoNoPasswd (line 70) | func (o *centos) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 80) | func (o *centos) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsFastRoot (line 84) | func (o *centos) sudoNoPasswdCmdsFastRoot() []cmd { method sudoNoPasswdCmdsDeep (line 100) | func (o *centos) sudoNoPasswdCmdsDeep() []cmd { function newCentOS (line 15) | func newCentOS(c config.ServerInfo) *centos { type rootPrivCentos (line 104) | type rootPrivCentos struct method repoquery (line 106) | func (o rootPrivCentos) repoquery() bool { method yumMakeCache (line 110) | func (o rootPrivCentos) yumMakeCache() bool { method yumPS (line 114) | func (o rootPrivCentos) yumPS() bool { FILE: scanner/debian.go type debian (line 25) | type debian struct method checkScanMode (line 121) | func (o *debian) checkScanMode() error { method checkIfSudoNoPasswd (line 125) | func (o *debian) checkIfSudoNoPasswd() error { method checkDeps (line 175) | func (o *debian) checkDeps() error { method preCure (line 240) | func (o *debian) preCure() error { method postScan (line 249) | func (o *debian) postScan() error { method detectIPAddr (line 268) | func (o *debian) detectIPAddr() (err error) { method scanPackages (line 273) | func (o *debian) scanPackages() error { method rebootRequired (line 330) | func (o *debian) rebootRequired() (bool, error) { method scanInstalledPackages (line 344) | func (o *debian) scanInstalledPackages() (models.Packages, models.Pack... method parseInstalledPackages (line 386) | func (o *debian) parseInstalledPackages(stdout string) (models.Package... method parseScannedPackagesLine (line 489) | func (o *debian) parseScannedPackagesLine(line string) (name, status, ... method aptGetUpdate (line 520) | func (o *debian) aptGetUpdate() error { method grepRaspbianPackages (line 529) | func (o *debian) grepRaspbianPackages(updatables models.Packages) mode... method scanUnsecurePackages (line 540) | func (o *debian) scanUnsecurePackages(updatable models.Packages) (mode... method ensureChangelogCache (line 580) | func (o *debian) ensureChangelogCache(current cache.Meta) (*cache.Meta... method fillCandidateVersion (line 617) | func (o *debian) fillCandidateVersion(updatables models.Packages) (err... method getUpdatablePackNames (line 644) | func (o *debian) getUpdatablePackNames() (packNames []string, err erro... method parseAptGetUpgrade (line 655) | func (o *debian) parseAptGetUpgrade(stdout string) (updatableNames []s... method makeTempChangelogDir (line 696) | func (o *debian) makeTempChangelogDir() (string, error) { method deleteTempChangelogDir (line 719) | func (o *debian) deleteTempChangelogDir(tmpClogPath string) error { method scanChangelogs (line 737) | func (o *debian) scanChangelogs(updatablePacks models.Packages, meta *... method getChangelogCache (line 841) | func (o *debian) getChangelogCache(meta *cache.Meta, pack models.Packa... method fetchParseChangelog (line 869) | func (o *debian) fetchParseChangelog(pack models.Package, tmpClogPath ... method getChangelogPath (line 910) | func (o *debian) getChangelogPath(packName, tmpClogPath string) (strin... method getCveIDsFromChangelog (line 968) | func (o *debian) getCveIDsFromChangelog( method parseChangelog (line 1031) | func (o *debian) parseChangelog(changelog, name, ver string, confidenc... method splitAptCachePolicy (line 1107) | func (o *debian) splitAptCachePolicy(stdout string) map[string]string { method parseAptCachePolicy (line 1137) | func (o *debian) parseAptCachePolicy(stdout, name string) (packCandida... method checkrestart (line 1172) | func (o *debian) checkrestart() error { method parseCheckRestart (line 1238) | func (o *debian) parseCheckRestart(stdout string) (models.Packages, []... method getOwnerPkgs (line 1309) | func (o *debian) getOwnerPkgs(paths []string) (pkgNames []string, err ... method parseGetPkgName (line 1318) | func (o *debian) parseGetPkgName(stdout string) (pkgNames []string) { function newDebian (line 30) | func newDebian(c config.ServerInfo) *debian { function detectDebian (line 46) | func detectDebian(c config.ServerInfo) (bool, osTypeInterface) { function trim (line 117) | func trim(str string) string { type dep (line 168) | type dep struct constant dpkgQuery (line 342) | dpkgQuery = `dpkg-query -W -f="\${binary:Package},\${db:Status-Abbrev},\... function generateSuffix (line 711) | func generateSuffix() (string, error) { type DetectedCveID (line 732) | type DetectedCveID struct type packCandidateVer (line 1129) | type packCandidateVer struct FILE: scanner/debian_test.go function TestGetCveIDsFromChangelog (line 21) | func TestGetCveIDsFromChangelog(t *testing.T) { function TestGetUpdatablePackNames (line 243) | func TestGetUpdatablePackNames(t *testing.T) { function TestGetChangelogCache (line 399) | func TestGetChangelogCache(t *testing.T) { function TestSplitAptCachePolicy (line 459) | func TestSplitAptCachePolicy(t *testing.T) { function TestParseAptCachePolicy (line 490) | func TestParseAptCachePolicy(t *testing.T) { function TestParseCheckRestart (line 596) | func TestParseCheckRestart(t *testing.T) { function Test_debian_parseGetPkgName (line 804) | func Test_debian_parseGetPkgName(t *testing.T) { function TestParseChangelog (line 839) | func TestParseChangelog(t *testing.T) { function Test_debian_parseInstalledPackages (line 957) | func Test_debian_parseInstalledPackages(t *testing.T) { FILE: scanner/executil.go type execResult (line 28) | type execResult struct method String (line 40) | func (s execResult) String() string { method isSuccess (line 53) | func (s execResult) isSuccess(expectedStatusCodes ...int) bool { constant sudo (line 67) | sudo = true constant noSudo (line 70) | noSudo = false function parallelExec (line 73) | func parallelExec(fn func(osTypeInterface) error, timeoutSec ...int) { function exec (line 140) | func exec(c config.ServerInfo, cmd string, sudo bool, log ...logging.Log... function isLocalExec (line 154) | func isLocalExec(port, host string) bool { function localExec (line 158) | func localExec(c config.ServerInfo, cmdstr string, sudo bool) (result ex... function sshExecExternal (line 187) | func sshExecExternal(c config.ServerInfo, cmdstr string, sudo bool) (res... function getSSHLogger (line 281) | func getSSHLogger(log ...logging.Logger) logging.Logger { function dockerShell (line 288) | func dockerShell(family string) string { function decorateCmd (line 298) | func decorateCmd(c config.ServerInfo, cmd string, sudo bool) string { function toUTF8 (line 334) | func toUTF8(s string) string { FILE: scanner/executil_test.go function TestDecorateCmd (line 9) | func TestDecorateCmd(t *testing.T) { FILE: scanner/fedora.go type fedora (line 10) | type fedora struct method checkScanMode (line 32) | func (o *fedora) checkScanMode() error { method checkDeps (line 36) | func (o *fedora) checkDeps() error { method depsFast (line 46) | func (o *fedora) depsFast() []string { method depsFastRoot (line 55) | func (o *fedora) depsFastRoot() []string { method depsDeep (line 64) | func (o *fedora) depsDeep() []string { method checkIfSudoNoPasswd (line 68) | func (o *fedora) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 78) | func (o *fedora) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsFastRoot (line 82) | func (o *fedora) sudoNoPasswdCmdsFastRoot() []cmd { method sudoNoPasswdCmdsDeep (line 100) | func (o *fedora) sudoNoPasswdCmdsDeep() []cmd { function newFedora (line 15) | func newFedora(c config.ServerInfo) *fedora { type rootPrivFedora (line 104) | type rootPrivFedora struct method repoquery (line 106) | func (o rootPrivFedora) repoquery() bool { method yumMakeCache (line 110) | func (o rootPrivFedora) yumMakeCache() bool { method yumPS (line 114) | func (o rootPrivFedora) yumPS() bool { FILE: scanner/freebsd.go type bsd (line 18) | type bsd struct method checkScanMode (line 56) | func (o *bsd) checkScanMode() error { method checkIfSudoNoPasswd (line 63) | func (o *bsd) checkIfSudoNoPasswd() error { method checkDeps (line 69) | func (o *bsd) checkDeps() error { method preCure (line 74) | func (o *bsd) preCure() error { method postScan (line 83) | func (o *bsd) postScan() error { method detectIPAddr (line 87) | func (o *bsd) detectIPAddr() (err error) { method scanPackages (line 96) | func (o *bsd) scanPackages() error { method parseInstalledPackages (line 133) | func (o *bsd) parseInstalledPackages(string) (models.Packages, models.... method rebootRequired (line 137) | func (o *bsd) rebootRequired() (bool, error) { method scanInstalledPackages (line 145) | func (o *bsd) scanInstalledPackages() (models.Packages, error) { method scanUnsecurePackages (line 164) | func (o *bsd) scanUnsecurePackages() (models.VulnInfos, error) { method parsePkgInfo (line 241) | func (o *bsd) parsePkgInfo(stdout string) models.Packages { method parsePkgVersion (line 262) | func (o *bsd) parsePkgVersion(stdout string) models.Packages { method splitIntoBlocks (line 310) | func (o *bsd) splitIntoBlocks(stdout string) (blocks []string) { method parseBlock (line 330) | func (o *bsd) parseBlock(block string) (packName string, cveIDs []stri... function newBsd (line 23) | func newBsd(c config.ServerInfo) *bsd { function detectFreebsd (line 38) | func detectFreebsd(c config.ServerInfo) (bool, osTypeInterface) { type vulnIDCveIDs (line 300) | type vulnIDCveIDs struct type pkgAuditResult (line 305) | type pkgAuditResult struct FILE: scanner/freebsd_test.go function TestParsePkgVersion (line 12) | func TestParsePkgVersion(t *testing.T) { function TestSplitIntoBlocks (line 65) | func TestSplitIntoBlocks(t *testing.T) { function TestParseBlock (line 127) | func TestParseBlock(t *testing.T) { function TestParsePkgInfo (line 222) | func TestParsePkgInfo(t *testing.T) { FILE: scanner/library.go function convertLibWithScanner (line 12) | func convertLibWithScanner(apps []ftypes.Application) ([]models.LibraryS... function newPURL (line 35) | func newPURL(pkgType ftypes.TargetType, metadata types.Metadata, pkg fty... FILE: scanner/library_test.go function Test_convertLibWithScanner (line 11) | func Test_convertLibWithScanner(t *testing.T) { FILE: scanner/macos.go type macos (line 18) | type macos struct method checkScanMode (line 87) | func (o *macos) checkScanMode() error { method checkIfSudoNoPasswd (line 91) | func (o *macos) checkIfSudoNoPasswd() error { method checkDeps (line 95) | func (o *macos) checkDeps() error { method preCure (line 99) | func (o *macos) preCure() error { method detectIPAddr (line 107) | func (o *macos) detectIPAddr() (err error) { method postScan (line 116) | func (o *macos) postScan() error { method scanPackages (line 120) | func (o *macos) scanPackages() error { method scanInstalledPackages (line 143) | func (o *macos) scanInstalledPackages() (models.Packages, error) { method parseInstalledPackages (line 183) | func (o *macos) parseInstalledPackages(stdout string) (models.Packages... function newMacOS (line 22) | func newMacOS(c config.ServerInfo) *macos { function detectMacOS (line 36) | func detectMacOS(c config.ServerInfo) (bool, osTypeInterface) { function parseSWVers (line 50) | func parseSWVers(stdout string) (string, string, error) { FILE: scanner/macos_test.go function Test_parseSWVers (line 11) | func Test_parseSWVers(t *testing.T) { function Test_macos_parseInstalledPackages (line 80) | func Test_macos_parseInstalledPackages(t *testing.T) { FILE: scanner/oracle.go type oracle (line 10) | type oracle struct method checkScanMode (line 32) | func (o *oracle) checkScanMode() error { method checkDeps (line 36) | func (o *oracle) checkDeps() error { method depsFast (line 46) | func (o *oracle) depsFast() []string { method depsFastRoot (line 54) | func (o *oracle) depsFastRoot() []string { method depsDeep (line 58) | func (o *oracle) depsDeep() []string { method checkIfSudoNoPasswd (line 62) | func (o *oracle) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 72) | func (o *oracle) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsFastRoot (line 76) | func (o *oracle) sudoNoPasswdCmdsFastRoot() []cmd { method sudoNoPasswdCmdsDeep (line 93) | func (o *oracle) sudoNoPasswdCmdsDeep() []cmd { function newOracle (line 15) | func newOracle(c config.ServerInfo) *oracle { type rootPrivOracle (line 97) | type rootPrivOracle struct method repoquery (line 99) | func (o rootPrivOracle) repoquery() bool { method yumMakeCache (line 103) | func (o rootPrivOracle) yumMakeCache() bool { method yumPS (line 107) | func (o rootPrivOracle) yumPS() bool { FILE: scanner/pseudo.go type pseudo (line 19) | type pseudo struct method checkScanMode (line 46) | func (o *pseudo) checkScanMode() error { method checkIfSudoNoPasswd (line 50) | func (o *pseudo) checkIfSudoNoPasswd() error { method checkDeps (line 54) | func (o *pseudo) checkDeps() error { method preCure (line 58) | func (o *pseudo) preCure() error { method postScan (line 62) | func (o *pseudo) postScan() error { method scanPackages (line 66) | func (o *pseudo) scanPackages() error { method parseInstalledPackages (line 70) | func (o *pseudo) parseInstalledPackages(string) (models.Packages, mode... method detectPlatform (line 74) | func (o *pseudo) detectPlatform() { method scanLibraries (line 78) | func (o *pseudo) scanLibraries() (err error) { method cleanPath (line 148) | func (o *pseudo) cleanPath(path string) string { function detectPseudo (line 23) | func detectPseudo(c config.ServerInfo) (itsMe bool, pseudo osTypeInterfa... function newPseudo (line 32) | func newPseudo(c config.ServerInfo) *pseudo { FILE: scanner/redhatbase.go function detectRedhat (line 23) | func detectRedhat(c config.ServerInfo) (bool, osTypeInterface) { type redhatBase (line 338) | type redhatBase struct method execCheckIfSudoNoPasswd (line 356) | func (o *redhatBase) execCheckIfSudoNoPasswd(cmds []cmd) error { method execCheckDeps (line 370) | func (o *redhatBase) execCheckDeps(packNames []string) error { method preCure (line 382) | func (o *redhatBase) preCure() error { method postScan (line 391) | func (o *redhatBase) postScan() error { method detectIPAddr (line 412) | func (o *redhatBase) detectIPAddr() (err error) { method scanPackages (line 417) | func (o *redhatBase) scanPackages() (err error) { method rebootRequired (line 449) | func (o *redhatBase) rebootRequired(fn func(s string) execResult) (boo... method scanInstalledPackages (line 468) | func (o *redhatBase) scanInstalledPackages() (models.Packages, models.... method parseInstalledPackages (line 504) | func (o *redhatBase) parseInstalledPackages(stdout string) (models.Pac... method parseInstalledPackagesLine (line 577) | func (o *redhatBase) parseInstalledPackagesLine(line string) (*models.... method parseInstalledPackagesLineFromRepoquery (line 639) | func (o *redhatBase) parseInstalledPackagesLineFromRepoquery(line stri... method parseRpmQfLine (line 747) | func (o *redhatBase) parseRpmQfLine(line string) (pkg *models.Package,... method yumMakeCache (line 761) | func (o *redhatBase) yumMakeCache() error { method scanUpdatablePackages (line 770) | func (o *redhatBase) scanUpdatablePackages() (models.Packages, error) { method parseUpdatablePacksLines (line 802) | func (o *redhatBase) parseUpdatablePacksLines(stdout string) (models.P... method parseUpdatablePacksLine (line 816) | func (o *redhatBase) parseUpdatablePacksLine(line string) (*models.Pac... method isExecYumPS (line 851) | func (o *redhatBase) isExecYumPS() bool { method isExecNeedsRestarting (line 859) | func (o *redhatBase) isExecNeedsRestarting() bool { method needsRestarting (line 900) | func (o *redhatBase) needsRestarting() error { method parseNeedsRestarting (line 940) | func (o *redhatBase) parseNeedsRestarting(stdout string) (procs []mode... method procPathToFQPN (line 981) | func (o *redhatBase) procPathToFQPN(execCommand string) (string, error) { method getOwnerPkgs (line 998) | func (o *redhatBase) getOwnerPkgs(paths []string) (names []string, _ e... method rpmQa (line 1026) | func (o *redhatBase) rpmQa() string { method rpmQf (line 1067) | func (o *redhatBase) rpmQf() string { type rootPriv (line 343) | type rootPriv interface type cmd (line 349) | type cmd struct function splitFileName (line 710) | func splitFileName(filename string) (name, ver, rel, epoch, arch string,... FILE: scanner/redhatbase_test.go function Test_redhatBase_parseInstalledPackages (line 13) | func Test_redhatBase_parseInstalledPackages(t *testing.T) { function Test_redhatBase_parseInstalledPackagesLine (line 321) | func Test_redhatBase_parseInstalledPackagesLine(t *testing.T) { function Test_redhatBase_parseInstalledPackagesLineFromRepoquery (line 517) | func Test_redhatBase_parseInstalledPackagesLineFromRepoquery(t *testing.... function Test_redhatBase_parseUpdatablePacksLine (line 597) | func Test_redhatBase_parseUpdatablePacksLine(t *testing.T) { function Test_redhatBase_parseUpdatablePacksLines (line 706) | func Test_redhatBase_parseUpdatablePacksLines(t *testing.T) { function TestParseNeedsRestarting (line 847) | func TestParseNeedsRestarting(t *testing.T) { function Test_redhatBase_parseRpmQfLine (line 882) | func Test_redhatBase_parseRpmQfLine(t *testing.T) { function Test_redhatBase_rebootRequired (line 965) | func Test_redhatBase_rebootRequired(t *testing.T) { FILE: scanner/rhel.go type rhel (line 11) | type rhel struct method checkScanMode (line 33) | func (o *rhel) checkScanMode() error { method checkDeps (line 37) | func (o *rhel) checkDeps() error { method depsFast (line 50) | func (o *rhel) depsFast() []string { method depsFastRoot (line 54) | func (o *rhel) depsFastRoot() []string { method depsDeep (line 64) | func (o *rhel) depsDeep() []string { method checkIfSudoNoPasswd (line 68) | func (o *rhel) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 78) | func (o *rhel) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsFastRoot (line 82) | func (o *rhel) sudoNoPasswdCmdsFastRoot() []cmd { method sudoNoPasswdCmdsDeep (line 100) | func (o *rhel) sudoNoPasswdCmdsDeep() []cmd { function newRHEL (line 16) | func newRHEL(c config.ServerInfo) *rhel { type rootPrivRHEL (line 104) | type rootPrivRHEL struct method repoquery (line 106) | func (o rootPrivRHEL) repoquery() bool { method yumMakeCache (line 110) | func (o rootPrivRHEL) yumMakeCache() bool { method yumPS (line 114) | func (o rootPrivRHEL) yumPS() bool { FILE: scanner/rocky.go type rocky (line 10) | type rocky struct method checkScanMode (line 32) | func (o *rocky) checkScanMode() error { method checkDeps (line 36) | func (o *rocky) checkDeps() error { method depsFast (line 46) | func (o *rocky) depsFast() []string { method depsFastRoot (line 56) | func (o *rocky) depsFastRoot() []string { method depsDeep (line 66) | func (o *rocky) depsDeep() []string { method checkIfSudoNoPasswd (line 70) | func (o *rocky) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 80) | func (o *rocky) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsFastRoot (line 84) | func (o *rocky) sudoNoPasswdCmdsFastRoot() []cmd { method sudoNoPasswdCmdsDeep (line 102) | func (o *rocky) sudoNoPasswdCmdsDeep() []cmd { function newRocky (line 15) | func newRocky(c config.ServerInfo) *rocky { type rootPrivRocky (line 106) | type rootPrivRocky struct method repoquery (line 108) | func (o rootPrivRocky) repoquery() bool { method yumMakeCache (line 112) | func (o rootPrivRocky) yumMakeCache() bool { method yumPS (line 116) | func (o rootPrivRocky) yumPS() bool { FILE: scanner/scanner.go constant scannedViaRemote (line 28) | scannedViaRemote = "remote" constant scannedViaLocal (line 29) | scannedViaLocal = "local" constant scannedViaPseudo (line 30) | scannedViaPseudo = "pseudo" type osTypeInterface (line 42) | type osTypeInterface interface type Scanner (line 75) | type Scanner struct method Scan (line 90) | func (s Scanner) Scan() error { method Configtest (line 116) | func (s Scanner) Configtest() error { method initServers (line 299) | func (s Scanner) initServers() error { method detectServerOSes (line 329) | func (s Scanner) detectServerOSes() (servers, errServers []osTypeInter... method detectContainerOSes (line 634) | func (s Scanner) detectContainerOSes(hosts []osTypeInterface) (actives... method detectContainerOSesOnServer (line 672) | func (s Scanner) detectContainerOSesOnServer(containerHost osTypeInter... method detectOS (line 755) | func (s Scanner) detectOS(c config.ServerInfo) osTypeInterface { method checkScanModes (line 828) | func (s Scanner) checkScanModes() error { method checkDependencies (line 839) | func (s Scanner) checkDependencies() { method checkIfSudoNoPasswd (line 846) | func (s Scanner) checkIfSudoNoPasswd() { method detectPlatform (line 853) | func (s Scanner) detectPlatform() { method detectIPS (line 880) | func (s Scanner) detectIPS() { method execScan (line 899) | func (s Scanner) execScan() error { method setupChangelogCache (line 931) | func (s Scanner) setupChangelogCache() error { method getScanResults (line 954) | func (s Scanner) getScanResults(scannedAt time.Time) (results models.S... function ViaHTTP (line 155) | func ViaHTTP(header http.Header, body string, toLocalFile bool) (models.... function ParseInstalledPkgs (line 256) | func ParseInstalledPkgs(distro config.Distro, kernel models.Kernel, pkgL... function validateSSHConfig (line 385) | func validateSSHConfig(c *config.ServerInfo) error { function lookpath (line 491) | func lookpath(family, file string) (string, error) { function buildSSHBaseCmd (line 504) | func buildSSHBaseCmd(sshBinaryPath string, c *config.ServerInfo, options... function buildSSHConfigCmd (line 528) | func buildSSHConfigCmd(sshBinaryPath string, c *config.ServerInfo) string { function buildSSHKeyScanCmd (line 532) | func buildSSHKeyScanCmd(sshKeyscanBinaryPath, port, knownHosts string, s... type sshConfiguration (line 543) | type sshConfiguration struct function parseSSHConfiguration (line 556) | func parseSSHConfiguration(stdout string) sshConfiguration { function normalizeHomeDirPathForWindows (line 593) | func normalizeHomeDirPathForWindows(userKnownHost string) string { function parseSSHScan (line 598) | func parseSSHScan(stdout string) map[string]string { function parseSSHKeygen (line 612) | func parseSSHKeygen(stdout string) (string, string, error) { function testFirstSSHConnection (line 808) | func testFirstSSHConnection(c config.ServerInfo) error { FILE: scanner/scanner_test.go function TestViaHTTP (line 13) | func TestViaHTTP(t *testing.T) { function TestParseSSHConfiguration (line 249) | func TestParseSSHConfiguration(t *testing.T) { function TestParseSSHScan (line 361) | func TestParseSSHScan(t *testing.T) { function TestNormalizedForWindows (line 391) | func TestNormalizedForWindows(t *testing.T) { function TestParseSSHKeygen (line 417) | func TestParseSSHKeygen(t *testing.T) { FILE: scanner/suse.go type suse (line 18) | type suse struct method parseOSRelease (line 85) | func (o *suse) parseOSRelease(content string) (name string, ver string) { method checkScanMode (line 108) | func (o *suse) checkScanMode() error { method checkDeps (line 112) | func (o *suse) checkDeps() error { method depsFast (line 125) | func (o *suse) depsFast() []string { method depsFastRoot (line 129) | func (o *suse) depsFastRoot() []string { method depsDeep (line 133) | func (o *suse) depsDeep() []string { method checkIfSudoNoPasswd (line 137) | func (o *suse) checkIfSudoNoPasswd() error { method sudoNoPasswdCmdsFast (line 147) | func (o *suse) sudoNoPasswdCmdsFast() []cmd { method sudoNoPasswdCmdsDeep (line 151) | func (o *suse) sudoNoPasswdCmdsDeep() []cmd { method sudoNoPasswdCmdsFastRoot (line 155) | func (o *suse) sudoNoPasswdCmdsFastRoot() []cmd { method scanPackages (line 171) | func (o *suse) scanPackages() (err error) { method rebootRequired (line 203) | func (o *suse) rebootRequired() (bool, error) { method scanUpdatablePackages (line 214) | func (o *suse) scanUpdatablePackages() (models.Packages, error) { method parseZypperLULines (line 228) | func (o *suse) parseZypperLULines(stdout string) (models.Packages, err... method parseZypperLUOneLine (line 261) | func (o *suse) parseZypperLUOneLine(line string) (*models.Package, err... method hasZypperColorOption (line 278) | func (o *suse) hasZypperColorOption() bool { method postScan (line 284) | func (o *suse) postScan() error { method needsRestarting (line 305) | func (o *suse) needsRestarting() error { method parseNeedsRestarting (line 345) | func (o *suse) parseNeedsRestarting(stdout string) []models.NeedRestar... function newSUSE (line 23) | func newSUSE(c config.ServerInfo) *suse { function detectSUSE (line 40) | func detectSUSE(c config.ServerInfo) (bool, osTypeInterface) { FILE: scanner/suse_test.go function TestScanUpdatablePackages (line 14) | func TestScanUpdatablePackages(t *testing.T) { function TestScanUpdatablePackage (line 102) | func TestScanUpdatablePackage(t *testing.T) { function TestParseOSRelease (line 136) | func TestParseOSRelease(t *testing.T) { FILE: scanner/trivy/jar/jar.go function init (line 18) | func init() { constant version (line 22) | version = 1 type javaLibraryAnalyzer (line 32) | type javaLibraryAnalyzer struct method PostAnalyze (line 42) | func (a *javaLibraryAnalyzer) PostAnalyze(ctx context.Context, input a... method Required (line 99) | func (a *javaLibraryAnalyzer) Required(filePath string, _ os.FileInfo)... method Type (line 109) | func (a *javaLibraryAnalyzer) Type() analyzer.Type { method Version (line 113) | func (a *javaLibraryAnalyzer) Version() int { function newJavaLibraryAnalyzer (line 36) | func newJavaLibraryAnalyzer(options analyzer.AnalyzerOptions) (analyzer.... function toApplication (line 72) | func toApplication(rootFilePath string, libs []jarLibrary) *types.Applic... FILE: scanner/trivy/jar/parse.go type jarLibrary (line 26) | type jarLibrary struct type properties (line 36) | type properties struct method library (line 44) | func (p properties) library() jarLibrary { method valid (line 53) | func (p properties) valid() bool { method string (line 57) | func (p properties) string() string { type parser (line 61) | type parser struct method parse (line 90) | func (p *parser) parse(r xio.ReadSeekerAt) ([]jarLibrary, error) { method parseArtifact (line 101) | func (p *parser) parseArtifact(filePath string, size int64, r xio.Read... method parseInnerJar (line 166) | func (p *parser) parseInnerJar(zf *zip.File, rootPath string) ([]jarLi... type option (line 66) | type option function withFilePath (line 68) | func withFilePath(filePath string) option { function withSize (line 74) | func withSize(size int64) option { function newParser (line 80) | func newParser(opts ...option) *parser { function isArtifact (line 200) | func isArtifact(name string) bool { function parseFileName (line 208) | func parseFileName(filePath string, sha1 digest.Digest) properties { function parsePomProperties (line 226) | func parsePomProperties(f *zip.File, filePath string) (properties, error) { type manifest (line 255) | type manifest struct method properties (line 318) | func (m manifest) properties(filePath string, sha1 digest.Digest) prop... method determineGroupID (line 343) | func (m manifest) determineGroupID() (string, error) { method determineArtifactID (line 366) | func (m manifest) determineArtifactID() (string, error) { method determineVersion (line 381) | func (m manifest) determineVersion() (string, error) { function parseManifest (line 268) | func parseManifest(f *zip.File) (manifest, error) { function removeLibraryDuplicates (line 396) | func removeLibraryDuplicates(libs []jarLibrary) []jarLibrary { FILE: scanner/unknownDistro.go type unknown (line 6) | type unknown struct method checkScanMode (line 10) | func (o *unknown) checkScanMode() error { method checkIfSudoNoPasswd (line 14) | func (o *unknown) checkIfSudoNoPasswd() error { method checkDeps (line 18) | func (o *unknown) checkDeps() error { method preCure (line 22) | func (o *unknown) preCure() error { method postScan (line 26) | func (o *unknown) postScan() error { method scanPackages (line 30) | func (o *unknown) scanPackages() error { method parseInstalledPackages (line 34) | func (o *unknown) parseInstalledPackages(string) (models.Packages, mod... FILE: scanner/utils.go function isRunningKernel (line 20) | func isRunningKernel(pack models.Package, family, release string, kernel... function EnsureResultDir (line 96) | func EnsureResultDir(resultsDir string, scannedAt time.Time) (currentDir... function writeScanResults (line 109) | func writeScanResults(jsonDir string, results models.ScanResults) error { FILE: scanner/utils/filepath/unix/unix.go constant Separator (line 13) | Separator = '/' type lazybuf (line 15) | type lazybuf struct method index (line 23) | func (b *lazybuf) index(i int) byte { method append (line 30) | func (b *lazybuf) append(c byte) { method string (line 43) | func (b *lazybuf) string() string { function Clean (line 77) | func Clean(path string) string { function postClean (line 152) | func postClean(_ *lazybuf) {} function ToSlash (line 157) | func ToSlash(path string) string { function FromSlash (line 170) | func FromSlash(path string) string { function replaceStringByte (line 177) | func replaceStringByte(s string, before, after byte) string { function Split (line 195) | func Split(path string) (dir, file string) { function Ext (line 208) | func Ext(path string) string { function Base (line 221) | func Base(path string) string { function Dir (line 252) | func Dir(path string) string { function VolumeName (line 270) | func VolumeName(path string) string { function volumeNameLen (line 276) | func volumeNameLen(_ string) int { function isPathSeparator (line 280) | func isPathSeparator(c uint8) bool { function Join (line 291) | func Join(elem ...string) string { function IsAbs (line 302) | func IsAbs(path string) bool { FILE: scanner/utils/filepath/windows/windows.go constant Separator (line 13) | Separator = '\\' type lazybuf (line 15) | type lazybuf struct method index (line 23) | func (b *lazybuf) index(i int) byte { method append (line 30) | func (b *lazybuf) append(c byte) { method prepend (line 43) | func (b *lazybuf) prepend(prefix ...byte) { method string (line 48) | func (b *lazybuf) string() string { function Clean (line 82) | func Clean(path string) string { function postClean (line 159) | func postClean(out *lazybuf) { function ToSlash (line 186) | func ToSlash(path string) string { function FromSlash (line 199) | func FromSlash(path string) string { function replaceStringByte (line 206) | func replaceStringByte(s string, before, after byte) string { function Split (line 224) | func Split(path string) (dir, file string) { function Ext (line 237) | func Ext(path string) string { function Base (line 250) | func Base(path string) string { function Dir (line 281) | func Dir(path string) string { function VolumeName (line 299) | func VolumeName(path string) string { function volumeNameLen (line 309) | func volumeNameLen(path string) int { function pathHasPrefixFold (line 360) | func pathHasPrefixFold(s, prefix string) bool { function toUpper (line 379) | func toUpper(c byte) byte { function uncLen (line 389) | func uncLen(path string, prefixLen int) int { function cutPath (line 403) | func cutPath(path string) (before, after string, found bool) { function isPathSeparator (line 412) | func isPathSeparator(c uint8) bool { function Join (line 423) | func Join(elem ...string) string { function IsAbs (line 471) | func IsAbs(path string) bool { FILE: scanner/utils_test.go function Test_isRunningKernel (line 10) | func Test_isRunningKernel(t *testing.T) { FILE: scanner/windows.go type windows (line 27) | type windows struct method translateCmd (line 154) | func (w *windows) translateCmd(cmd string) string { method checkScanMode (line 1040) | func (w *windows) checkScanMode() error { method checkIfSudoNoPasswd (line 1044) | func (w *windows) checkIfSudoNoPasswd() error { method checkDeps (line 1048) | func (w *windows) checkDeps() error { method preCure (line 1052) | func (w *windows) preCure() error { method postScan (line 1060) | func (w *windows) postScan() error { method detectIPAddr (line 1064) | func (w *windows) detectIPAddr() error { method ip (line 1070) | func (w *windows) ip() ([]string, []string, error) { method parseIP (line 1082) | func (w *windows) parseIP(stdout string) ([]string, []string, error) { method scanPackages (line 1120) | func (w *windows) scanPackages() error { method parseInstalledPackages (line 1162) | func (w *windows) parseInstalledPackages(stdout string) (models.Packag... method parseRegistryPublishers (line 1215) | func (w *windows) parseRegistryPublishers(stdout string) (map[string]s... method scanKBs (line 1254) | func (w *windows) scanKBs() (*models.WindowsKB, error) { method parseGetHotfix (line 1353) | func (w *windows) parseGetHotfix(stdout string) ([]string, error) { method parseGetPackageMSU (line 1377) | func (w *windows) parseGetPackageMSU(stdout string) ([]string, error) { method parseWindowsUpdaterSearch (line 1405) | func (w *windows) parseWindowsUpdaterSearch(stdout string) ([]string, ... method parseWindowsUpdateHistory (line 1424) | func (w *windows) parseWindowsUpdateHistory(stdout string) ([]string, ... method detectPlatform (line 5276) | func (w *windows) detectPlatform() { method detectRunningOnAws (line 5299) | func (w *windows) detectRunningOnAws() (bool, string, error) { method scanLibraries (line 5340) | func (w *windows) scanLibraries() (err error) { method cleanPath (line 5506) | func (w *windows) cleanPath(path string) string { type osInfo (line 32) | type osInfo struct function newWindows (line 43) | func newWindows(c config.ServerInfo) *windows { function detectWindows (line 58) | func detectWindows(c config.ServerInfo) (bool, osTypeInterface) { function parseSystemInfo (line 165) | func parseSystemInfo(stdout string) (osInfo, []string, error) { function parseGetComputerInfo (line 239) | func parseGetComputerInfo(stdout string) (osInfo, error) { function parseWmiObject (line 294) | func parseWmiObject(stdout string) (osInfo, error) { function parseRegistry (line 513) | func parseRegistry(stdout string) (osInfo, error) { function detectOSName (line 599) | func detectOSName(osInfo osInfo) (string, error) { function detectOSNameFromOSInfo (line 607) | func detectOSNameFromOSInfo(osInfo osInfo) (string, error) { function formatArch (line 830) | func formatArch(arch string) (string, error) { type buildNumber (line 845) | type buildNumber struct function formatNamebyBuild (line 1007) | func formatNamebyBuild(osType string, mybuild string) (string, error) { function formatKernelVersion (line 1032) | func formatKernelVersion(osInfo osInfo) string { type windowsRelease (line 1476) | type windowsRelease struct type updateProgram (line 1481) | type updateProgram struct function DetectKBsFromKernelVersion (line 5214) | func DetectKBsFromKernelVersion(release, kernelVersion string) (models.W... FILE: scanner/windows_test.go function Test_parseSystemInfo (line 12) | func Test_parseSystemInfo(t *testing.T) { function Test_parseGetComputerInfo (line 218) | func Test_parseGetComputerInfo(t *testing.T) { function Test_parseWmiObject (line 261) | func Test_parseWmiObject(t *testing.T) { function Test_parseRegistry (line 308) | func Test_parseRegistry(t *testing.T) { function Test_detectOSName (line 355) | func Test_detectOSName(t *testing.T) { function Test_formatKernelVersion (line 559) | func Test_formatKernelVersion(t *testing.T) { function Test_parseInstalledPackages (line 592) | func Test_parseInstalledPackages(t *testing.T) { function Test_parseRegistryPublishers (line 697) | func Test_parseRegistryPublishers(t *testing.T) { function Test_parseGetHotfix (line 780) | func Test_parseGetHotfix(t *testing.T) { function Test_parseGetPackageMSU (line 818) | func Test_parseGetPackageMSU(t *testing.T) { function Test_parseWindowsUpdaterSearch (line 858) | func Test_parseWindowsUpdaterSearch(t *testing.T) { function Test_parseWindowsUpdateHistory (line 895) | func Test_parseWindowsUpdateHistory(t *testing.T) { function Test_windows_detectKBsFromKernelVersion (line 946) | func Test_windows_detectKBsFromKernelVersion(t *testing.T) { function Test_windows_parseIP (line 1034) | func Test_windows_parseIP(t *testing.T) { FILE: server/server.go type VulsHandler (line 24) | type VulsHandler struct method ServeHTTP (line 29) | func (h VulsHandler) ServeHTTP(w http.ResponseWriter, req *http.Reques... FILE: subcmds/configtest.go type ConfigtestCmd (line 19) | type ConfigtestCmd struct method Name (line 25) | func (*ConfigtestCmd) Name() string { return "configtest" } method Synopsis (line 28) | func (*ConfigtestCmd) Synopsis() string { return "Test configuration" } method Usage (line 31) | func (*ConfigtestCmd) Usage() string { method SetFlags (line 48) | func (p *ConfigtestCmd) SetFlags(f *flag.FlagSet) { method Execute (line 67) | func (p *ConfigtestCmd) Execute(_ context.Context, f *flag.FlagSet, _ ... FILE: subcmds/discover.go type DiscoverCmd (line 20) | type DiscoverCmd struct method Name (line 24) | func (*DiscoverCmd) Name() string { return "discover" } method Synopsis (line 27) | func (*DiscoverCmd) Synopsis() string { return "Host discovery in the ... method Usage (line 30) | func (*DiscoverCmd) Usage() string { method SetFlags (line 38) | func (p *DiscoverCmd) SetFlags(_ *flag.FlagSet) { method Execute (line 42) | func (p *DiscoverCmd) Execute(_ context.Context, f *flag.FlagSet, _ ..... function printConfigToml (line 83) | func printConfigToml(ips []string) (err error) { FILE: subcmds/history.go type HistoryCmd (line 18) | type HistoryCmd struct method Name (line 21) | func (*HistoryCmd) Name() string { return "history" } method Synopsis (line 24) | func (*HistoryCmd) Synopsis() string { method Usage (line 29) | func (*HistoryCmd) Usage() string { method SetFlags (line 37) | func (p *HistoryCmd) SetFlags(f *flag.FlagSet) { method Execute (line 46) | func (p *HistoryCmd) Execute(_ context.Context, _ *flag.FlagSet, _ ...... FILE: subcmds/report.go type ReportCmd (line 25) | type ReportCmd struct method Name (line 52) | func (*ReportCmd) Name() string { return "report" } method Synopsis (line 55) | func (*ReportCmd) Synopsis() string { return "Reporting" } method Usage (line 58) | func (*ReportCmd) Usage() string { method SetFlags (line 110) | func (p *ReportCmd) SetFlags(f *flag.FlagSet) { method Execute (line 199) | func (p *ReportCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...a... FILE: subcmds/report_windows.go type ReportCmd (line 24) | type ReportCmd struct method Name (line 50) | func (*ReportCmd) Name() string { return "report" } method Synopsis (line 53) | func (*ReportCmd) Synopsis() string { return "Reporting" } method Usage (line 56) | func (*ReportCmd) Usage() string { method SetFlags (line 108) | func (p *ReportCmd) SetFlags(f *flag.FlagSet) { method Execute (line 196) | func (p *ReportCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...a... FILE: subcmds/saas.go type SaaSCmd (line 20) | type SaaSCmd struct method Name (line 26) | func (*SaaSCmd) Name() string { return "saas" } method Synopsis (line 29) | func (*SaaSCmd) Synopsis() string { return "upload to FutureVuls" } method Usage (line 32) | func (*SaaSCmd) Usage() string { method SetFlags (line 47) | func (p *SaaSCmd) SetFlags(f *flag.FlagSet) { method Execute (line 72) | func (p *SaaSCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...any... FILE: subcmds/scan.go type ScanCmd (line 21) | type ScanCmd struct method Name (line 30) | func (*ScanCmd) Name() string { return "scan" } method Synopsis (line 33) | func (*ScanCmd) Synopsis() string { return "Scan vulnerabilities" } method Usage (line 36) | func (*ScanCmd) Usage() string { method SetFlags (line 58) | func (p *ScanCmd) SetFlags(f *flag.FlagSet) { method Execute (line 95) | func (p *ScanCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...any... FILE: subcmds/server.go type ServerCmd (line 22) | type ServerCmd struct method Name (line 29) | func (*ServerCmd) Name() string { return "server" } method Synopsis (line 32) | func (*ServerCmd) Synopsis() string { return "Server" } method Usage (line 35) | func (*ServerCmd) Usage() string { method SetFlags (line 57) | func (p *ServerCmd) SetFlags(f *flag.FlagSet) { method Execute (line 94) | func (p *ServerCmd) Execute(_ context.Context, _ *flag.FlagSet, _ ...a... FILE: subcmds/string_array_flag.go type stringArrayFlag (line 5) | type stringArrayFlag struct method String (line 9) | func (f *stringArrayFlag) String() string { method Set (line 16) | func (f *stringArrayFlag) Set(value string) error { FILE: subcmds/tui.go type TuiCmd (line 24) | type TuiCmd struct method Name (line 29) | func (*TuiCmd) Name() string { return "tui" } method Synopsis (line 32) | func (*TuiCmd) Synopsis() string { return "Run Tui view to analyze vul... method Usage (line 35) | func (*TuiCmd) Usage() string { method SetFlags (line 64) | func (p *TuiCmd) SetFlags(f *flag.FlagSet) { method Execute (line 124) | func (p *TuiCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...any)... FILE: subcmds/util.go function mkdirDotVuls (line 10) | func mkdirDotVuls() error { FILE: tui/tui.go function RunTui (line 33) | func RunTui(results models.ScanResults) subcommands.ExitStatus { function keybindings (line 67) | func keybindings(g *gocui.Gui) (err error) { function nextView (line 168) | func nextView(g *gocui.Gui, v *gocui.View) error { function previousView (line 189) | func previousView(g *gocui.Gui, v *gocui.View) error { function movable (line 210) | func movable(v *gocui.View, nextY int) (ok bool, yLimit int) { function pageUpDownJumpCount (line 239) | func pageUpDownJumpCount(v *gocui.View) int { function onMovingCursorRedrawView (line 253) | func onMovingCursorRedrawView(g *gocui.Gui, v *gocui.View) error { function cursorDown (line 270) | func cursorDown(g *gocui.Gui, v *gocui.View) error { function cursorMoveMiddle (line 298) | func cursorMoveMiddle(g *gocui.Gui, v *gocui.View) error { function cursorPageDown (line 309) | func cursorPageDown(g *gocui.Gui, v *gocui.View) error { function cursorUp (line 343) | func cursorUp(g *gocui.Gui, v *gocui.View) error { function cursorPageUp (line 357) | func cursorPageUp(g *gocui.Gui, v *gocui.View) error { function previousSummary (line 374) | func previousSummary(g *gocui.Gui, v *gocui.View) error { function nextSummary (line 392) | func nextSummary(g *gocui.Gui, v *gocui.View) error { function changeHost (line 410) | func changeHost(g *gocui.Gui, v *gocui.View) error { function redrawDetail (line 446) | func redrawDetail(g *gocui.Gui) error { function redrawChangelog (line 454) | func redrawChangelog(g *gocui.Gui) error { function getLine (line 462) | func getLine(g *gocui.Gui, v *gocui.View) error { function showMsg (line 486) | func showMsg(g *gocui.Gui, v *gocui.View) error { function delMsg (line 511) | func delMsg(g *gocui.Gui, _ *gocui.View) error { function quit (line 519) | func quit(_ *gocui.Gui, _ *gocui.View) error { function layout (line 523) | func layout(g *gocui.Gui) error { function debug (line 536) | func debug(g *gocui.Gui, str string) error { function setSideLayout (line 553) | func setSideLayout(g *gocui.Gui) error { function setSummaryLayout (line 578) | func setSummaryLayout(g *gocui.Gui) error { function summaryLines (line 597) | func summaryLines(r models.ScanResult) string { function setDetailLayout (line 665) | func setDetailLayout(g *gocui.Gui) error { function setChangelogLayout (line 695) | func setChangelogLayout(g *gocui.Gui) error { type dataForTmpl (line 924) | type dataForTmpl struct function detailLines (line 944) | func detailLines() (string, error) { constant mdTemplate (line 1049) | mdTemplate = ` FILE: util/util.go function GenWorkers (line 17) | func GenWorkers(num int) chan<- func() { function AppendIfMissing (line 35) | func AppendIfMissing(slice []string, s string) []string { function URLPathJoin (line 43) | func URLPathJoin(baseURL string, paths ...string) (string, error) { function URLPathParamJoin (line 62) | func URLPathParamJoin(baseURL string, paths []string, params map[string]... function IP (line 81) | func IP() (ipv4Addrs []string, ipv6Addrs []string, err error) { function PrependProxyEnv (line 113) | func PrependProxyEnv(cmd string) string { function proxyEnv (line 121) | func proxyEnv() string { function Truncate (line 144) | func Truncate(str string, length int) string { function Distinct (line 155) | func Distinct(ss []string) (distincted []string) { function Major (line 167) | func Major(version string) string { function GetHTTPClient (line 182) | func GetHTTPClient(proxy string) (*http.Client, error) { FILE: util/util_test.go function TestUrlJoin (line 9) | func TestUrlJoin(t *testing.T) { function TestPrependHTTPProxyEnv (line 81) | func TestPrependHTTPProxyEnv(t *testing.T) { function TestTruncate (line 118) | func TestTruncate(t *testing.T) { function Test_major (line 158) | func Test_major(t *testing.T) {