← Back to Baseline

MB-0804

Automated Named integration debug settings resolve disabled in default scope

MB-C12 Third-party Config Security Medium

Every explicitly configured integration debug/verbose setting path resolves through deployed env.php/config.php/default core_config_data or supported installed-module defaults to a recognized disabled value in default scope. Any recognized enabled value fails; omitted paths, missing values or unsupported flag representations remain UNKNOWN. This verifies named settings, not every third-party integration or store scope.

Overview

Every explicitly configured integration debug/verbose setting path resolves through deployed env.php/config.php/default core_config_data or supported installed-module defaults to a recognized disabled value in default scope. Any recognized enabled value fails; omitted paths, missing values or unsupported flag representations remain UNKNOWN. This verifies named settings, not every third-party integration or store scope.

Why it Matters

A known provider's debug setting is a useful precise collection target. Explicit path lists prevent a clean result from being inferred when the relevant configuration was never supplied.

Other modules, store scopes and independent logging behavior remain outside those named default-scope declarations.

Verification Steps

Manual Verification

  1. Review the explicit nonempty path policy.
  2. Resolve each named setting from locked deployment files, default-scope database values or supported installed-module defaults.
  3. Require recognized disabled values and record missing/unsupported values as unresolved.

Command / Review Sample

php bin/magento config:show vendor_module/general/debug
# Replace this illustrative path with each explicitly configured integration setting.

Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.

Remediation / Fix Guidance

  1. For each reported named integration setting, confirm its path and semantics against the installed integration version, then disable debug/verbose output through its supported configuration mechanism in the assessed default scope. Preserve ordinary audit logging and never assume every logging setting is debug. If sensitive data was emitted, review sink exposure and rotate affected credentials as appropriate.
  2. List the applicable explicit configuration paths in .magebean/production-checks.json, rerun resolved-value collection and test integration behavior in isolation. Assess store-specific overrides and custom runtime logging separately; an absent/unresolved path is not disabled.
  3. Recheck MB-0804: Read back the effective setting or role/runtime state from the same source used by the check, then test the affected authentication, application or integration flow in staging. A changed file alone does not establish that the production worker uses it.

Examples

Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.

Fail Example

A supplied integration debug path resolves to an enabled value.

Pass Example

Every named path resolves to a recognized disabled value in default scope; other modules/store scopes remain separately reviewed.

Scope and Evidence Limits

Rule revision: 1. Target modes: LOCAL.

Every explicitly configured integration debug/verbose setting path resolves through deployed env.php/config.php/default core_config_data or supported installed-module defaults to a recognized disabled value in default scope. Any recognized enabled value fails; omitted paths, missing values or unsupported flag representations remain UNKNOWN. This verifies named settings, not every third-party integration or store scope.

No heuristic debug/logging key regex and no inference that ordinary enabled audit logging is insecure. Vendor path/version applicability must be provided as normal policy configuration; no invented universal vendor schema. No default vendor list is shipped because repository does not contain authoritative installed integration schemas. Original historical criterion and ID remain in the engineering backlog; this new ID records only its exact supported observation.

Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.

References