File tree Expand file tree Collapse file tree
dockerfiles/verify_packages/installer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ assert_appsec_installed() {
116116
117117assert_appsec_enabled () {
118118 output=" $( php --ri ddappsec) "
119- if [ -z " ${output##* datadog.appsec.enabled => On * } " ]; then
119+ if [ -z " ${output##* Current state => Enabled * } " ]; then
120120 echo " ---\nOk: ddappsec is enabled\n---\n${output} \n---\n"
121121 else
122122 echo " ---\nError: Wrong ddappsec should be enabled\n---\n${output} \n---\n"
@@ -126,7 +126,7 @@ assert_appsec_enabled() {
126126
127127assert_appsec_disabled () {
128128 output=" $( php --ri ddappsec) "
129- if [ -n " ${output##* datadog.appsec.enabled => On * } " ]; then
129+ if [ -n " ${output##* Current state => Enabled * } " ]; then
130130 echo " ---\nOk: ddappsec is not enabled\n---\n${output} \n---\n"
131131 else
132132 echo " ---\nError: Wrong ddappsec should not be enabled\n---\n${output} \n---\n"
You can’t perform that action at this time.
0 commit comments