Skip to content

add --pro if logged in #70

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

add --pro if logged in #70

wants to merge 1 commit into from

Conversation

DrewDennison
Copy link
Member

@DrewDennison DrewDennison commented Jul 18, 2025

Let's give paying customers the best possible engine

TODO:

  • understand any perf issues this introduces with a more complex analysis
  • resolve the setup problem below to install the pro binary

@DrewDennison
Copy link
Member Author

image

this will require shipping a pro binary or running this setup command

@@ -293,6 +293,8 @@ def get_semgrep_scan_args(temp_dir: str, config: str | None = None) -> list[str]
# if no config is provided to allow for either the default "auto"
# or whatever the logged in config is
args = ["scan", "--json", "--experimental"] # avoid the extra exec
if os.environ.get("SEMGREP_API_TOKEN"):
Copy link
Collaborator

Choose a reason for hiding this comment

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

SEMGREP_APP_TOKEN

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants