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

Redact JSON payloads #24

Merged
merged 8 commits into from
Jan 15, 2025
Merged

Redact JSON payloads #24

merged 8 commits into from
Jan 15, 2025

Conversation

TheTeaCat
Copy link
Member

Describe your changes

Updates the version of the go library used & implements two directives for controlling the redaction of JSON request and response payloads.

Also cut out a bunch of code that was reimplementing functionality provided by builtin NGINX functions (ngx_conf_set_str_slot and ngx_conf_set_flag_slot).

Issue ticket number and link

https://firetail-io.atlassian.net/browse/FIRE-2909

Checklist before requesting a review

  • I have resolved any merge conflicts
  • I have run tests locally and they pass
  • I have linted and auto-formatted the code
  • If there is new or changed functionality, I have added/updated the tests.
  • If there is new or changed functionality, I have added/updated the documentation.

@TheTeaCat TheTeaCat self-assigned this Jan 15, 2025
@TheTeaCat TheTeaCat merged commit 02dda0c into main Jan 15, 2025
1 check passed
@rileyfiretail rileyfiretail deleted the json-redact branch January 22, 2025 09:44
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