Skip to content

Add strip_exception_messages option to php agent configuration #790

Open
@tsuchikazu

Description

@tsuchikazu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions