On this page
What a profile does
A system Profile is a Magebean-provided security template. It organizes Rules for a purpose, but it does not establish Company scope and does not turn every Rule into automated verification. Configure the Profile into a Company-controlled Baseline, then assign that required Baseline to Applications—not directly to individual Instances.
Built-in CLI profiles
| Profile | Inventory / default LOCAL | Use |
|---|---|---|
| basic | 37 / 37 | Routine technical security and readiness. |
| hardening | 86 / 80 | Deeper deployment and strict coding policy. |
| development | 31 / 29 | Offline source, modules and declarations. |
| prelaunch | 60 / 58 | Source plus deployed candidate and HTTP evidence. |
| takeover | 86 / 82 | Inherited technical risks and maintenance scope. |
| owasp | 50 / 41 | Magebean checks organized by Top 10 taxonomy. |
| module-integrity | 11 / 11 | Module identity, REST and DI declarations. |
| module-source | 4 / 4 | PHP targets, contracts and supported request sinks. |
| module-lifecycle | 3 / 3 | Schema, patch and handler declarations. |
| module-reliability | 2 / 2 | Bounded reliability review candidates. |
| evidence | 2 / 2 | Supplied document and record lint only. |
| asvs-l1 | 70 / 0 | Separate ASVS Level 1 workflow; include human review. |
| asvs-l2 | 253 / 0 | Separate ASVS Level 2 workflow; include human review. |
| asvs-l3 | 345 / 0 | Separate ASVS Level 3 workflow; include human review. |
| pci | 280 / 0 | PCI DSS 4.0.1 evidence readiness; not certification. |
Inventory is profile membership; default LOCAL selection assumes no overrides, extra capabilities or filters. These counts do not prove completed assessment. ASVS/PCI need human review. Hardening enables strict_native_api_policy, cache_backend_policy and dependency_maintenance by default; six deployment checks remain separately gated. Confirm current values in the CLI profile reference.
Choose by audit purpose
- Routine first scan: begin with
basic. - Production hardening: use
hardeningwhen deeper operational review is appropriate. - Current Magebean inventory: browse the 110 active criteria in the baseline and select the appropriate technical profile. The old baseline/all/magebean profile names are unsupported.
- Standards-oriented work: select the relevant ASVS or PCI profile, confirm formal scope separately, and retain human evidence.
php magebean.phar rules:list --profile=basic
php magebean.phar scan --path=/var/www/magento --profile=hardening
Include human-required and contextual rules deliberately
Use --include-manual-review when the audit must expose rules that cannot be completed automatically. For capability-dependent ASVS rules, declare only capabilities that are actually present.
php magebean.phar scan \
--path=/var/www/magento \
--profile=asvs-l2 \
--include-manual-review \
--capabilities=graphql,oauth_oidc
CLI profile defaults can activate context; explicit project false values override those defaults and explicit CLI capabilities enable them. A capability is intent, not observed evidence. The Console importer does not persist CLI default capabilities or add them to Agent manifests; Agent context remains explicit.
Use custom profiles for approved organization policy
A custom CLI profile contains an ID and selected Rule IDs for local execution policy. It is distinct from the Dashboard’s system Profile and Company Baseline entities. Store it in source control, review changes, and avoid using exclusions merely to make a pipeline pass.
See the custom profile schema →Configure the Baseline and preserve Audit snapshots
Record the source Profile, selected Rules, verification expectations, applicability decisions, Audit frequency, and material exclusions. Required Baseline assignment to an Application is manual in the MVP.
Creating an Audit snapshots the Baseline configuration. Later Baseline changes do not modify existing Audits. Baseline version history and automatic migration after changes are not available in the MVP.
See current profile selection, development and prelaunch, and production context. Evidence lint does not verify implemented controls.