The reporting feature is not just analytics

A report builder looks like customer empowerment. Pick fields. Add filters. Group by status. Join activity with account data. Save the view. Export the result. Everyone gets fewer custom requests. Product looks more mature. Support gets fewer tickets. Customer admins feel in control.

Good. Flexible reporting is useful.

It is also one of the fastest ways to smuggle a new authorization model into a SaaS product without admitting one was built.

The role table may say a user can view accounts. The UI may say they can only see their team. The API may enforce tenant scope. Then the report builder arrives and lets that same user combine account records, user attributes, billing state, support activity, audit events, and derived fields in ways nobody reviewed as a single access decision.

That is not a dashboard problem. That is a control plane problem wearing analytics clothing.

The mistake is reviewing the page instead of the query

Security reviews often ask whether the reporting page is behind the right role. That is a weak question.

The better question is: what can a permitted user cause the reporting engine to retrieve, combine, infer, save, share, and export?

A report builder is not one feature. It is a query composer. It can cross boundaries that were safe when each screen was reviewed alone. A customer success user may be allowed to see account health. A finance user may be allowed to see invoice status. A support lead may be allowed to see ticket history. A compliance user may be allowed to see audit activity.

Individually, each permission may be reasonable. Combined badly, they can reveal sensitive patterns, privileged operational context, or data about people and accounts outside the user’s purpose.

This is the same trap as saved dashboards and shared filters. A saved report is not just a convenience object. It can become a reusable access path. That is why Shared Views Are Data Access Decisions is a useful mental model here, but report builders add another layer: the user may be defining the query itself.

Field access has to survive composition

Field level controls are where report builders get awkward.

Many products have fields that are harmless in one context and sensitive in another. A customer name may be fine. A billing plan may be fine for finance. A support sentiment flag may be fine for support leadership. A risk score may be fine for trust operations. An internal investigation note may be fine for a tiny audience.

The report builder does not care about your organizational nuance unless you make it care.

A practical design needs field rules that travel with the field wherever it appears. That includes direct columns, filters, sort options, groupings, calculated fields, preview cards, chart labels, drilldowns, scheduled emails, exports, and API responses generated from the report.

If a user cannot view a field in the product, they should not be able to infer it through a filter count. If they cannot see customer support notes, they should not be able to group accounts by note category. If they cannot view a restricted attribute, they should not be able to sort by it and reverse engineer meaning from the order.

The control is not only what appears on screen. It is what the query engine lets the actor use.

Joins are where purpose gets tested

The most interesting risk usually appears when the report builder lets users join or correlate datasets.

A user may be allowed to see two datasets for different reasons. That does not automatically mean they should be allowed to combine them. Joining account activity with user identity, billing status, support history, admin events, and product usage can create a picture that no single workflow intended to disclose.

That does not mean all joins are bad. It means joins need product policy, not just SQL capability.

Some joins should be available to customer admins inside their tenant. Some should be limited to internal operators. Some should require elevated purpose, such as compliance review or incident response. Some should never exist in self service reporting because the inference risk is higher than the operational value.

The tradeoff is real. Over restricting reports creates frustration and pushes teams toward manual exports, private spreadsheets, and shadow analytics. Under restricting reports turns the reporting engine into a quiet data warehouse with weaker governance.

The answer is not to ban flexibility. It is to decide which combinations are allowed, for whom, under what purpose, with what evidence.

Exports change the risk class

A report viewed on screen is one thing. A report exported to a file, scheduled to an inbox, synced to a BI tool, or sent through an integration is another.

Once data leaves the product surface, product authorization is no longer the main boundary. The file can be forwarded. The schedule can outlive the person’s role. The downstream tool may have different retention, sharing, and access rules.

That is why export behavior needs its own control design. Which report types can be exported? Which fields are export blocked even if visible on screen? Do scheduled reports recheck authorization at send time? What happens when the owner leaves, changes role, or loses access? Can an admin see who receives recurring reports?

This overlaps directly with the lesson from The Download Button Is a Data Transfer Control. Export is not a formatting option. It is a data movement decision.

Evidence should explain the access decision

Audit logs for report builders often say someone ran a report. That is not enough.

Useful evidence should show what mattered: actor, tenant, report owner, selected datasets, sensitive fields used, filters applied, join pattern, export action, recipients, schedule, and whether authorization was evaluated at run time.

You do not need to log every row returned to create a privacy problem in the name of auditability. You do need enough evidence to answer a basic question later: why was this user able to retrieve this data in this shape?

That evidence also helps product teams operate the feature responsibly. Which reports use restricted fields? Which saved reports have no active owner? Which scheduled reports still run after role changes? Which report templates combine data from domains that should probably require review?

Without that, the reporting feature becomes a black box with a download button.

A reasonable operating model

The goal is not to make every report request a security ticket. That would be miserable and it would not last.

A better model has a few clear layers:

  1. Field classification that is enforceable in the report engine, not just documented in a catalog.
  2. Runtime authorization for fields, filters, groupings, joins, drilldowns, exports, and scheduled delivery.
  3. Approved report templates for common use cases where the organization wants speed and consistency.
  4. Guardrails for sensitive combinations, including blocked joins or review paths for high risk reporting.
  5. Ownership and expiry for saved reports, especially shared and scheduled ones.
  6. Evidence that records the access decision without retaining unnecessary report contents.

If your team is redesigning reporting, admin analytics, or customer facing governance features, Zero Drama Security services can help turn those boundaries into practical architecture decisions.

The quiet test

Ask one simple question in the next review: can the report builder create an access path that no normal product screen allows?

If the answer is yes, you do not just have a reporting feature. You have an authorization engine.

Treat it like one.