Skip to content

Harden DetMir DLP production runtime - #54

Open
igor04091968 wants to merge 2 commits into
mainfrom
detmir-dlp-prod-hardening-20260630
Open

Harden DetMir DLP production runtime#54
igor04091968 wants to merge 2 commits into
mainfrom
detmir-dlp-prod-hardening-20260630

Conversation

@igor04091968

Copy link
Copy Markdown
Owner

Summary

  • make DetMir production DLP default to disabled/core_only with explicit light-profile re-enable path
  • add DLP runtime control, load guard, warehouse sync, and deployment wiring
  • update DetMir production docs, readiness/health semantics, and release-artifact checks

Verification

  • cargo fmt --all --check
  • cargo test -p detmir-portal -p aw-rus-healthd -p detmir-readiness --locked
  • cargo audit --deny warnings
  • cargo deny check advisories bans licenses sources
  • bash -n scripts/detmir_dlp_load_guard.sh scripts/detmir_dlp_runtime_control.sh scripts/detmir_dlp_warehouse_sync.sh scripts/check_detmir_rust_release_artifacts.sh scripts/diag_and_manual_restart.sh scripts/rdp-worktime-report.sh scripts/run_awatch_contour_check.sh
  • production sha256 and systemd health checks verified on 10.10.10.13 and 10.10.10.2

Production notes

  • DLP remains disabled/core_only by default for DetMir production guardrails
  • light profile is documented as an explicit operator re-enable action after resource check
  • heavy DLP, Loki, and always-on Velociraptor are not enabled

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

- default DetMir DLP runtime to core_only/disabled with load-guard protection

- add fail-closed placeholder validation and runtime-scoped artifact checks

- document operator re-enable flow for light profile and guard rollback

- update prod docs, env examples, and Ansible DLP defaults
@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@igor04091968, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 53 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1267eb20-4375-440e-937a-01dc5e2ff3c9

📥 Commits

Reviewing files that changed from the base of the PR and between 5ac7b69 and fe87c85.

⛔ Files ignored due to path filters (1)
  • adk-rust/Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (27)
  • adk-rust/crates/aw-rus-healthd/src/main.rs
  • adk-rust/crates/detmir-portal/Cargo.toml
  • adk-rust/crates/detmir-portal/src/main.rs
  • adk-rust/crates/detmir-portal/src/production/limits.rs
  • adk-rust/crates/detmir-portal/src/production/metrics.rs
  • adk-rust/crates/detmir-portal/src/production/mod.rs
  • adk-rust/crates/detmir-portal/src/snapshot_cache.rs
  • adk-rust/crates/detmir-portal/src/workforce_kpi_explain.rs
  • adk-rust/crates/detmir-readiness/src/main.rs
  • ansible/deploy_aw_server.yml
  • ansible/deploy_detmir_portal.yml
  • ansible/group_vars/all.yml
  • aw-server/aw-server.env.example
  • docs/DETMIR_CURRENT_STATE_RU.md
  • docs/DLP_OPTIONAL_RUNTIME_RU.md
  • docs/DLP_RESOURCE_PROFILES_RU.md
  • docs/PRODUCTION_READINESS_RU.md
  • docs/PROJECT_STATUS_RU.md
  • grafana/detmir-aw-main-dashboard.json
  • grafana/detmir-rdp-user-activity-dashboard.json
  • scripts/check_detmir_rust_release_artifacts.sh
  • scripts/detmir_dlp_load_guard.sh
  • scripts/detmir_dlp_runtime_control.sh
  • scripts/detmir_dlp_warehouse_sync.sh
  • scripts/diag_and_manual_restart.sh
  • scripts/rdp-worktime-report.sh
  • scripts/run_awatch_contour_check.sh
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch detmir-dlp-prod-hardening-20260630

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@igor04091968
igor04091968 force-pushed the detmir-dlp-prod-hardening-20260630 branch from 8498b85 to fe87c85 Compare June 30, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant