Skip to content

Conversation

@Bump-Action
Copy link

Description

Prevent resetting EXTRA_ARGS variable in uwsgi entry point

What problem does it solve?

Allows you to passthrough your startup parameters to the uwsgi binary

@dryrunsecurity
Copy link

DryRun Security

🔴 Risk threshold exceeded.

This pull request modifies a sensitive file path (docker/entrypoint-uwsgi.sh), and the scanner flagged it as a configured sensitive edit that may require review; sensitive paths and allowed authors can be configured in .dryrunsecurity.yaml.

🔴 Configured Codepaths Edit in docker/entrypoint-uwsgi.sh
Vulnerability Configured Codepaths Edit
Description Sensitive edits detected for this file. Sensitive file paths and allowed authors can be configured in .dryrunsecurity.yaml.

We've notified @mtesauro.


All finding details can be found in the DryRun Security Dashboard.

@Bump-Action Bump-Action changed the base branch from master to dev November 22, 2025 16:59
@valentijnscholten valentijnscholten added this to the 2.53.0 milestone Nov 22, 2025
Copy link
Contributor

@mtesauro mtesauro left a comment

Choose a reason for hiding this comment

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

Approved

DD_UWSGI_LOGFORMAT_DEFAULT='[pid: %(pid)|app: -|req: -/-] %(addr) (%(dd_user)) {%(vars) vars in %(pktsize) bytes} [%(ctime)] %(method) %(uri) => generated %(rsize) bytes in %(msecs) msecs (%(proto) %(status)) %(headers) headers in %(hsize) bytes (%(switches) switches on core %(core))'

EXTRA_ARGS=""
EXTRA_ARGS="${EXTRA_ARGS:-}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it better to call it DD_UWSGI_EXTRA_ARGS? As soon as EXTRA_ARGS appears in some configuration, it might be confusing: Extra args of what?

Copy link
Member

Choose a reason for hiding this comment

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

agreed. I thought EXTRA_ARGS was some well-known way to startup uwsgi, but it's DD specific.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

Copy link
Member

@valentijnscholten valentijnscholten left a comment

Choose a reason for hiding this comment

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

@Bump-Action Thank you for the PR. Could you change it to be DD_UWSGI_EXTRA_ARGS?

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants