Project consumed version evidence through sequence appends
This commit is contained in:
@@ -125,15 +125,8 @@ func classifySecretPathsWithEvidence(schema *schemaDescriptor, predicate func(Pa
|
||||
if item == nil {
|
||||
continue
|
||||
}
|
||||
candidate := item.resolvedPath
|
||||
if !candidate.valid() {
|
||||
candidate = item.path
|
||||
}
|
||||
resolved := addSecretEvidencePath(paths, item.destination, candidate)
|
||||
addCandidate(resolved)
|
||||
classifyPath(resolved)
|
||||
for _, ancestor := range item.ancestors {
|
||||
resolved := addSecretEvidencePath(paths, item.destination, ancestor.path)
|
||||
for _, resolved := range item.sensitivityPaths() {
|
||||
addSecretPath(paths, resolved.String())
|
||||
addCandidate(resolved)
|
||||
classifyPath(resolved)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user