Skip to content
项目

johnspurlock/app-privacy-report-viewer

在 GitHub 查看

关于

Local viewer for App Privacy Reports in iOS 15

安全与隐私

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

app-privacy-report-viewer

Local viewer for App Privacy Reports in iOS 15

iOS 15 introduces a new feature in Privacy Settings called Record App Activity.

When enabled, you can save Save App Activity to dump the data to a newline-delimited json file of the form App_Privacy_Report_v4_<time>.ndjson

e.g.

{
  "stream": "com.apple.privacy.accounting.stream.tcc",
  "accessor": { "identifier": "com.google.ProjectFi", "identifierType": "bundleID" },
  "tccService": "kTCCServiceAddressBook",
  "identifier": "BE766661-F44C-46F8-A3E5-258FAE68D603",
  "kind": "event",
  "timestamp": "2021-06-09T14:19:48.270-05:00",
  "version": 3
}

This tool is a simple app to import these files and display them in a web interface running on your local computer.

To get started:

  • Ensure deno is installed (it's easy to install)
  • Run deno run --allow-net --allow-env --allow-read=.,`which deno` --allow-write=. https://raw.githubusercontent.com/johnspurlock/app-privacy-report-viewer/v0.8/src/app.ts
  • Open the locally-running web app at http://localhost:8015
  • Drag and drop your App_Privacy_Report_v4_<time>.ndjson file into the web app

If you encounter an error with the deno run command (which constrains to minimum os permissions) on your particular os/shell, try a less-restrictive alternate:

  • deno run --allow-net --allow-env --allow-read --allow-write https://raw.githubusercontent.com/johnspurlock/app-privacy-report-viewer/v0.8/src/app.ts

Once imported, you can filter by filename, date, type of access, and bundleId (app).

For example, filter to all activity from the Apple Podcasts app: http://localhost:8015/?bundleId=com.apple.podcasts

Screenshot of webapp


The data never leaves your machine, it's stored locally in a sqlite db called reports.db in your run directory, so you can open it for custom queries with any standard sqlite client like DB Browser for SQLite.

All processing is done on your local machine (should be able to run it offline after first launch), and the code is available here on github for full transparency.

探索相关项目

加载中…