datasecops-cli 0.7.0b16__tar.gz → 0.8.0b1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/AGENTS.md +6 -29
  2. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/CHANGELOG.md +17 -0
  3. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/PKG-INFO +5 -16
  4. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/README.md +3 -15
  5. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/pyproject.toml +3 -2
  6. datasecops_cli-0.8.0b1/src/datasecops_cli/__init__.py +1 -0
  7. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/config.py +1 -13
  8. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/main.py +54 -427
  9. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/models/project_config.py +0 -32
  10. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/bootstrap_service.py +2 -74
  11. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/dbt_project_generator.py +99 -3
  12. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/directory_scaffolder.py +1 -1
  13. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/download_service.py +21 -33
  14. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/snowflake_service.py +1 -25
  15. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_mcp/connection.py +2 -15
  16. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_mcp/server.py +0 -73
  17. datasecops_cli-0.8.0b1/tests/test_dbt_project_generator_yml.py +128 -0
  18. datasecops_cli-0.8.0b1/tests/test_directory_scaffolder.py +19 -0
  19. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_download_service.py +68 -0
  20. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_main.py +1 -110
  21. datasecops_cli-0.7.0b16/docs/dcm.md +0 -230
  22. datasecops_cli-0.7.0b16/scripts/vendor_model.py +0 -43
  23. datasecops_cli-0.7.0b16/src/datasecops_cli/__init__.py +0 -1
  24. datasecops_cli-0.7.0b16/src/datasecops_cli/menus/dcm_operations.py +0 -198
  25. datasecops_cli-0.7.0b16/src/datasecops_cli/services/dcm_orchestrator.py +0 -351
  26. datasecops_cli-0.7.0b16/src/datasecops_cli/services/dcm_pipelines.py +0 -74
  27. datasecops_cli-0.7.0b16/src/datasecops_cli/services/dcm_registry.py +0 -157
  28. datasecops_cli-0.7.0b16/src/datasecops_cli/services/dcm_service.py +0 -206
  29. datasecops_cli-0.7.0b16/src/datasecops_cli/services/model_commands.py +0 -265
  30. datasecops_cli-0.7.0b16/src/datasecops_model/__init__.py +0 -37
  31. datasecops_cli-0.7.0b16/src/datasecops_model/convert.py +0 -233
  32. datasecops_cli-0.7.0b16/src/datasecops_model/diagram.py +0 -396
  33. datasecops_cli-0.7.0b16/src/datasecops_model/expand.py +0 -103
  34. datasecops_cli-0.7.0b16/src/datasecops_model/extract.py +0 -375
  35. datasecops_cli-0.7.0b16/src/datasecops_model/render.py +0 -356
  36. datasecops_cli-0.7.0b16/src/datasecops_model/schema.py +0 -405
  37. datasecops_cli-0.7.0b16/src/datasecops_model/scope.py +0 -149
  38. datasecops_cli-0.7.0b16/src/datasecops_model/scripts.py +0 -234
  39. datasecops_cli-0.7.0b16/src/datasecops_model/starter.py +0 -111
  40. datasecops_cli-0.7.0b16/src/datasecops_model/templates/macros/role.sql +0 -62
  41. datasecops_cli-0.7.0b16/src/datasecops_model/templates/macros/role_guard.sql +0 -70
  42. datasecops_cli-0.7.0b16/src/datasecops_model/templates/macros/warehouse.sql +0 -94
  43. datasecops_cli-0.7.0b16/src/datasecops_model/validate.py +0 -256
  44. datasecops_cli-0.7.0b16/tests/test_dcm_model.py +0 -583
  45. datasecops_cli-0.7.0b16/tests/test_dcm_orchestrator.py +0 -319
  46. datasecops_cli-0.7.0b16/tests/test_dcm_service.py +0 -93
  47. datasecops_cli-0.7.0b16/tests/test_model_commands.py +0 -76
  48. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/.github/workflows/auto-tag.yml +0 -0
  49. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/.github/workflows/publish-cli.yml +0 -0
  50. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/.github/workflows/test.yml +0 -0
  51. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/.gitignore +0 -0
  52. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/DEVELOPMENT.md +0 -0
  53. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/LICENSE +0 -0
  54. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/docs/getting-started.md +0 -0
  55. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/docs/git-operations.md +0 -0
  56. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/docs/legacy.md +0 -0
  57. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/docs/legacy_plan_of_action.md +0 -0
  58. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/docs/mcp-server.md +0 -0
  59. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/docs/squash-merge-into-test-review.md +0 -0
  60. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/mcp-servers.json +0 -0
  61. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/setup.ps1 +0 -0
  62. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/setup.sh +0 -0
  63. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/menus/__init__.py +0 -0
  64. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/menus/configuration.py +0 -0
  65. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/menus/development.py +0 -0
  66. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/menus/downloads.py +0 -0
  67. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/menus/git_operations.py +0 -0
  68. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/models/__init__.py +0 -0
  69. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/models/git_helpers.py +0 -0
  70. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/__init__.py +0 -0
  71. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/dbt_runner.py +0 -0
  72. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/git_service.py +0 -0
  73. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/linting_service.py +0 -0
  74. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/pipeline_env.py +0 -0
  75. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/skill_service.py +0 -0
  76. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/services/upstream_service.py +0 -0
  77. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/utilities/__init__.py +0 -0
  78. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/utilities/display.py +0 -0
  79. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/utilities/file_utils.py +0 -0
  80. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/utilities/mcp.py +0 -0
  81. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_cli/utilities/yaml_utils.py +0 -0
  82. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_mcp/__init__.py +0 -0
  83. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/src/datasecops_mcp/__main__.py +0 -0
  84. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/__init__.py +0 -0
  85. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_config.py +0 -0
  86. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_dbt_project_generator_profiles.py +0 -0
  87. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_dbt_runner.py +0 -0
  88. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_file_utils.py +0 -0
  89. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_git_operations_menu.py +0 -0
  90. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_git_service.py +0 -0
  91. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_linting_service.py +0 -0
  92. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_mcp_branching_rules.py +0 -0
  93. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_mcp_lint_tools.py +0 -0
  94. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_models.py +0 -0
  95. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_pipeline_env.py +0 -0
  96. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_upstream_service.py +0 -0
  97. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_version.py +0 -0
  98. {datasecops_cli-0.7.0b16 → datasecops_cli-0.8.0b1}/tests/test_yaml_utils.py +0 -0
