Add more invalid SARIF processing errors
This commit is contained in:
parent
45fb58ab31
commit
b1c3187939
3 changed files with 5 additions and 1 deletions
|
|
@ -775,6 +775,8 @@ function shouldConsiderInvalidRequest(processingErrors: string[]): boolean {
|
|||
return processingErrors.every(
|
||||
(error) =>
|
||||
error.startsWith("rejecting SARIF") ||
|
||||
error.startsWith("an invalid URI was provided as a SARIF location") ||
|
||||
error.startsWith("locationFromSarifResult: expected artifact location") ||
|
||||
error.startsWith(
|
||||
"could not convert rules: invalid security severity value, is not a number",
|
||||
) ||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue