Skip to content
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

Configuration files vs Policies for pro #165

Open
AkikoOrenji opened this issue Aug 22, 2024 · 1 comment
Open

Configuration files vs Policies for pro #165

AkikoOrenji opened this issue Aug 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@AkikoOrenji
Copy link

I'm trying to use a local configuration set in the extension settings. Local configuration file includes the below. When i access code files it semgrep automatically scans with hundreds of rules not the expected one rule i have configured below. Should the below work or have i missed something ?

# .semgrep.yml
config:
  - "r/pprof-debug-exposure"

options:
  disable-metrics: true

thanks

@ajbt200128
Copy link
Contributor

I believe the extension doesn't currently respect .semgrep.yml, but it should. For now, you should be able to configure both of these options in the vscode extension settings

@ajbt200128 ajbt200128 added the enhancement New feature or request label Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants