Skip to content

Configuration files vs Policies for pro #165

Open
@AkikoOrenji

Description

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

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