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

Fix the output parsing on the latest semgrep tool #517

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

sobregosodd
Copy link
Contributor

  • Rewrite the JSON output parsing so as not to use extra.lines
  • Eliminate symbolic-propagation and extend the affected rules to pass tests

// ruleid: npm-exfiltrate-sensitive-data
var dbRef = ref.child("env_vars");

Choose a reason for hiding this comment

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

Code Quality Violation

Unexpected var, use let or const instead. (...read more)

Block scoped lexical declarations like let and const are preferred over var. Block scope is common in many other programming languages and helps programmers avoid mistakes.

View in Datadog  Leave us feedback  Documentation

@sobregosodd sobregosodd marked this pull request as ready for review January 14, 2025 16:34
Copy link
Contributor

@ikretz ikretz left a comment

Choose a reason for hiding this comment

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

lgtm

@sobregosodd sobregosodd changed the title Comply with semgrep licence changes Fix the output parsing on the latest semgrep tool Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants