Docs

Sensitive content

Find files that hold identity numbers, bank details, card numbers, passwords, CVs and payslips, see where they are shared, and tune the patterns.

Sharing on its own is only half the risk. A shared spreadsheet of meeting rooms is fine; a shared spreadsheet of National Insurance numbers is not. The Sensitive content section looks inside the customer's files for data that should never be found by Copilot or by everyone a file is shared with, and puts the two together: a sensitive file open to everyone, or on an Anyone link, is a critical finding.

Open the customer page, go to Security, then AI readiness, and choose Sensitive content.

Sensitive content with how much of the shared places was read and the counts for sensitive files, passwords and labels
Sensitive content with how much of the shared places was read and the counts for sensitive files, passwords and labels

What it looks for

Pattern What counts
UK National Insurance numbers Two letters, six digits and A to D, with the prefixes HMRC never issues left out
UK sort codes and account numbers A sort code with an eight digit account number beside it, or with the words "sort code"
Payment card numbers 13 to 19 digits that pass the Luhn check and start like a real card
IBANs International bank account numbers that pass the IBAN check
Passport numbers A passport number next to the word passport, or a passport's machine-readable line
Passwords and keys Private keys, cloud access keys and tokens, "password: ..." lines and spreadsheet columns of passwords
CVs Documents with the headings of a CV, or named as one
Payslips Documents with the wording of a payslip, or named as one

The patterns are tuned for few false positives: placeholders such as **** or changeme are not passwords, and a lone number only counts as a passport number next to its words.

Note: Tenvara never keeps what it finds. For each file and pattern it keeps a count and a one-way hash of one match, so the same value in two files can be matched up, but no value can be read back from it.

Where it reads files from

  • From the backup copy: where Tenvara backs up the customer's Microsoft 365, files are read from the backup, so nothing is downloaded from Microsoft again.
  • From Microsoft 365: otherwise only files in shared places are read, which is where the risk is: the files the data exposure scan found shared, and the files inside shared folders.

Word, Excel, PowerPoint, OpenDocument, PDF and plain text files are read. A PDF with no text in it, such as a scanned passport or a signed contract, cannot be read for words: it is marked Not readable (image only) and is not counted as read. Each scan only reads files that are new or changed since the last one, up to Files read in one scan (2,000 by default), shared files first. A big shared folder is read over several scans, each carrying on inside the folder where the last one stopped, as deep as folders go, until every shared folder is read. While a scan leaves files waiting, the next one starts straight away instead of at the next interval, until the scans of that tenant have sent Requests an hour while catching up to Microsoft in the last hour (20,000 by default). Files larger than Largest file read (20 MB) are listed but not read. A folder that cannot be listed keeps the findings it had.

How much has been read

Until every shared place has been read, the counts are from the part read so far, not the whole tenant, and the page says so, for example "3,805 of about 172,000 files in shared places read so far (2%)". Image-only PDFs are left out of the files read, and the line says how many there are, so they lower the share read. The same line is on each sensitive finding, in the report and in the presentation.

The line under the description says when it last read, and how many files came from the backup copy, from Microsoft 365 and were unchanged. Scan now reads at once.

Judged only on a current scan

A pass must stand on a recent, full read. Every check that depends on the sensitive file scan (the checks on this page, and Sensitive sites are open to few people in Data exposure) is not known, not a pass, when the customer's last finished scan:

  • is older than Judge on a scan no older than (7 days by default), or
  • read less than Judge on a scan that read at least (90% by default) of the files in shared places.

The check then says how much the scan read, when, and which limit it missed, and the section lists it under what could not be read. A not known check counts like any other unknown check in the score (see AI readiness overview and the score), and a check that was failing before still counts as failing for 30 days, so losing sight of a problem never raises the score. The report's sensitive section says when the files were last read and, when the scan is too old or too small to judge on, says so.

Files that were not read

Each file that was not read says why on the Files list: Not readable (image only), no text, too large, Too slow to read, Stopped the text reader or failed. A file that failed is tried again later (the list says when, for example "Tried again in 6 hr"); after a few failures in a row, and for the other reasons, it is read again only when the file changes (Read again when the file changes).

When the scan keeps failing

