Annotation Interface ProvidedSemgrepScan


@Documented @Qualifier @Retention(RUNTIME) @Target(PARAMETER) public @interface ProvidedSemgrepScan
This tells the framework to inject the results of an offline Semgrep scan into the following parameter. By offline, we mean a scan that took place before this execution took place. This can only inject RuleSarif types.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The Semgrep rule "id".
  • Element Details

    • ruleId

      String ruleId
      The Semgrep rule "id".