Warda-DNSDocs Warda: from ward — to protect, guardian
v0.9.3

Company reports

Reports → Company reports (business.reports, Warda Business, beta; internal/admin/businessreport.go): the week or the month (7 or 30 days, today included) summed up for the management, printable: the queries, those blocked and the active devices; the security score today and the average of the period, the alerts by severity; the data loss prevention (blocked, told); the AI services (queries, services, new ones); then By person (the users of the directory marked Directory; a device counts for its person since it was given to them) and By kind of device (the groups, the Devices of the people, those Given to nobody). Computed from the statistics and reports of the box: nothing more is recorded. Like the AI services and the data loss prevention, it is the company policy: it covers every device of the company, those of adults included, whatever their owners chose for their own reports; the page says so and reminds to inform the employees (template: data loss prevention, tab Inform the employees). GET /api/v1/reports/business?period=week|month (reports read) gives period, from, to, the counts, active_devices, score, level, average (-1 when no day was recorded), alerts, dlp, ai, people and kinds, and from 0.8.5 known_devices (the half rings of its four figures: see Reports). With a company logo, the page and its print show it at the top.

Computed in the background (0.7.1). The page opens at once: the task Company reports (business.reports) computes the week and the month 3 minutes after the start, then every hour, only while the plan has Warda Business, and keeps them; the page shows the time of their figures ("Figures of 14:00, computed again every hour."), so today's figures can be up to an hour behind. Compute now (the accounts that change the reports) computes the period again, at most once a minute (within the minute the report kept is answered). After midnight the days asked are no longer those of the report kept: the first view computes it when the task has not run yet. A person renamed or a device given to someone else shows in the figures at the next hourly run, after midnight or with Compute now. On 1.5 million queries over 30 days, the week went from 2.5 s to 6 ms and the month from 8.7 s to 5 ms; the use of the AI services, read for the report as on its own page, reads only the queries of their domains (see AI services). GET /api/v1/reports/business also gives at (when the figures were computed); POST /api/v1/reports/business/refresh {"period": "week"|"month"} (reports written) computes it now and answers the report (400 for an unknown period, 403 without the right to change the reports).