Skip to content

Commit

Permalink
Merge branch 'main' into scan_request_try2
Browse files Browse the repository at this point in the history
  • Loading branch information
aryx authored Dec 9, 2024
2 parents 7e19674 + 37314fd commit 7b2f734
Show file tree
Hide file tree
Showing 7 changed files with 160 additions and 3 deletions.
5 changes: 5 additions & 0 deletions semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ type uuid = string wrap <ocaml module="ATD_string_wrap.Uuidm">
(* RFC 3339 format *)
type datetime = string wrap <ocaml module="ATD_string_wrap.Datetime">

type match_based_id = string wrap

(*****************************************************************************)
(* Versioning *)
(*****************************************************************************)
Expand Down Expand Up @@ -1624,12 +1626,15 @@ type parsing_stats = {
num_bytes: int;
}


(* Response by the backend to the CLI to the POST /complete *)
type ci_scan_complete_response <ocaml attr="deriving show"> = {
success: bool;
~app_block_override: bool;
(* only when app_block_override is true *)
~app_block_reason: string;
(* match_based_ids of findings that semgrep-app determined should cause the scan to block *)
~app_blocking_match_based_ids : match_based_id list;
}

(* ----------------------------- *)
Expand Down
7 changes: 6 additions & 1 deletion semgrep_output_v1.jsonschema

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions semgrep_output_v1.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions semgrep_output_v1.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions semgrep_output_v1.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

88 changes: 87 additions & 1 deletion semgrep_output_v1_j.ml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 24 additions & 1 deletion semgrep_output_v1_j.mli

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7b2f734

Please sign in to comment.