When a customer's last three sensitive file scans all failed, one warning alert ("The sensitive file scan keeps failing" for that customer) says how many times in a row, the last scan's own error and when a scan last completed. When the scan failed the same way each time it is no longer started by itself, and the alert says so: put right the cause, then press Scan now to try again. The next scan that completes clears the alert.

The counts and the checks

The tiles show Sensitive files (of all files read), Shared widely, Passwords and keys, Sensitive, no label, Label coverage and Not read (image-only PDFs counted on their own, then no text, too large or failed).

The customer's own bank details

An invoice template carries the customer's own sort code and account number on every invoice. These are not sensitive personal data, so Tenvara sets them apart: a bank detail that appears in at least three of the customer's files, with the customer's own name written beside it in at least one, is not counted as sensitive. A line above the tiles says how many files carry your own bank details, with Show them, and in the files list they carry a Your own bank details badge. A file with someone else's bank details still counts, even beside the customer's own. In the Company edition the name is your organisation's.

Check Severity Finding per
No sensitive file is shared widely Critical Sensitive file open to everyone (Everyone, a public team or site) or on an Anyone link
No passwords or keys are kept in files High File holding passwords or keys
No sensitive file has a link any member of staff could use Medium Sensitive file behind an organisation link
Sensitive files carry a sensitivity label Medium Sensitive file with no label
Files are labelled across the sites Low Site with fewer labelled files than you set

The critical check is the one that matters most: it is where sharing and sensitive data overlap. Sensitive files behind an organisation link are a lesser finding of their own, because Copilot uses such a file only for the people who have opened the link. Because Tenvara recalculates where each sensitive file is shared after every sharing scan, a file drops off the list as soon as its sharing is narrowed, without being read again.

Sensitive files or passwords open to everyone or on Anyone links, and places open to everyone that hold them, are blockers for the verdict. See The verdict and the plan.

Until the tenant has published sensitivity labels, the two label checks say "No labels exist yet" instead of failing, and the plan shows publishing labels as one root cause. Where the tenant's licences do not include labels, they say Needs with the licence.

A file Microsoft flags as malware is shown on the page and raised as a security detection, not scored here. See Working detections.

Below the tiles, Findings, Files, Label coverage and Patterns switch between the findings, the sensitive files with their patterns and reach, label coverage per site and how often each pattern matched.

Putting it right

A new Anyone or organisation-wide link on a sensitive file raises an alert after the sharing scan that finds it, naming the files. See Data exposure.

Most sensitive content findings are put right through sharing: remove or narrow the link on the file in Data exposure, or move the file somewhere only the right people can open. Files holding passwords belong in a password manager or your credentials vault rather than a spreadsheet; once the file is gone, the next scan resolves the finding.

Labelling a file

Where the tenant has sensitivity labels, a sensitive file can be labelled as a fix, through the customer's approver. The file shows the label as pending until Microsoft confirms it has applied it, and Microsoft's reason if it does not. Undo takes the label off again. Labelling through Tenvara uses Microsoft's metered APIs, which you set up for your own app registration in Microsoft's portal.

Tip: Run the scan, sort the Files table by reach, and start with sensitive files open to everyone or on Anyone links. They are usually few and the quickest way out of Not yet.

Tuning the patterns

Go to Settings > AI readiness, stay on the Scoring and alerts tab and find Sensitive content.

  1. Switch each pattern on or off. A customer can have its own choice.
  2. Edit the words the word-based patterns use: Passport words, Password words, CV headings and Payslip words.
  3. Add Your own patterns, one per line, as Name: regular expression, for example Employee number: EMP-\d{6}. A pattern that does not work is listed as not working and the scan says so.
  4. Set Look for sensitive files every (24 hours by default), Files read in one scan, Requests an hour while catching up and Largest file read (MB).
  5. Set Judge on a scan no older than (7 days by default) and Judge on a scan that read at least (90% by default). A customer can have its own, for example an agreed coverage.
  6. Choose which files have their sensitivity labels read in Read sensitivity labels of: every file read (for label coverage by site), sensitive files only, or none.
  7. Set Labelled files per site, at least for the label coverage check (50% by default).
  8. Press Save.

The UK patterns are on by default for installs in the UK; the rest are on everywhere.

Was this page helpful?

Thanks for the feedback.