-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update command injection analyzer logic
- Loading branch information
1 parent
e828f74
commit c9cc375
Showing
4 changed files
with
148 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"location": { | ||
"filePath": "main.bal", | ||
"startLine": 23, | ||
"endLine": 26, | ||
"startColumn": 30, | ||
"endColumn": 6, | ||
"startOffset": 868, | ||
"length": 68 | ||
}, | ||
"rule": { | ||
"id": "ballerina/os:1", | ||
"numericId": 1, | ||
"description": "Avoid constructing system command arguments from user input without proper sanitization", | ||
"ruleKind": "VULNERABILITY" | ||
}, | ||
"source": "BUILT_IN", | ||
"fileName": "rule1/main.bal", | ||
"filePath": "/Users/sachink/Desktop/module-ballerina-os/module-ballerina-os/compiler-plugin-tests/src/test/resources/static_code_analyzer/ballerina_packages/rule1/main.bal" | ||
} | ||
] |
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
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