Skip to content
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

chore: put ruleid annotation alone on its own line for tainted-sql-string.py #3467

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

aryx
Copy link
Contributor

@aryx aryx commented Sep 5, 2024

This is the only file doing that, so let's be consistent.
It also helps osemgrep test which does not handle this case.

This was mentioned in
https://linear.app/semgrep/issue/SAF-1529/same-line-annotations-fail-when-running-semgrep-test-but-work-with

test plan:
make test

…ring.py

This is the only file doing that, so let's be consistent.
It also helps osemgrep test which does not handle this case.

This was mentioned in
https://linear.app/semgrep/issue/SAF-1529/same-line-annotations-fail-when-running-semgrep-test-but-work-with

test plan:
make test
Copy link
Contributor

@p4p3r p4p3r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@aryx aryx merged commit f1f6dc5 into develop Sep 5, 2024
8 checks passed
@aryx aryx deleted the alone_on_its_own_line branch September 5, 2024 10:32
0xDC0DE added a commit that referenced this pull request Sep 6, 2024
* Added Onfido API token detection to recognize this type of secrets (#3463)

* PHP tainted-callable (#3464)

A callable is the name of a function, or an array with a class/object and a method. Basing these on user input makes it possible to call arbitrary functions.

Co-authored-by: Pieter De Cremer (Semgrep) <pieter@r2c.dev>

* chore: put ruleid annotation alone on its own line for tainted-sql-string.py (#3467)

This is the only file doing that, so let's be consistent.
It also helps osemgrep test which does not handle this case.

This was mentioned in
https://linear.app/semgrep/issue/SAF-1529/same-line-annotations-fail-when-running-semgrep-test-but-work-with

test plan:
make test

---------

Co-authored-by: lucasan1 <70696858+lucasan1@users.noreply.github.com>
Co-authored-by: Sjoerd Langkemper <sjoerd-github@linuxonly.nl>
Co-authored-by: Pieter De Cremer (Semgrep) <pieter@r2c.dev>
Co-authored-by: Yoann Padioleau <pad@r2c.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants