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

[feature request] filter sensitive args in resque server #1876

Open
FeLvi-zzz opened this issue Jul 21, 2023 · 0 comments
Open

[feature request] filter sensitive args in resque server #1876

FeLvi-zzz opened this issue Jul 21, 2023 · 0 comments

Comments

@FeLvi-zzz
Copy link
Contributor

FeLvi-zzz commented Jul 21, 2023

I'd like to filter some displayed sensitive args.

my idea is as follows, what do you think?

You can configure which keys you filter.

# config/resque.yaml
...
filter_args_keys:
  - sensitive_key
  - session_id

A job is given args:

def self.perform(foo: 1, bar: 2, sensitive_value: "THIS_IS_SENSITIVE")

It results in:
image

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

No branches or pull requests

1 participant