feat(security): analytics service disclosure control and audit logging#13
Draft
Copilot wants to merge 12 commits into
Draft
feat(security): analytics service disclosure control and audit logging#13Copilot wants to merge 12 commits into
Copilot wants to merge 12 commits into
Conversation
- DisclosureControlService: minimum-subset rule, categorical k-anonymity cell suppression, date histogram suppression, outlier-value stripping, correlation suppression on small subsets - AnalyticsAuditService: structured audit log (per-operation, per-file, principal-aware) to dedicated rolling AUDIT logger - Wire both services into all four AnalyticsService processing paths - AnalyticsController: request-level audit entries on all endpoints - logback.xml: rolling audit file appender (daily, 30-day retention) - logback-test.xml: test override routing AUDIT to console - application.properties: configurable disclosure thresholds via env vars - DisclosureControlServiceTest: 12 unit tests covering all suppression rules - AnalyticsServiceTest, AnalyticsControllerTest: updated mocks Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com> Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/2fa23ef0-2cd7-4cc4-93f5-7ef075a0f27d
Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com> Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/ec1c380b-f0f5-482e-aab9-4fa604bb9603
…s, fix test data Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com> Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/6dcc3c78-f3ba-4696-ac58-f94356e96e34
Copilot created this pull request from a session on behalf of
danibanezRepos
March 26, 2026 15:00
View session
…timestamp false positives Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/eda54196-5b84-43f3-9c4b-bc37b0147893 Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
…er-feature suppressed data Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/d416a3db-5e1d-4f5f-9729-b27a3f005c94 Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
…er, AnalyticsProcessingJobs, NodeSyncService, FileService, and DisclosureControlService tests Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/d0a1be68-dc11-4600-9b81-681676eb9b28 Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/6ca1ac27-183c-4d5a-97e7-5bf4975c24c9 Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
Copilot stopped work on behalf of
danibanezRepos due to an error
March 29, 2026 16:53
…osureControlService, DataProcessingService Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/2fc42cb3-b5aa-4472-975a-431384fea43c Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/2fc42cb3-b5aa-4472-975a-431384fea43c Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
Copilot stopped work on behalf of
danibanezRepos due to an error
March 30, 2026 09:38
Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/fb6ce2ea-5bac-410d-8616-489fa2b9b1dd Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/fb6ce2ea-5bac-410d-8616-489fa2b9b1dd Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
Agent-Logs-Url: https://github.com/tecnomod-um/MEDIATA_node/sessions/fb6ce2ea-5bac-410d-8616-489fa2b9b1dd Co-authored-by: danibanezRepos <129841581+danibanezRepos@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
mvn testgreen)pom.xmland identify explicit vulnerable pins (spring-boot,spring-core,spring-security-web/core,tomcat-embed-core)httpclient5to BOM-managed compatible versionmvn testand confirm all tests pass with no exceptions✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.