Skip to content

feat: add option to choose a folder as a scan reference#259

Merged
bastiandoetsch merged 3 commits intomainfrom
feat/IDE-871_add-option-for-reference-folder
Feb 10, 2025
Merged

feat: add option to choose a folder as a scan reference#259
bastiandoetsch merged 3 commits intomainfrom
feat/IDE-871_add-option-for-reference-folder

Conversation

@bastiandoetsch
Copy link
Copy Markdown
Contributor

@bastiandoetsch bastiandoetsch commented Feb 10, 2025

Description

This adds an option to specify a reference folder for net-new scanning instead of a branch.

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

image
image

@bastiandoetsch bastiandoetsch requested a review from a team as a code owner February 10, 2025 15:22
@bastiandoetsch bastiandoetsch force-pushed the feat/IDE-871_add-option-for-reference-folder branch from f3a6bd9 to 216308f Compare February 10, 2025 15:29
SnykLogger.logInfo("No valid configuration for path: " + folderPath.toString());
FolderConfig folderConfig = new FolderConfig(path.toString(), null, new ArrayList<>(),
new ArrayList<>());
FolderConfig folderConfig = new FolderConfig(path.toString());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

do we also need to normalize the path here?

}

public List<String> getAdditionalParameters() {
if (additionalParameters == null) return new ArrayList<>();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nitpick: lint

}

public String getReferenceFolderPath() {
if (referenceFolderPath == null) return "";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nitpick: lint

@bastiandoetsch bastiandoetsch merged commit 25d529a into main Feb 10, 2025
@bastiandoetsch bastiandoetsch deleted the feat/IDE-871_add-option-for-reference-folder branch February 10, 2025 20:54
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