Xiwen Cheng

Results 24 comments of Xiwen Cheng

I can help with that. Here's an analysis of how a tool like **mxlint** can address the S-Unit Top 10 Mendix security vulnerabilities. ### Addressed by mxlint & Already Possible...

Hi Sinar, Bart has created a similar rule at https://github.com/mxlint/mxlint-rules/blob/main/rules/005_microflows/005_0003_number_of_elements_in_microflow.rego It is not perfect as it assumes there is always a start and end element and therefore can subtract 2...

Hi Sinar, It's possible you have run into a bug in how the input expression is used by mxlint-cli. For now I suggest: - keep using */*/*$Microflow.yaml as input expression...

with https://github.com/mxlint/mxlint-cli/releases/tag/v3.6.0 the input expression bug has been fixed. The new format is a regular expression: ``` .*/*\\$Microflow\\.yaml ``` Also we now support javascript format to write rules. That should...