← Back to Baseline

MB-0806

Automated Declared mitigation records satisfy structure and expiry policy

MB-C09 Extension Vulnerability Management Low

The bounded readable schema-version-1 mitigation record inventory has a valid generated_at timestamp within configured max_age_days and covers each identity in the supplied nonempty expected_ids policy with a unique record containing nonempty advisory, package, version, owner, action, rollback and a valid future expires_at. This checks declared record structure and expiry only, not whether all deployed mitigations are declared, effective or approved.

Overview

The bounded readable schema-version-1 mitigation record inventory has a valid generated_at timestamp within configured max_age_days and covers each identity in the supplied nonempty expected_ids policy with a unique record containing nonempty advisory, package, version, owner, action, rollback and a valid future expires_at. This checks declared record structure and expiry only, not whether all deployed mitigations are declared, effective or approved.

Why it Matters

Mitigation registers often become stale when ownership and expiry are informal. Required fields and expected IDs make missing or expired declarations detectable.

Record correctness and mitigation effectiveness are separate evidence, so a schema-valid file cannot substitute for a functional test.

Verification Steps

Manual Verification

  1. Review the schema-version-1 inventory, generated_at freshness and nonempty expected_ids policy.
  2. Require one record per expected identity with advisory, package, version, owner, action, rollback and future expires_at.
  3. Inspect bounded collection and UTC date validity.

Command / Review Sample

# Review .magebean/mitigations.json and its expected_ids policy.
# Required record fields:
# advisory, package, version, owner, action, rollback, expires_at

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. Review the named supplied document or record and the explicit expected topics/identities. Link its claim to independently observed technical evidence; correct only the missing or invalid record fields.
  2. Verify the actual implementation and relevant technical finding separately. Passing document lint does not close a security issue or satisfy a standard clause.
  3. Rerun MB-0806 against the same release, profile and relevant file/key/package scope; compare the new evidence and inspect any independent collection gaps.

Examples

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

Fail Example

An expected mitigation identity is missing, duplicated or has an expired record.

Pass Example

The fresh valid inventory uniquely covers all expected IDs with required content and future expiries; effectiveness is separately reviewed.

Scope and Evidence Limits

Rule revision: 1. Target modes: LOCAL.

The bounded readable schema-version-1 mitigation record inventory has a valid generated_at timestamp within configured max_age_days and covers each identity in the supplied nonempty expected_ids policy with a unique record containing nonempty advisory, package, version, owner, action, rollback and a valid future expires_at. This checks declared record structure and expiry only, not whether all deployed mitigations are declared, effective or approved.

Original historical criterion is not silently reactivated or weakened. 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