Skip to content

Find, verify, and analyze leaked credentials

Small comment fix: workspaces --> collections (#4093)

Martin Locklear7008ad2c62d4
diff --git a/pkg/sources/postman/postman.go b/pkg/sources/postman/postman.go
index 1d6bac385..4a38c8853 100644
--- a/pkg/sources/postman/postman.go
+++ b/pkg/sources/postman/postman.go
@@ -149,7 +149,7 @@ func (s *Source) Chunks(ctx context.Context, chunksChan chan *sources.Chunk, _ .
s.scanVariableData(ctx, chunksChan, Metadata{EnvironmentID: env.ID, EnvironmentName: env.Name, fromLocal: true, Link: envPath, LocationType: source_metadatapb.PostmanLocationType_ENVIRONMENT_VARIABLE}, env)
}
- // Scan local workspaces
+ // Scan local collections
for _, collectionPath := range s.conn.CollectionPaths {
collection := Collection{}
contents, err := os.ReadFile(collectionPath)