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

Fix ASM setting for automated user events. #3070

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

GustavoCaso
Copy link
Member

@GustavoCaso GustavoCaso commented Aug 23, 2023

What does this PR do?

The automated user events feature has two settings: enable and mode both can be configured via code or using a single ENV var DD_APPSEC_AUTOMATED_USER_EVENTS_TRACKING

The corner case found is that setting DD_APPSEC_AUTOMATED_USER_EVENTS_TRACKING=extended|safe is disabling automated user events.

This PR ensures the enabled setting supports extended and safe as valid values.

Motivation

Additional Notes

How to test the change?

@GustavoCaso GustavoCaso requested a review from a team August 23, 2023 15:30
@github-actions github-actions bot added the appsec Application Security monitoring product label Aug 23, 2023
@GustavoCaso GustavoCaso force-pushed the asm-fix-automated-useer-events-settings branch from cd5a830 to e111282 Compare August 23, 2023 15:58
The automated user events feature has two settings: enable and mode. Both can be configured
via code or using a single ENV var: DD_APPSEC_AUTOMATED_USER_EVENTS_TRACKING

The corner case found is that setting DD_APPSEC_AUTOMATED_USER_EVENTS_TRACKING=extended|safe
is disabling automated user events.

This PR ensures the enabled setting supports extended and safe as valid values.
@GustavoCaso GustavoCaso force-pushed the asm-fix-automated-useer-events-settings branch from e111282 to f73885d Compare August 23, 2023 16:01
@GustavoCaso GustavoCaso added this to the 1.14.0 milestone Aug 23, 2023
@GustavoCaso GustavoCaso merged commit f3c7f96 into master Aug 23, 2023
@GustavoCaso GustavoCaso deleted the asm-fix-automated-useer-events-settings branch August 23, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
appsec Application Security monitoring product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants