External sources configuration (#1158)

This commit is contained in:
Marco Deicas
2022-08-22 11:22:18 -04:00
committed by GitHub
parent e9221ae25d
commit 13296880cd
14 changed files with 132 additions and 16 deletions
@@ -27,6 +27,11 @@ func (c *Cataloger) Name() string {
return catalogerName
}
// UsesExternalSources indicates that the audit binary cataloger does not use external sources
func (c *Cataloger) UsesExternalSources() bool {
return false
}
// Catalog identifies executables then attempts to read Rust dependency information from them
func (c *Cataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error) {
var pkgs []pkg.Package