-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make rules supported by sarif generic from external file instead of h…
…ardcoded
- Loading branch information
Showing
4 changed files
with
235 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/sarif-2.1.0", | ||
"version": "2.1.0", | ||
"runs": [ | ||
{ | ||
"tool": { | ||
"driver": { | ||
"name": "mastg", | ||
"semanticVersion": "1.0.0", | ||
"rules": [ | ||
{ | ||
"id": "VULN-OVERFLOW", | ||
"name": "vuln-overflow", | ||
"defaultConfiguration": { | ||
"level": "warning" | ||
}, | ||
"fullDescription": { | ||
"text": "[VULN-1] Potential Buffer Overflow" | ||
} | ||
}, | ||
{ | ||
"id": "VULN-WEAK-CRYPTO", | ||
"name": "vuln-weak-crypto", | ||
"defaultConfiguration": { | ||
"level": "warning" | ||
}, | ||
"fullDescription": { | ||
"text": "[VULN-1] Use of weak crypto" | ||
} | ||
}, | ||
{ | ||
"id": "VULN-SQL-INJECTION", | ||
"name": "vuln-sql-injection", | ||
"defaultConfiguration": { | ||
"level": "warning" | ||
}, | ||
"fullDescription": { | ||
"text": "[VULN-1] SQL Injection Vulnerability" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/sarif-2.1.0", | ||
"version": "2.1.0", | ||
"runs": [ | ||
{ | ||
"tool": { | ||
"driver": { | ||
"name": "mastg", | ||
"semanticVersion": "1.0.0", | ||
"rules": [ | ||
{ | ||
"id": "rules.mastg-android-insecure-random-use", | ||
"name": "rules.mastg-android-insecure-random-use", | ||
"defaultConfiguration": { | ||
"level": "warning" | ||
}, | ||
"fullDescription": { | ||
"text": "[MASVS-CRYPTO-1] The application makes use of insecure random number generator." | ||
}, | ||
"help": { | ||
"markdown": "[MASVS-CRYPTO-1] The application makes use of insecure random number generator.", | ||
"text": "[MASVS-CRYPTO-1] The application makes use of insecure random number generator." | ||
}, | ||
"properties": { | ||
"precision": "very-high", | ||
"tags": [] | ||
}, | ||
"shortDescription": { | ||
"text": "Semgrep Finding: rules.mastg-android-insecure-random-use" | ||
} | ||
}, | ||
{ | ||
"id": "rules.mastg-android-non-random-use", | ||
"name": "rules.mastg-android-non-random-use", | ||
"defaultConfiguration": { | ||
"level": "warning" | ||
}, | ||
"fullDescription": { | ||
"text": "[MASVS-CRYPTO-1] The application makes use of non-random sources." | ||
}, | ||
"help": { | ||
"markdown": "[MASVS-CRYPTO-1] The application makes use of non-random sources.", | ||
"text": "[MASVS-CRYPTO-1] The application makes use of non-random sources." | ||
}, | ||
"properties": { | ||
"precision": "very-high", | ||
"tags": [] | ||
}, | ||
"shortDescription": { | ||
"text": "Semgrep Finding: rules.mastg-android-non-random-use" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.