Skip to content

Configuration files vs Policies for pro #165

Description

@AkikoOrenji

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions