Documentation ¶
Overview ¶
Copyright 2019 Sonatype Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- func LogVulnerablePackage(sb *strings.Builder, noColor bool, idx int, packageCount int, ...)
- type Audit
- func (a Audit) AuditBom(deps []packageurl.PackageURL, fileLookup map[string]string) (r *AuditResult)
- func (a Audit) GetPurls(libPaths []string, libs []string, files []string) ([]packageurl.PackageURL, map[string]string)
- func (a Audit) HasProperOssiCredentials() bool
- func (a Audit) ProcessPaths(libPaths []string, libs []string, files []string) (r *AuditResult)
- type AuditResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogVulnerablePackage ¶ added in v0.1.0
Types ¶
type Audit ¶ added in v0.1.0
type Audit struct {
OssiConfig config.OSSIConfig
}
func New ¶ added in v0.1.0
func New(ossiConfig config.OSSIConfig) *Audit
func (Audit) AuditBom ¶ added in v0.1.0
func (a Audit) AuditBom(deps []packageurl.PackageURL, fileLookup map[string]string) (r *AuditResult)
func (Audit) HasProperOssiCredentials ¶ added in v0.1.0
func (Audit) ProcessPaths ¶ added in v0.1.0
func (a Audit) ProcessPaths(libPaths []string, libs []string, files []string) (r *AuditResult)
type AuditResult ¶ added in v0.1.0
type AuditResult struct { Coordinates []types.Coordinate Count int }
Click to show internal directories.
Click to hide internal directories.