This commit was merged in pull request #355.
This commit is contained in:
1 parent
0249aee44a
commit
6752f54036
7 files changed
+329
-5
No files matched your search
@@ -27,6 +27,7 @@ export default withMermaid(defineConfig({
|
||||
{ text: 'Demo Targets', link: '/guide/demo-targets' },
|
||||
{ text: 'Understanding Findings', link: '/guide/findings' },
|
||||
{ text: 'Findings from Manual Tests', link: '/guide/manual-findings' },
|
||||
{ text: 'Data and Retention', link: '/guide/data-retention' },
|
||||
{ text: 'SBOM & Licenses', link: '/guide/sbom' },
|
||||
{ text: 'Issues & Tracking', link: '/guide/issues' },
|
||||
{ text: 'Webhooks & PR Reviews', link: '/guide/webhooks' },
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
# Data and Retention
|
||||
|
||||
What Prüfwerk keeps about a target, where, and when it is removed.
|
||||
|
||||
| Data | Where | Removed when |
|
||||
|---|---|---|
|
||||
| Target, findings, SBOM, CVE alerts, scan runs, code graph | the tenant's MongoDB database | the target is deleted (its records), or the tenant is erased (the whole database) |
|
||||
| Uploaded files (archives, firmware images, PLC projects) | `ARTIFACT_STORE_BASE_PATH/uploads/<target>/` | the target is deleted, or the tenant is erased |
|
||||
| Unpacked upload trees | `ARTIFACT_STORE_BASE_PATH/work/<target>/` | the target is deleted, or the tenant is erased |
|
||||
| Content-addressed copies of uploads | `ARTIFACT_STORE_BASE_PATH/blobs/<sha>` | the target is deleted, or the tenant is erased (a cache: a scan recreates it from the upload) |
|
||||
| Git clones (scan and ingest) | `GIT_CLONE_BASE_PATH/<tenant>/` | the target is deleted (its clones), or the tenant is erased (all of them) |
|
||||
| Werkbank runner artifacts | `ARTIFACT_STORE_BASE_PATH/tenants/<tenant>/` | the tenant is erased |
|
||||
|
||||
Deleting a target (`DELETE /api/v1/targets/{id}`, or **Delete** on the
|
||||
targets page) removes its records and its files. Erasing a tenant
|
||||
(`DELETE /api/v1/platform/tenants/{id}/data`, confirmed) drops its database
|
||||
and removes every file listed above; the response says how many paths were
|
||||
removed and how many could not be. Only paths inside the two configured base
|
||||
directories are ever removed.
|
||||
|
||||
Evidence packs are built on request and not stored.
|
||||
|
||||
Not yet in place: a time-based sweep of files left behind by an interrupted
|
||||
deletion.
|
||||
Reference in new issue
Block a user