@@ -1,15 +1,13 @@
1
1
  # Instructions for AI agents (and humans) working on the DataSecOps CLI
2
2
 
3
3
  The `datasecops` CLI (Click) is the developer and CI companion to the Orbit (DataSecOps Framework)
4
- Snowflake Native App (`monitorial-io/monitorial.orbit.nativeapp`). This repository also owns
5
- `src/datasecops_model`, the DCM model package that the app vendors. See `DEVELOPMENT.md` for setup,
6
- project structure and publishing.
4
+ Snowflake Native App (`monitorial-io/monitorial.orbit.nativeapp`). DCM lives in the separate Meridian CLI
5
+ (`monitorial-io/monitorial.meridian.cli`). See `DEVELOPMENT.md` for setup, project structure and publishing.
7
6
 
8
7
  ## Git workflow
9
8
 
10
9
  - **Never commit to `main`.** Every change goes on a branch and reaches `main` through a pull request.
11
- Keep one branch per open PR; ongoing DCM work goes on `feature/dcm-integration` (PR #31) until it
12
- is merged.
10
+ Keep one branch per open PR.
13
11
  - Check `git status` and `git branch --show-current` before changing anything.
14
12
  - Others push to shared branches too (e.g. version bumps for beta releases). If a push is rejected,
15
13
  `git fetch`, look at the new commits, `git rebase origin/<branch>`, re-run the tests, then push.
@@ -32,28 +30,7 @@ project structure and publishing.
32
30
  ```
33
31
 
34
32
  Run them before every commit and report the real results. Add tests next to the existing ones
35
- (`tests/test_dcm_model.py` for the model package, `tests/test_dcm_orchestrator.py` for `dcm`
36
- commands, `tests/test_model_commands.py` for `model` commands, `tests/test_main.py` for Click wiring).
37
-
38
- ## `datasecops_model` (shared with the native app)
39
-
40
- - Keep it dependency-light (pydantic; Jinja only lazily) - it also runs inside Snowflake stored
41
- procedures from the app's `app.zip`.
42
- - The schema (`datasecops.dcm/v1`) uses `extra="forbid"`: new fields must be optional with defaults so
43
- existing model files keep loading. A model without `scope` is a full model; a scoped file is one
44
- repository's slice (see `scope.py`).
45
- - After changing it: commit here first, then vendor it into the app on an app branch and run the app's
46
- tests:
47
-
48
- ```bash
49
- .venv/bin/python scripts/vendor_model.py <app-repo>/src
50
- ```
51
-
52
- `VENDOR.json` records this repository's commit, so vendor after committing. Never edit the app's copy.
53
- - Starter model defaults: only `DATAOPS_ADMIN`, `DATA_ENGINEER_ADMIN` and `DEVELOPERS`, no warehouses.
54
- ORGADMIN / GLOBALORGADMIN are optional Snowflake roles (not extracted; validation warns).
55
- - `extract.to_warehouses` drops values equal to the `warehouse()` macro defaults, except the grant maps
56
- (`grants`, `application_grants`), which must stay dictionaries.
33
+ (`tests/test_main.py` for Click wiring).
57
34
 
58
35
  ## CLI conventions
59
36
 
@@ -61,14 +38,14 @@ commands, `tests/test_model_commands.py` for `model` commands, `tests/test_main.
61
38
  - Options are consistent across commands: `-p/--project` (repeatable; names, types or `all`),
62
39
  `--target`, `--connection/-c`, `--check` for CI checks that must not write files.
63
40
  - Commands must work non-interactively in CI (`CI`, `GITHUB_ACTIONS`, `TF_BUILD`, `BUILD_BUILDID`):
64
- never prompt there; `dcm deploy` stops for manual scripts only at a terminal.
41
+ never prompt there.
65
42
  - Native app procedures are called through `SnowflakeService.call_procedure`, which only allows names
66
43
  in `ALLOWED_PROCEDURES`: add new ones there.
67
44
  - Say **CoCo**, not "Cortex Code" (the `cortex` command name stays).
68
45
 
69
46
  ## Documentation
70
47
 
71
- When commands or behaviour change, update in the same change: `docs/dcm.md` (DCM), `README.md`, and
48
+ When commands or behaviour change, update in the same change: `README.md`, and
72
49
  an entry under `## [Unreleased]` in `CHANGELOG.md`.
73
50
 
74
51
  ## Working style
@@ -4,6 +4,23 @@ All notable changes to the DataSecOps CLI are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ### Removed
8
+
9
+ - **All DCM (Database Change Management) support moved to the Meridian CLI** (`pip install meridian-cli`, command
10
+ `meridian`, repository `monitorial-io/monitorial.meridian.cli`), which works with the Meridian Native App:
11
+ the `datasecops dcm ...` and `datasecops model ...` commands, `download dcm`, the DCM menu, bootstrap's DCM
12
+ scaffold, `.datasecops.yml`'s `dcm_*` keys, the `datasecops_model` package, `scripts/vendor_model.py`, `docs/dcm.md`
13
+ and the DCM MCP tools. `datasecops-cli` is dbt only.
14
+
15
+ ## [0.7.0b17] - 2026-11-05
16
+
17
+ ### Fixed
18
+
19
+ - **Generated `dbt_project.yml` had `analysis-paths`/`test-paths` that didn't match the scaffolded folders** — `analysis-paths` pointed at `"analysis"` (singular) while `scaffold_directories()` creates `analyses`, and `test-paths` pointed at `"tests"`. Both now point at the folders that actually get created: `analyses` and `data-tests` (the directory scaffolder now creates `data-tests` instead of `tests` to match). **Migration for existing projects:** only re-running `bootstrap` regenerates `dbt_project.yml` (`download packages` only touches `packages.yml`) — rename any existing `analysis/`/`tests/` folders to `analyses/`/`data-tests/` before re-running it. The old folders are left in place (never deleted) but dbt will stop discovering files under them once `dbt_project.yml` is regenerated.
20
+ - **Generated `dbt_project.yml` was missing framework `vars` and a `flags` section** — added `sds_env`, the `dbt_dataengineers_materializations` defaults (`default_monitorial_error_integration`, `default_monitorial_serverless`, `default_monitorial_object_type`), the standard "Unknown Values" vars (surrogate keys, string/date/numeric placeholders, current/deleted/boolean flags), and a top-level `flags:` block (`require_generic_test_arguments_property`, `warn_error_options.silence`).
21
+ - **No `.gitignore` was written at the repository root** — `bootstrap` only wrote a `.gitignore` inside the dbt project folder (build artifacts), so `.sqlfluff`/`.sqlfluffignore` and `.venv/` had nothing preventing them from being committed. A root-level `.gitignore` is now written alongside it during project scaffolding (merged into one file if the dbt project is scaffolded directly at the repo root), without ever overwriting a developer's own existing `.gitignore` rules — both files are merged in as a clearly marked, idempotent block. `.datasecops.yml` is deliberately not ignored: the README documents it as committed (it holds no secrets) so CI pipelines can read `connection_name`/`app_database`.
22
+ - **`__init__.py`'s `__version__` had drifted from `pyproject.toml`** (stuck at `0.7.0b14` since the `0.7.0b15` release) — synced to `0.7.0b17`.
23
+
7
24
  ## [0.7.0b16] - 2026-11-05
8
25
 
9
26
  ### Fixed
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: datasecops-cli
3
- Version: 0.7.0b16
3
+ Version: 0.8.0b1
4
4
  Summary: DataSecOps Framework CLI for Snowflake Native App
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
7
7
  Requires-Python: >=3.10
8
8
  Requires-Dist: click>=8.1
9
+ Requires-Dist: cryptography>=41
9
10
  Requires-Dist: gitpython>=3.1
10
11
  Requires-Dist: jinja2>=3.1
11
12
  Requires-Dist: pydantic>=2.0
@@ -30,7 +31,6 @@ This CLI connects to the native app and gives developers:
30
31
 
31
32
  - **dbt development commands** — run, build, test, lint, and manage dbt projects via dbt 2.x or dbt Core 1.x
32
33
  - **Source control operations** — branching, committing, rebasing, and deploying via GitPython with naming conventions enforced by the framework
33
- - **DCM projects** — validate, render, plan and deploy any number of Snowflake DCM projects from the shared DCM model (`config/dcm_model.json`), in dependency order with each project's deploy role
34
34
  - **Configuration downloads** — pull SQLFluff rules, CI/CD pipelines, dbt packages, and CoCo skills from the native app to your local project
35
35
  - **MCP server** — expose framework governance rules to AI coding assistants (VS Code, Cursor, CoCo, Claude Code)
36
36
 
@@ -84,7 +84,6 @@ datasecops
84
84
  |------|-------------|
85
85
  | **Development** | dbt run, build, test, lint (SQLFluff/`dbt lint`), format (`dbt format`, dbt2), deps, seed, compile, parse, snapshot, freshness, docs |
86
86
  | **Git** | Branch create/checkout/delete, commit & push, rebase, squash, deploy to environment branches, cherry-pick, reset branch from main |
87
- | **DCM Operations** | Plan, deploy, status, download and list the DCM projects in the model |
88
87
  | **Downloads** | SQLFluff config, CI/CD pipelines (GitHub Actions / Azure DevOps), dbt packages, CoCo skills |
89
88
 
90
89
  ### dbt command flags
@@ -223,20 +222,10 @@ would execute.
223
222
  - The command connects with `.datasecops.yml`'s connection, so the CI user needs the `orbit_developer`
224
223
  application role. It exits `1` when no target matches.
225
224
 
226
- ## DCM projects
225
+ ## DCM
227
226
 
228
- ```bash
229
- datasecops model pull # native app -> config/dcm_model.json (this repo's projects; --full = all)
230
- datasecops model validate
231
- datasecops model render --check # generated definitions are current
232
- datasecops dcm plan -p security --target PROD --summary dcm-plan.md
233
- datasecops dcm deploy -p security --target PROD
234
- datasecops dcm pipelines # the app-defined pipelines assigned to each project
235
- ```
236
-
237
- Each DCM project usually lives in its own repository, and its pipelines (*DCM PR validate*, *DCM
238
- deploy*) plan and deploy that single project. See [docs/dcm.md](docs/dcm.md) for the model, every
239
- command, the deployment scripts and the pipelines.
227
+ DCM (Database Change Management) is handled by the separate **Meridian CLI** (`pip install meridian-cli`,
228
+ command `meridian`) and the Meridian Native App; it is no longer part of `datasecops`.
240
229
 
241
230
  ## MCP Server
242
231
 
@@ -10,7 +10,6 @@ This CLI connects to the native app and gives developers:
10
10
 
11
11
  - **dbt development commands** — run, build, test, lint, and manage dbt projects via dbt 2.x or dbt Core 1.x
12
12
  - **Source control operations** — branching, committing, rebasing, and deploying via GitPython with naming conventions enforced by the framework
13
- - **DCM projects** — validate, render, plan and deploy any number of Snowflake DCM projects from the shared DCM model (`config/dcm_model.json`), in dependency order with each project's deploy role
14
13
  - **Configuration downloads** — pull SQLFluff rules, CI/CD pipelines, dbt packages, and CoCo skills from the native app to your local project
15
14
  - **MCP server** — expose framework governance rules to AI coding assistants (VS Code, Cursor, CoCo, Claude Code)
16
15
 
@@ -64,7 +63,6 @@ datasecops
64
63
  |------|-------------|
65
64
  | **Development** | dbt run, build, test, lint (SQLFluff/`dbt lint`), format (`dbt format`, dbt2), deps, seed, compile, parse, snapshot, freshness, docs |
66
65
  | **Git** | Branch create/checkout/delete, commit & push, rebase, squash, deploy to environment branches, cherry-pick, reset branch from main |
67
- | **DCM Operations** | Plan, deploy, status, download and list the DCM projects in the model |
68
66
  | **Downloads** | SQLFluff config, CI/CD pipelines (GitHub Actions / Azure DevOps), dbt packages, CoCo skills |
69
67
 
70
68
  ### dbt command flags
@@ -203,20 +201,10 @@ would execute.
203
201
  - The command connects with `.datasecops.yml`'s connection, so the CI user needs the `orbit_developer`
204
202
  application role. It exits `1` when no target matches.
205
203
 
206
- ## DCM projects
204
+ ## DCM
207
205
 
208
- ```bash
209
- datasecops model pull # native app -> config/dcm_model.json (this repo's projects; --full = all)
210
- datasecops model validate
211
- datasecops model render --check # generated definitions are current
212
- datasecops dcm plan -p security --target PROD --summary dcm-plan.md
213
- datasecops dcm deploy -p security --target PROD
214
- datasecops dcm pipelines # the app-defined pipelines assigned to each project
215
- ```
216
-
217
- Each DCM project usually lives in its own repository, and its pipelines (*DCM PR validate*, *DCM
218
- deploy*) plan and deploy that single project. See [docs/dcm.md](docs/dcm.md) for the model, every
219
- command, the deployment scripts and the pipelines.
206
+ DCM (Database Change Management) is handled by the separate **Meridian CLI** (`pip install meridian-cli`,
207
+ command `meridian`) and the Meridian Native App; it is no longer part of `datasecops`.
220
208
 
221
209
  ## MCP Server
222
210
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "datasecops-cli"
7
- version = "0.7.0b16"
7
+ version = "0.8.0b1"
8
8
  description = "DataSecOps Framework CLI for Snowflake Native App"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -16,6 +16,7 @@ dependencies = [
16
16
  "pyyaml>=6.0",
17
17
  "pydantic>=2.0",
18
18
  "jinja2>=3.1",
19
+ "cryptography>=41",
19
20
  ]
20
21
 
21
22
  [project.optional-dependencies]
@@ -23,7 +24,7 @@ test = ["pytest>=7.0", "pytest-cov>=4.0"]
23
24
  mcp = ["mcp>=1.0,<2"]
24
25
 
25
26
  [tool.hatch.build.targets.wheel]
26
- packages = ["src/datasecops_cli", "src/datasecops_mcp", "src/datasecops_model"]
27
+ packages = ["src/datasecops_cli", "src/datasecops_mcp"]
27
28
 
28
29
  [tool.pytest.ini_options]
29
30
  testpaths = ["tests"]
@@ -0,0 +1 @@
1
+ __version__ = "0.8.0b1"
@@ -2,7 +2,7 @@ from pathlib import Path
2
2
  from typing import Optional
3
3
 
4
4
  from datasecops_cli.models.project_config import (
5
- DatasecopsConfig, ProjectSettings, SourceControl, WorkItems, ProjectProfile, DbtTarget, DcmConfig
5
+ DatasecopsConfig, ProjectSettings, SourceControl, WorkItems, ProjectProfile, DbtTarget
6
6
  )
7
7
  from datasecops_cli.utilities.yaml_utils import read_datasecops_config, read_dbt_project
8
8
  from datasecops_cli.utilities.display import error_line, info_line
@@ -16,7 +16,6 @@ class Config:
16
16
  self.project_settings: ProjectSettings = ProjectSettings()
17
17
  self.source_control: SourceControl = SourceControl()
18
18
  self.work_items: WorkItems = WorkItems()
19
- self.dcm_config: DcmConfig = DcmConfig()
20
19
  self.profile: Optional[ProjectProfile] = None
21
20
  self.all_profiles: list[ProjectProfile] = []
22
21
  self.project_dir: Path = Path.cwd()
@@ -41,12 +40,6 @@ class Config:
41
40
  cortex_connection=raw.get("cortex_connection", ""),
42
41
  sandpit_name=raw.get("sandpit_name", ""),
43
42
  dbt_engine=raw.get("dbt_engine", "dbt_core"),
44
- dcm_enabled=raw.get("dcm_enabled", False),
45
- dcm_security_dir=raw.get("dcm_security_dir", "security"),
46
- dcm_platform_dir=raw.get("dcm_platform_dir", "platform"),
47
- dcm_default_target=raw.get("dcm_default_target", ""),
48
- dcm_model_path=raw.get("dcm_model_path", "config/dcm_model.json"),
49
- dcm_root=raw.get("dcm_root", "."),
50
43
  )
51
44
 
52
45
  # Validate dbt_engine
@@ -97,11 +90,6 @@ class Config:
97
90
  if raw:
98
91
  self.work_items = WorkItems(**{k: v for k, v in raw.items() if k in WorkItems.model_fields})
99
92
 
100
- # Load DCM config
101
- raw = snowflake_service.get_framework_config("DCM")
102
- if raw:
103
- self.dcm_config = DcmConfig(**{k: v for k, v in raw.items() if k in DcmConfig.model_fields})
104
-
105
93
  # Load project profiles
106
94
  profiles_data = snowflake_service.get_project_profiles()
107
95
  if profiles_data: