Skip to content

feat: increase granularity of chosing scanners #86

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

Merged
merged 2 commits into from
Mar 27, 2025

Conversation

owenrumney
Copy link
Collaborator

@owenrumney owenrumney commented Mar 27, 2025

  • allow the user to chose which scanners to use at a window level. This
    setting is saved in the .vscode folder for the current workspace and
    not globally

image

Resolves #85

- allow the user to chose which scanners to use at a window level. This
  setting is saved in the .vscode folder for the current workspace and
  not globally
@owenrumney owenrumney requested a review from Copilot March 27, 2025 10:17
@owenrumney owenrumney self-assigned this Mar 27, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR increases the granularity for choosing scanners at the window level by introducing new configuration options and associated commands. Key changes include:

  • Adding new configuration keys ("vulnScanning" and "misconfigScanning") to the configuration array.
  • Updating the scanner options logic to conditionally include "vuln" and "misconfig" scanners.
  • Registering new commands to enable or disable the vulnerability and misconfiguration scanning settings.

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
src/extension.ts Added new configuration keys for vulnerability and misconfig scanning.
src/command/options.ts Modified scanner options to conditionally push scanners based on the new settings.
src/activate_commands.ts Registered new commands to toggle the new scanner settings.
Files not reviewed (1)
  • package.json: Language not supported

@owenrumney owenrumney merged commit 71f5e20 into master Mar 27, 2025
3 checks passed
@owenrumney owenrumney deleted the feat/increase-granularity-for-chosing-scanners branch March 27, 2025 11:04
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.

feat: allow more granular choice on what to scan for
1 participant