Tutorial: from alert to report¶
In this tutorial you follow an alert from the moment it is raised to a report that you can hand to an auditor. You open the alert, acknowledge it, look at the user's activity around the event, open the matching events in a report, download the report and (in Enterprise) schedule it. When you finish, you know the investigation loop that you will use every day.
Community Enterprise
Time required: about 15 minutes.
What you need¶
- A QubeSight installation that received the test records from Tutorial: connect your first source within the last 72 hours. One of those records is a
GRANTstatement, and the built-in alert rule Privilege / account change (GRANT, REVOKE, CREATE USER) is enabled by default. The alert engine evaluates rules every 30 seconds, so the alert is already raised. - A browser signed in as
admin. The Analyst, DBA and Auditor roles can follow the same steps except where noted. - Optional: the embedded language model, if you turned it on during installation. Without it, the investigation still shows all evidence but no written assessment.
If you have no test records within the last 72 hours, run send-test.sh from the previous tutorial again and wait one minute.
Step 1: find the alert¶
- Open Assurance Center → Alerts & Notifications. The Alerts tab opens.
- Keep the filter on Active (open + acknowledged).
- Find the alert of type Privilege / account change with severity high. Its title says which user ran how many privilege or account statements on which server, for example: "User APP_USER ran 1 privilege/account statement(s) (GRANT/REVOKE/CREATE USER…) on 198.51.100.20".
The same condition does not raise repeated alerts. If the user runs more GRANT statements, the counter of the open alert increases instead.

Step 2: read the evidence and acknowledge the alert¶
- Open the alert. The detail view shows the rule, the first and last time the condition was seen, the counter, the Evidence (user, server, statement count and related fields) and the notification deliveries for this alert.
- In Note, write what you are about to do, for example
Checking whether the grant was approved. - Press Acknowledge (investigating). The alert stays open, counts as acknowledged, and your user name and note are recorded.
Acknowledging tells other analysts that someone is working on the alert. It does not close it.
Step 3: look at the user's activity around the event¶
QubeSight gives you two ways to see the context of an event. Use the first one if it lists the event; the second one always works.
- Open Monitoring → Dashboards → Security and select the last 24 hours.
- Look for
APP_USERunder Threat Actors, or open the Detection categories card that contains the statement. Detectors flag risky patterns only, so a single routineGRANTmay not be listed. If it is not, use the other tab. - Next to the event, press Investigate. QubeSight collects the evidence: the user's other events in the window, the events of the same session, failed sign-ins, whether the client, program or database is new for this user, off-hours activity, sensitive objects touched and any matching change ticket.
- If a language model is available, the panel also shows a verdict (Routine, Suspicious, Malicious or Not enough information), a confidence and Suggested steps. The assessment rests only on the evidence shown; the decision stays with you.
- Press Open in report at the bottom of the panel to continue with Step 4.

- Open Monitoring → Reports.
- Open SQL Detail and continue with Step 4.
Step 4: narrow the report to the relevant events¶
- In the report, set the time range to cover the alert's first and last time.
- Press Add filter and add:
- the database user:
APP_USER; - the server:
198.51.100.20.
- the database user:
- Press Apply & Run.
The report lists every statement the user ran on that server in the window: the GRANT, and the SELECT, UPDATE, CREATE and DROP statements around it. You can now see that the same client created and dropped a table within seconds of the grant.
Older data
Reports read both the hot tier and the locked cold tier, so you can widen the range far beyond what dashboards show. Queries over cold data are slower. See Hot and cold storage tiers.

Step 5: export the report¶
- Open the Export menu of the report. Export needs the administrator role or the
reports:exportpermission; other roles do not see the menu. - Choose Download as CSV for the complete result, every row and column. Use it for further analysis or as audit evidence.
- Choose Download as PDF for a readable table. The PDF holds at most 2,000 rows and 12 columns; use CSV for the whole report.
Both downloads contain exactly the filtered result you see on the screen.
Step 6: schedule the report (Enterprise)¶
Enterprise
If your installation runs Enterprise, you can have the same report e-mailed regularly, for example every Monday for last week's privilege changes.
- Press Schedule (E-mail this report with these filters on a schedule).
- Choose the recipients, the schedule and the format: CSV attachment, PDF attachment or a download link.
- Click Save. The delivery appears under Monitoring → Reports → Scheduled deliveries, and the report shows This report has a scheduled delivery.
A mail server must be configured first under Settings → Notifications. See Mail (SMTP) and notification channels.
In Community the Schedule button and the Scheduled deliveries tab are not shown. Scheduling also needs the administrator role or the reports:export permission.
Step 7: close the alert¶
- Return to Assurance Center → Alerts & Notifications → Alerts and open the alert.
- Add a note with your conclusion, for example
Grant was part of approved test; no action. - Press Resolve and close. The alert closes and a "resolved" notice is sent to the channels the rule notifies. If the condition happens again, a new alert opens at the next check.
What you learned¶
- Built-in alert rules are active from the first minute and evaluate every 30 seconds.
- Acknowledge (investigating) and Resolve and close record who did what, with a note.
- Investigate gathers the context of an event and, with a language model, gives a reasoned verdict.
- Reports read hot and cold data, accept filters, and export to CSV or PDF; Enterprise can schedule them.
Next steps¶
- Review the built-in rules and tune them: Alerts & Notifications.
- Connect a notification channel so that alerts reach people: Mail (SMTP) and notification channels.
- Learn the report screen in depth: Reports and investigation.
- Understand what happens to a line before it reaches a report: How a log line flows.