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

Explicitly disable appsec in setup script #2011

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

edsrzf
Copy link

@edsrzf edsrzf commented Apr 11, 2023

Description

When --enable-appsec is not passed, this explicitly disables datadog.appsec.enabled in the setup script rather than relying on the default.

This is because, since its release 0.7.0, appsec is effectively on by default. See DataDog/dd-appsec-php#242, which this works around.

Readiness checklist

  • (only for Members) Changelog has been added to the release document.
  • Tests added for this feature/bug.

Reviewer checklist

  • Appropriate labels assigned.
  • Milestone is set.
  • Changelog has been added to the release document. For community contributors the reviewer is in charge of this task.

When --enable-appsec is not passed, this explicitly disables it in the
setup script. This is because, since its release 0.7.0, appsec is
effectively on by default.
@edsrzf edsrzf requested a review from a team as a code owner April 11, 2023 18:47
@Anilm3
Copy link
Contributor

Anilm3 commented Apr 12, 2023

ASM isn't enabled by default when the value is unset, but rather we launch the daemon so that users can enable ASM through remote configuration, however requests aren't processed in this mode.

This PR would break ASM 1-click activation.

cc: @estringana

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.

None yet

2 participants