Skip to content

feat: SP-2487 Implement path obfuscation #27

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

isasmendiagus
Copy link
Contributor

No description provided.

@isasmendiagus isasmendiagus force-pushed the SP-2487-implement-path-obfuscation branch from 1044bba to d480cba Compare May 7, 2025 14:14
@isasmendiagus isasmendiagus requested a review from agustingroh May 7, 2025 14:15
@isasmendiagus isasmendiagus force-pushed the SP-2487-implement-path-obfuscation branch from d480cba to 88e7cce Compare May 7, 2025 14:21
@isasmendiagus isasmendiagus force-pushed the SP-2487-implement-path-obfuscation branch from 88e7cce to f7b7bb6 Compare May 8, 2025 10:56
@isasmendiagus isasmendiagus force-pushed the SP-2487-implement-path-obfuscation branch from f7b7bb6 to 830a3f9 Compare May 8, 2025 14:28
@isasmendiagus isasmendiagus marked this pull request as ready for review May 8, 2025 15:11
@isasmendiagus isasmendiagus requested a review from eeisegn May 8, 2025 15:11
@isasmendiagus
Copy link
Contributor Author

isasmendiagus commented May 8, 2025

This change adds obfuscation into scanFolder and scanFileList in Scanner class.

But the method scanFile handles directly the API call and the obfuscation is not implemented. Do we want that ?

public String scanFile(@NonNull String filename) throws ScannerException, WinnowingException {
String wfp = wfpFile(filename);
if (wfp != null && !wfp.isEmpty()) {
String response = this.scanApi.scan(wfp, "", 1);
if (response != null && !response.isEmpty()) {
return response;
}
}
return "";
}

@isasmendiagus isasmendiagus requested a review from scanoss-qg May 8, 2025 15:41
Copy link

@scanoss-qg scanoss-qg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants