[Task] Audit connector access and import actions #7

Closed
opened 2026-07-06 11:36:06 +02:00 by zemion · 1 comment
Owner

Imported from the consolidated GovOPlaN product backlog.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md
  • Line: 120
  • Section: Milestones > Milestone 6 - External Storage Connectors
  • Source status: OPEN.

Imported backlog item:

- [ ] Audit connector access and import actions.
<!-- codex-backlog-fingerprint:ace4780e99cbc2e0d82918e5 --> Imported from the consolidated GovOPlaN product backlog. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/backlog.md` - Line: `120` - Section: `Milestones > Milestone 6 - External Storage Connectors` - Source status: `OPEN.` Imported backlog item: ```markdown - [ ] Audit connector access and import actions. ```
zemion added this to the Milestone 6 - External Storage Connectors milestone 2026-07-06 13:23:04 +02:00
Author
Owner

Codex State: done

Summary

  • Added connector-focused audit events for provenance-bearing managed files.
  • Uploads and ZIP imports with source_provenance now emit files.connector.imported with file, version, blob, checksum, source_revision, and source_provenance details.
  • Downloads and ZIP archives of provenance-bearing files emit files.connector.accessed with the same immutable file/version/blob context and an operation marker.

Changed Files

  • src/govoplan_files/backend/router.py
  • ../govoplan-core/tests/test_api_smoke.py

Verification

  • ./.venv/bin/python -m py_compile /mnt/DATA/git/govoplan-files/src/govoplan_files/backend/router.py
  • ./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_managed_file_runtime_flow tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_patterns_preview_build_and_mock_send tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_send_uses_frozen_build_artifact_after_file_changes tests.test_api_smoke.ApiSmokeTests.test_admin_audit_supports_lazy_pagination_sorting_and_filters
  • PATH=/mnt/DATA/git/govoplan-core/webui/node_modules/.bin:/home/zemion/.nvm/versions/node/v22.22.3/bin:/home/zemion/.local/bin:/home/zemion/.codex/tmp/arg0/codex-arg0EWzbZZ:/app/bin:/app/bin:/app/bin:/usr/bin:/usr/lib/sdk/openjdk25/bin:/home/zemion/.var/app/com.vscodium.codium/data/node/bin:/home/zemion/.var/app/com.vscodium.codium/data/cargo/bin:/home/zemion/.var/app/com.vscodium.codium/data/python/bin:/home/zemion/.var/app/com.vscodium.codium/data/codium/extensions/openai.chatgpt-26.5623.101652-linux-x64/bin/linux-x86_64 /home/zemion/.nvm/versions/node/v22.22.3/bin/npm run build
## Codex State: done ### Summary - Added connector-focused audit events for provenance-bearing managed files. - Uploads and ZIP imports with source_provenance now emit files.connector.imported with file, version, blob, checksum, source_revision, and source_provenance details. - Downloads and ZIP archives of provenance-bearing files emit files.connector.accessed with the same immutable file/version/blob context and an operation marker. ### Changed Files - `src/govoplan_files/backend/router.py` - `../govoplan-core/tests/test_api_smoke.py` ### Verification - `./.venv/bin/python -m py_compile /mnt/DATA/git/govoplan-files/src/govoplan_files/backend/router.py` - `./.venv/bin/python -m unittest tests.test_api_smoke.ApiSmokeTests.test_managed_file_runtime_flow tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_patterns_preview_build_and_mock_send tests.test_api_smoke.ApiSmokeTests.test_managed_attachment_send_uses_frozen_build_artifact_after_file_changes tests.test_api_smoke.ApiSmokeTests.test_admin_audit_supports_lazy_pagination_sorting_and_filters` - `PATH=/mnt/DATA/git/govoplan-core/webui/node_modules/.bin:/home/zemion/.nvm/versions/node/v22.22.3/bin:/home/zemion/.local/bin:/home/zemion/.codex/tmp/arg0/codex-arg0EWzbZZ:/app/bin:/app/bin:/app/bin:/usr/bin:/usr/lib/sdk/openjdk25/bin:/home/zemion/.var/app/com.vscodium.codium/data/node/bin:/home/zemion/.var/app/com.vscodium.codium/data/cargo/bin:/home/zemion/.var/app/com.vscodium.codium/data/python/bin:/home/zemion/.var/app/com.vscodium.codium/data/codium/extensions/openai.chatgpt-26.5623.101652-linux-x64/bin/linux-x86_64 /home/zemion/.nvm/versions/node/v22.22.3/bin/npm run build`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-files#7
No description provided.