-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bug: changed reference to references and updated cwe info to fit into semgrep required format #79
Conversation
@ajinabraham - It would be helpful if you could review proposed changes and share your feedback 👍 |
Have you tested this with mobsfscan? To simplify things mobsfscan will substitute |
Hi @ajinabraham This should not have any impact on your rule as this is only metadata. This is the recommended syntax / format so that the references and CWE show up correctly in the Semgrep UI. The reference to references change is blocking Abhinav right now. |
We pin to an older version of semgrep internally and it works well with that. With the changes, the tests are failing.
|
Fixed 4 issues related to metadata:
reference
key. This should bereferences
to be compliant with semgrep required formatreference
key should be a list. This is semgrep required formatcwe
key. This should be in the format `CWE-XXX: CWE_TITLE' to be compliant with semgrep required formatcwe
key should be a list. This is semgrep required formatI have updated these metadata field - no changes to the rule patterns or messages
-- nitin (Semgrep Solution Engineering, EMEA)