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

Add strip_exception_messages option to php agent configuration #790

Open
tsuchikazu opened this issue Nov 30, 2023 · 0 comments
Open

Add strip_exception_messages option to php agent configuration #790

tsuchikazu opened this issue Nov 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@tsuchikazu
Copy link

tsuchikazu commented Nov 30, 2023

Summary

We want to strip exception messages from error to comply with our corporate security policies.

The strip_exception_messages option exists for other language agents.

But the php agent does not have the strip_exception_messages option.

Desired Behavior

Add strip_exception_messages to php agent configuration.

  • name: newrelic.strip_exception_messages.enabled
  • type: Boolean
  • default: false

If strip_exception_messages option is true, php agent strips exception messages from errors.

Possible Solution

The allow_raw_exception_messages option is already exists to strip exception messages. This settings is private.

It would be good to rename this option to strip_exception_messages and publish.

@tsuchikazu tsuchikazu added the enhancement New feature or request label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant