MCPcopy Create free account

hub / github.com/aquasecurity/trivy-db / functions

Functions727 in github.com/aquasecurity/trivy-db

↓ 1 callersFunctionNewEcho
NewEcho creates a bucket for Echo
pkg/vulnsrc/bucket/bucket.go:104
↓ 1 callersFunctionNewErlang
NewErlang creates a bucket for Erlang ecosystem with data source
pkg/vulnsrc/bucket/bucket.go:305
↓ 1 callersFunctionNewJulia
NewJulia creates a bucket for Julia ecosystem with data source
pkg/vulnsrc/bucket/bucket.go:315
↓ 1 callersFunctionNewKubernetes
NewKubernetes creates a bucket for Kubernetes ecosystem with data source
pkg/vulnsrc/bucket/bucket.go:320
↓ 1 callersFunctionNewMariner
NewMariner creates a bucket for CBL-Mariner
pkg/vulnsrc/bucket/bucket.go:160
↓ 1 callersFunctionNewMinimOS
NewMinimOS creates a bucket for MinimOS
pkg/vulnsrc/bucket/bucket.go:107
↓ 1 callersFunctionNewNuGet
NewNuGet creates a bucket for NuGet ecosystem with data source
pkg/vulnsrc/bucket/bucket.go:335
↓ 1 callersFunctionNewOpenSUSELeapMicro
NewOpenSUSELeapMicro creates a bucket for openSUSE Leap Micro
pkg/vulnsrc/bucket/bucket.go:261
↓ 1 callersFunctionNewPub
NewPub creates a bucket for Pub ecosystem with data source
pkg/vulnsrc/bucket/bucket.go:340
↓ 1 callersFunctionNewStatus
(status string)
pkg/types/status.go:37
↓ 1 callersFunctionNewSwift
NewSwift creates a bucket for Swift ecosystem with data source
pkg/vulnsrc/bucket/bucket.go:355
↓ 1 callersFunctionNewVersionRange
(ecosystem, from string)
pkg/vulnsrc/osv/range.go:24
↓ 1 callersFunctionNewVulnSrc
()
pkg/vulnsrc/arch-linux/archlinux.go:34
↓ 1 callersFunctionNewVulnSrcGetter
(baseOS types.SourceID)
pkg/vulnsrc/rootio/rootio.go:189
↓ 1 callersFunctionNewVulnSrcGetter
(baseEcosystem ecosystem.Type)
pkg/vulnsrc/seal/seal.go:95
↓ 1 callersFunctionNewWolfi
NewWolfi creates a bucket for Wolfi
pkg/vulnsrc/bucket/bucket.go:116
↓ 1 callersFunctionPackageFlavor
PackageFlavor determinants the package "flavor" based on its version string - normal - FIPS validated - ksplice userspace
pkg/vulnsrc/oracle-oval/oracle-oval.go:321
↓ 1 callersFunctionParseDefinitions
(dir string)
pkg/vulnsrc/azure/oval/oval.go:13
↓ 1 callersFunctionParseObjects
(dir string)
pkg/vulnsrc/azure/oval/oval.go:47
↓ 1 callersFunctionParseStates
(dir string)
pkg/vulnsrc/azure/oval/oval.go:60
↓ 1 callersFunctionParseTests
(dir string)
pkg/vulnsrc/azure/oval/oval.go:38
↓ 1 callersFunctionPath
(dbDir string)
pkg/metadata/metadata.go:33
↓ 1 callersMethodPostParseAffected
PostParseAffected is called after parseAffected to transform Advisory with Affected
pkg/vulnsrc/osv/osv.go:66
↓ 1 callersMethodPut
Put writes an advisory to the database.
pkg/vulnsrc/redhat-csaf/csaf.go:45
↓ 1 callersMethodPutMappings
PutMappings writes CPE-related mappings to the database and returns the CPE list to use for advisory writes.
pkg/vulnsrc/redhat-csaf/csaf.go:42
↓ 1 callersMethodPutVulnerability
(tx *bolt.Tx, vulnerabilityID string, vulnerability types.Vulnerability)
pkg/db/db.go:43
↓ 1 callersMethodRedHatNVRToCPEs
(nvr string)
pkg/db/db.go:57
↓ 1 callersMethodRedHatRepoToCPEs
(repository string)
pkg/db/redhat_cpe.go:45
↓ 1 callersMethodReleaseDate
ReleaseDate returns the vendor_fix remediation timestamp for the given RHSA ID, or the zero value when no timestamp was recorded for it.
pkg/vulnsrc/redhat-csaf/parse.go:457
↓ 1 callersMethodRepoToCPE
()
pkg/vulnsrc/redhat-csaf/parse.go:447
↓ 1 callersMethodSaveAdvisoryDetails
(tx *bolt.Tx, cveID string)
pkg/db/db.go:46
↓ 1 callersMethodSaveAdvisoryDetails
SaveAdvisoryDetails Extract advisories from 'advisory-detail' bucket and copy them in each
pkg/db/advisory_detail.go:23
↓ 1 callersMethodSetFixed
(fixed string)
pkg/vulnsrc/osv/range.go:20
↓ 1 callersMethodSetLastAffected
(lastAffected string)
pkg/vulnsrc/osv/range.go:21
↓ 1 callersFunctionSeverityFromPriority
SeverityFromPriority converts Ubuntu priority into Trivy severity
pkg/vulnsrc/ubuntu/ubuntu.go:213
↓ 1 callersMethodString
()
pkg/types/status.go:46
↓ 1 callersMethodSwap
(i, j int)
pkg/vulnsrc/redhat-csaf/types.go:121
↓ 1 callersMethodTransformAdvisories
TransformAdvisories transforms the advisories
pkg/vulnsrc/osv/osv.go:69
↓ 1 callersFunctionUnique
(strings []string)
pkg/utils/strings/strings.go:8
↓ 1 callersMethodUpdate
(dir string)
pkg/vulnsrctest/vulnsrctest.go:16
↓ 1 callersMethodUpdate
(dir string)
pkg/vulnsrc/redhat-csaf/csaf.go:155
↓ 1 callersFunctionWithBucketResolver
WithBucketResolver sets a custom resolver for a specific ecosystem
pkg/vulnsrc/osv/osv.go:83
↓ 1 callersFunctionWithClock
(clock clock.Clock)
pkg/vulndb/db.go:34
↓ 1 callersFunctionWithVulnSrcs
(srcs map[types.SourceID]vulnsrc.VulnSrc)
pkg/vulndb/db.go:40
↓ 1 callersMethodaddRawEntry
addRawEntry stores raw, per-package entries from the CSAF VEX data without further aggregation or processing.
pkg/vulnsrc/redhat-csaf/parse.go:413
↓ 1 callersMethodaggregateArches
aggregateArches merges entries that only differ in their architecture
pkg/vulnsrc/redhat-csaf/aggregate.go:98
↓ 1 callersMethodaggregateCPEs
aggregateCPEs merges entries that only differ in their CPEs
pkg/vulnsrc/redhat-csaf/aggregate.go:143
↓ 1 callersMethodaggregateCVEs
aggregateCVEs merges entries that only differ in their CVE IDs (Alias)
pkg/vulnsrc/redhat-csaf/aggregate.go:41
↓ 1 callersFunctionazureVulnSrc
()
pkg/vulnsrc/azure/azure.go:67
↓ 1 callersMethodbaseOSGetter
()
pkg/vulnsrc/rootio/rootio.go:244
↓ 1 callersMethodbuildProductMap
buildProductMap pre-builds all product lookups by iterating over all relationships and branches in the ProductTree, resolving each ProductID to a Prod
pkg/vulnsrc/redhat-csaf/advisory.go:43
↓ 1 callersFunctioncanonicalizeReferenceURL
canonicalizeReferenceURL returns a canonical form of an absolute reference URL so that semantically equivalent links from different upstream sources d
pkg/vulnsrc/vulnerability/vulnerability.go:174
↓ 1 callersMethodcleanup
()
pkg/vulndb/db.go:165
↓ 1 callersMethodcollectFilePaths
(rootDir string)
pkg/vulnsrc/redhat-csaf/parse.go:124
↓ 1 callersMethodcommit
(tx *bolt.Tx, cves []UbuntuCVE)
pkg/vulnsrc/ubuntu/ubuntu.go:145
↓ 1 callersMethodcommit
(tx *bolt.Tx, platform string, feeds []Feed)
pkg/vulnsrc/rootio/rootio.go:160
↓ 1 callersMethodcommit
(tx *bolt.Tx, advisories []Advisory)
pkg/vulnsrc/bottlerocket/bottlerocket.go:78
↓ 1 callersMethodcommit
(tx *bolt.Tx, platformName string, entries []Entry)
pkg/vulnsrc/azure/azure.go:265
↓ 1 callersMethodcommit
(tx *bolt.Tx, entry Entry)
pkg/vulnsrc/osv/osv.go:159
↓ 1 callersMethodcommit
(tx *bolt.Tx, cvrfs []SuseCvrf)
pkg/vulnsrc/suse-cvrf/suse-cvrf.go:125
↓ 1 callersMethodcommit
(tx *bolt.Tx, cves []PhotonCVE)
pkg/vulnsrc/photon/photon.go:80
↓ 1 callersMethodcommit
(tx *bolt.Tx, cves []Cve)
pkg/vulnsrc/nvd/nvd.go:84
↓ 1 callersMethodcommit
(tx *bolt.Tx, platformName string, errata []Erratum)
pkg/vulnsrc/alma/alma.go:131
↓ 1 callersMethodcommit
(tx *bolt.Tx, ovals []OracleOVAL)
pkg/vulnsrc/oracle-oval/oracle-oval.go:116
↓ 1 callersMethodcommit
(tx *bolt.Tx, avgs []ArchVulnGroup)
pkg/vulnsrc/arch-linux/archlinux.go:85
↓ 1 callersMethodcommit
(tx *bolt.Tx, cves []RedhatCVE)
pkg/vulnsrc/redhat/redhat.go:124
↓ 1 callersMethodcommit
(tx *bolt.Tx, pkgType packageType, glads []Advisory)
pkg/vulnsrc/glad/glad.go:123
↓ 1 callersMethodcommit
(tx *bolt.Tx, platformName string, errata []RLSA)
pkg/vulnsrc/rocky/rocky.go:155
↓ 1 callersMethodcommit
(tx *bolt.Tx, f *os.File)
pkg/vulnsrc/node/node.go:139
↓ 1 callersFunctionconvertSeverity
(impact string)
pkg/vulnsrc/redhat-csaf/parse.go:509
↓ 1 callersFunctionconvertSeverity
(severity string)
pkg/vulnsrc/bottlerocket/bottlerocket.go:139
↓ 1 callersFunctionconvertSeverity
(severity string)
pkg/vulnsrc/ghsa/ghsa.go:200
↓ 1 callersFunctionconvertSeverity
(severity string)
pkg/vulnsrc/bitnami/bitnami.go:54
↓ 1 callersFunctionconvertSeverity
(sev string)
pkg/vulnsrc/arch-linux/archlinux.go:123
↓ 1 callersFunctionconvertToGenericAdvisory
(advisory RawAdvisory)
pkg/vulnsrc/node/node.go:191
↓ 1 callersMethodcpeIndices
(repositories, nvrs []string)
pkg/vulnsrc/redhat-oval/redhat-oval.go:233
↓ 1 callersFunctiondecodeArches
(encoded string)
pkg/vulnsrc/redhat-csaf/aggregate.go:227
↓ 1 callersFunctiondeterminePrimaryFixedVersion
determinePrimaryFixedVersion determines primary fixed version for backward compatibility It is chosen as the highest normal flavor version on x86_64 i
pkg/vulnsrc/oracle-oval/oracle-oval.go:295
↓ 1 callersFunctionencodeArches
encodeArches encodes a slice of architectures as a string for consistent grouping
pkg/vulnsrc/redhat-csaf/aggregate.go:223
↓ 1 callersMethodextractRHSAID
(remediation *csaf.Remediation)
pkg/vulnsrc/redhat-csaf/parse.go:383
↓ 1 callersFunctionfollowTestRefs
(test rpminfoTest, objects map[string]string, states map[string]rpminfoState)
pkg/vulnsrc/redhat-oval/parse.go:90
↓ 1 callersFunctionfollowTestRefs
(test oval.RpmInfoTest, objects map[string]string, states map[string]oval.RpmInfoState)
pkg/vulnsrc/azure/azure.go:202
↓ 1 callersFunctiongeneralizeSeverity
(severity string)
pkg/vulnsrc/alma/alma.go:222
↓ 1 callersFunctiongeneralizeSeverity
(severity string)
pkg/vulnsrc/rocky/rocky.go:310
↓ 1 callersMethodget
(bktNames []string, key string)
pkg/db/db.go:178
↓ 1 callersMethodgetAffectedPackages
(relationships []Relationship)
pkg/vulnsrc/suse-cvrf/suse-cvrf.go:200
↓ 1 callersFunctiongetCVSS
(details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:59
↓ 1 callersFunctiongetCvssV2
getCvssV2 selects vector, score and severity from V2 metrics
pkg/vulnsrc/nvd/nvd.go:105
↓ 1 callersFunctiongetCvssV3
getCvssV3 selects vector, score and severity from V3* metrics
pkg/vulnsrc/nvd/nvd.go:119
↓ 1 callersFunctiongetCvssV40
getCvssV40 selects vector, score and severity from V40 metrics
pkg/vulnsrc/nvd/nvd.go:134
↓ 1 callersFunctiongetCweIDs
(details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:145
↓ 1 callersMethodgetDataSource
(tx *bolt.Tx, bktName string)
pkg/db/data_source.go:30
↓ 1 callersFunctiongetDescription
(details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:132
↓ 1 callersFunctiongetDetail
(notes []DocumentNote)
pkg/vulnsrc/suse-cvrf/suse-cvrf.go:325
↓ 1 callersFunctiongetLastModifiedDate
(vulnID string, details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:246
↓ 1 callersFunctiongetPackage
(packVer string)
pkg/vulnsrc/suse-cvrf/suse-cvrf.go:334
↓ 1 callersFunctiongetPublishedDate
(vulnID string, details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:231
↓ 1 callersFunctiongetReferences
(details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:202
↓ 1 callersFunctiongetRejectedStatus
(details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:261
↓ 1 callersFunctiongetSeverity
(details map[types.SourceID]types.VulnerabilityDetail)
pkg/vulnsrc/vulnerability/vulnerability.go:87
← previousnext →201–300 of 727, ranked by callers