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

app-agent-config.xml - use of regex to mask segment data #966

Open
aleques opened this issue Sep 15, 2022 · 2 comments
Open

app-agent-config.xml - use of regex to mask segment data #966

aleques opened this issue Sep 15, 2022 · 2 comments
Labels

Comments

@aleques
Copy link

aleques commented Sep 15, 2022

Hi,

I'm trying to use match-pattern - regex but it does not work properly.
E.g.:

        <sensitive-url-filter delimiter="/"
                              segment="3,4,5,6"
                              match-filter="REGEX"
                              match-pattern=":"
                              param-pattern="myParam|myAnotherParam"/>

this should mask selected segments that contains : but it masks everything.
If I do match-pattern="=" it works as expected.
Another examples that does not work (they mask everything):
match-pattern="[^a-z¦-]+"
match-pattern="\x3A"

Is there any subset of regular expression that it's allowed to use here ?
Thanks

@dmikusa
Copy link
Contributor

dmikusa commented Sep 15, 2022

I don't believe the buildpack is consuming that file, it's just being passed through to the AppDynamics agent. You would need to ask the vendor what they support in that configuration file.

@aleques
Copy link
Author

aleques commented Sep 15, 2022

I don't believe the buildpack is consuming that file, it's just being passed through to the AppDynamics agent. You would need to ask the vendor what they support in that configuration file.

Thank you
I'll contact them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants