Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

About

Store the ATD/openapi/protobuf/... interfaces between semgrep components

Resources

Stars

3 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

717 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS REPOSITORY IS ARCHIVED

It is now vendored into opengrep.

semgrep-interfaces

This repository contains IDL (Interface Definition Language) files specifying the interface between different Semgrep components (e.g., between the semgrep CLI and the playground). It also includes the schema for Semgrep rules, as both Semgrep and Semgrep App rely on this.

This repository is meant to be used as a submodule.

You may need to install opam and mypy as pre-requisites for contributing to this repository.

To update an interface:

  1. Run make setup
  2. Run eval $(opam env)
  3. Make changes to the appropriate .atd file or edit generate.py
  4. Run make. This will propagate that change to the respective .py, .ts, .ml, etc.

About

Store the ATD/openapi/protobuf/... interfaces between semgrep components

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages