The Lightning Security Report in Metazoa Snapshot shows which Visualforce page, Lightning Component, or Flexipage an action opens for each app, profile, and record type. Admins and developers can compare desktop and mobile assignments, edit action overrides, and send changed metadata to Smart Deploy.
When To Use This Report
- Troubleshoot an unexpected record page or Home tab.
- Compare action overrides for desktop and mobile.
- Review org defaults, app defaults, and profile-specific assignments before reorganizing Lightning pages.
- Schedule assignment reports for recurring configuration reviews.
Unlike permission or record-access reports, this report explains page selection through action overrides, not whether a user can access an object, field, or record.
Open The Report
- Right-click a Metadata Snapshot item on the Snapshot desktop.
- Choose Lightning Security.
Select Reports
Choose the question to answer: which overrides belong to an asset, which content an action opens, or which assignment applies to a profile and record type.
Select one list item to generate an immediate preview. Check multiple items to include those results on Display Report. Selecting an item and checking an item serve different purposes.
- Use detail reports grouped by Override Type, Override Source, Content Type, Content Source, Record Type, Profile Name, or Action Name.
- Choose All for desktop and mobile, Large for desktop, or Small for mobile.
- Choose summary reports to compare View or Tab assignments by Custom Application.
Display Report
Review the checked reports together. Detail reports show individual assignments; summary matrices show profiles down the left and record types across the top, grouped by Custom Application and form factor. Summary Tab reports cover tab assignments, including the Home tab.
| Column | Description |
|---|---|
| Override Type | The assignment level, such as an org default, object component, app default, or app, record type, and profile combination. |
| Override Source | The asset containing the override, rather than the page or component opened by the action. |
| Content Type | The kind of content opened: Visualforce, Lightning, or Flexipage. |
| Content Source | The page or component used by the assignment. |
| Action Name | The action and form factor, such as View - Large or View - Small. |
Use Show Labels to change name presentation. Use Hide Tab Actions, Hide View Actions, and Hide Other Actions to narrow the visible actions. Color Code controls assignment coloring; colors distinguish assignment levels rather than security severity.
Schedule Report
Use Schedule Report to run the selected report automatically on a timer and deliver results to Email, Slack, Content, Chatter, or the Assistant. The Assistant destination records results as Org Intelligence in the chosen file format, and each run replaces the previous recording. Retain outputs elsewhere when comparing earlier runs, and refresh the underlying snapshot when the review needs newer org metadata.
Editing Palette And Edit Assignment
Click Editing Palette to show the Assignment Editing Palette. The admin or developer selects a table assignment, then chooses Edit Assignment, Duplicate Assignment, or Remove Assignment; Add Assignment creates an assignment.
In Edit Assignment, choose the scope with Override Type:
- Custom Tab (Org Default)
- Custom Object (Component)
- Custom Application (App Default)
- Custom App (Record Type and Profile)
Set Override Source and Content Source, then choose the applicable Record Type and Profile Name. Content Type offers Visualforce, Lightning, and Flexipage. Action Name offers Edit, New, Tab, and View; Form Factor offers Classic, Large, and Small.
Use Skip Record Type Select Page when appropriate for the assignment. The Comment area contains generated comments and accepts additional notes saved in the snapshot. Click OK to save, add, or duplicate the assignment, or Cancel to leave the dialog without saving the assignment change.
What The Results Tell You
The report connects assignment scope, source asset, content, action, form factor, profile, and record type. These signals explain configured page selection in the snapshot, not page usage or runtime behavior.
- Green Custom Object (Component) rows identify object-level component assignments.
- Yellow Custom Application (App Default) rows identify app-default assignments.
- Red Custom App (Record Type and Profile) rows identify assignments scoped to an app, record type, and profile. Red does not mean a security failure.
- --None-- indicates no value shown for that assignment dimension, not a failed permissions check.
- (Missing) identifies a missing entry in a summary heading. The marker alone does not establish that the underlying page asset was deleted.
Before deploying or removing an assignment, the admin confirms the page owner, business purpose, intended app, profile, record type, action, and form factor. Test the affected user path in a sandbox; an assignment matrix does not establish record access, component correctness, or regression-test coverage.
Try The Report
Use a sandbox snapshot containing a Custom Application (App Default) assignment for View - Large and another available Flexipage named Example_Mobile_Page.
- Check Override Type - All, then review the existing app-default assignment on Display Report.
- Configure Schedule Report for recurring Email delivery and retain the first output.
- Open Editing Palette, select the assignment, and click Duplicate Assignment.
- Keep the same app and action, change Form Factor to Small, and choose
Example_Mobile_Pageas Content Source. Save the assignment, then save the report changes with the report-level OK. - Compare the next emailed output with the baseline. Expect both View - Large and View - Small under Custom Application (App Default), with different content sources.
The comparison demonstrates that desktop and mobile can use separate app-default pages. The edits remain snapshot changes until deployment; use Smart Deploy next when the assignments should reach the sandbox org.
Export And Deploy Changes
Right-click a report table and choose Export As CSV, Export As XLSX, Export As PDF, or Export As HTML.
After an assignment changes, Deploy appears. Click Deploy to save edits to the current snapshot and open Smart Deploy, where the admin reviews and deploys the changed metadata. Saving an assignment alone does not update Salesforce. After deployment, open the affected app and exercise the relevant action with the intended profile, record type, and desktop or mobile experience.
Common Questions
Why does the same record open different Lightning pages?
Org defaults, object overrides, app defaults, and app, record type, and profile assignments can select different content. Compare the relevant summary matrix and form factor.
Does Lightning Security show whether a user can access a record?
No. The report shows action assignments. Use Record Level Security for record access and Profiles and Permission Sets for permission review.
Does a red assignment mean the page is unsafe?
No. Red identifies the Custom App (Record Type and Profile) assignment level, not a security rating.
What should I do when an asset cannot be found in the snapshot?
Messages such as Could not find asset in snapshot. or This snapshot appears empty. indicate that the report lacks the expected snapshot content. Capture or refresh the required metadata before continuing.
Related Articles
- Record Level Security Report - Investigate access to individual records.
- Profiles and Permission Sets Report - Review object, field, and other permissions.
- Append Snapshot - Add missing metadata or refresh selected assets.
- Deploy Metadata - Review metadata deployment options.
- Metadata Differences Report - Compare configuration across orgs or over time.
Further Reading
- Removing Technical Debt - Plan metadata cleanup and modernization as part of release management.