datasecops-cli 0.7.0b17__tar.gz → 0.8.0b2__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.0b17 → datasecops_cli-0.8.0b2}/AGENTS.md +6 -29
  2. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/CHANGELOG.md +18 -0
  3. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/PKG-INFO +9 -16
  4. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/README.md +7 -15
  5. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/pyproject.toml +3 -2
  6. datasecops_cli-0.8.0b2/src/datasecops_cli/__init__.py +1 -0
  7. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/config.py +1 -13
  8. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/main.py +59 -467
  9. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/menus/development.py +2 -2
  10. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/models/project_config.py +0 -32
  11. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/bootstrap_service.py +2 -74
  12. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/download_service.py +0 -29
  13. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/linting_service.py +18 -12
  14. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/snowflake_service.py +1 -25
  15. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_mcp/connection.py +2 -15
  16. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_mcp/server.py +0 -73
  17. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_linting_service.py +68 -0
  18. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_main.py +3 -132
  19. datasecops_cli-0.7.0b17/docs/dcm.md +0 -230
  20. datasecops_cli-0.7.0b17/scripts/vendor_model.py +0 -43
  21. datasecops_cli-0.7.0b17/src/datasecops_cli/__init__.py +0 -1
  22. datasecops_cli-0.7.0b17/src/datasecops_cli/menus/dcm_operations.py +0 -198
  23. datasecops_cli-0.7.0b17/src/datasecops_cli/services/dcm_orchestrator.py +0 -351
  24. datasecops_cli-0.7.0b17/src/datasecops_cli/services/dcm_pipelines.py +0 -74
  25. datasecops_cli-0.7.0b17/src/datasecops_cli/services/dcm_registry.py +0 -157
  26. datasecops_cli-0.7.0b17/src/datasecops_cli/services/dcm_service.py +0 -206
  27. datasecops_cli-0.7.0b17/src/datasecops_cli/services/model_commands.py +0 -265
  28. datasecops_cli-0.7.0b17/src/datasecops_model/__init__.py +0 -37
  29. datasecops_cli-0.7.0b17/src/datasecops_model/convert.py +0 -233
  30. datasecops_cli-0.7.0b17/src/datasecops_model/diagram.py +0 -396
  31. datasecops_cli-0.7.0b17/src/datasecops_model/expand.py +0 -103
  32. datasecops_cli-0.7.0b17/src/datasecops_model/extract.py +0 -375
  33. datasecops_cli-0.7.0b17/src/datasecops_model/render.py +0 -356
  34. datasecops_cli-0.7.0b17/src/datasecops_model/schema.py +0 -405
  35. datasecops_cli-0.7.0b17/src/datasecops_model/scope.py +0 -149
  36. datasecops_cli-0.7.0b17/src/datasecops_model/scripts.py +0 -234
  37. datasecops_cli-0.7.0b17/src/datasecops_model/starter.py +0 -111
  38. datasecops_cli-0.7.0b17/src/datasecops_model/templates/macros/role.sql +0 -62
  39. datasecops_cli-0.7.0b17/src/datasecops_model/templates/macros/role_guard.sql +0 -70
  40. datasecops_cli-0.7.0b17/src/datasecops_model/templates/macros/warehouse.sql +0 -94
  41. datasecops_cli-0.7.0b17/src/datasecops_model/validate.py +0 -256
  42. datasecops_cli-0.7.0b17/tests/test_dcm_model.py +0 -583
  43. datasecops_cli-0.7.0b17/tests/test_dcm_orchestrator.py +0 -319
  44. datasecops_cli-0.7.0b17/tests/test_dcm_service.py +0 -93
  45. datasecops_cli-0.7.0b17/tests/test_model_commands.py +0 -76
  46. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/.github/workflows/auto-tag.yml +0 -0
  47. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/.github/workflows/publish-cli.yml +0 -0
  48. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/.github/workflows/test.yml +0 -0
  49. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/.gitignore +0 -0
  50. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/DEVELOPMENT.md +0 -0
  51. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/LICENSE +0 -0
  52. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/docs/getting-started.md +0 -0
  53. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/docs/git-operations.md +0 -0
  54. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/docs/legacy.md +0 -0
  55. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/docs/legacy_plan_of_action.md +0 -0
  56. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/docs/mcp-server.md +0 -0
  57. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/docs/squash-merge-into-test-review.md +0 -0
  58. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/mcp-servers.json +0 -0
  59. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/setup.ps1 +0 -0
  60. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/setup.sh +0 -0
  61. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/menus/__init__.py +0 -0
  62. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/menus/configuration.py +0 -0
  63. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/menus/downloads.py +0 -0
  64. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/menus/git_operations.py +0 -0
  65. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/models/__init__.py +0 -0
  66. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/models/git_helpers.py +0 -0
  67. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/__init__.py +0 -0
  68. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/dbt_project_generator.py +0 -0
  69. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/dbt_runner.py +0 -0
  70. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/directory_scaffolder.py +0 -0
  71. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/git_service.py +0 -0
  72. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/pipeline_env.py +0 -0
  73. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/skill_service.py +0 -0
  74. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/services/upstream_service.py +0 -0
  75. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/utilities/__init__.py +0 -0
  76. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/utilities/display.py +0 -0
  77. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/utilities/file_utils.py +0 -0
  78. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/utilities/mcp.py +0 -0
  79. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_cli/utilities/yaml_utils.py +0 -0
  80. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_mcp/__init__.py +0 -0
  81. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/src/datasecops_mcp/__main__.py +0 -0
  82. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/__init__.py +0 -0
  83. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_config.py +0 -0
  84. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_dbt_project_generator_profiles.py +0 -0
  85. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_dbt_project_generator_yml.py +0 -0
  86. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_dbt_runner.py +0 -0
  87. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_directory_scaffolder.py +0 -0
  88. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_download_service.py +0 -0
  89. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_file_utils.py +0 -0
  90. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_git_operations_menu.py +0 -0
  91. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_git_service.py +0 -0
  92. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_mcp_branching_rules.py +0 -0
  93. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_mcp_lint_tools.py +0 -0
  94. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_models.py +0 -0
  95. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_pipeline_env.py +0 -0
  96. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_upstream_service.py +0 -0
  97. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/tests/test_version.py +0 -0
  98. {datasecops_cli-0.7.0b17 → datasecops_cli-0.8.0b2}/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,24 @@ All notable changes to the DataSecOps CLI are documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ### Fixed
8
+
9
+ - **Linting a specific file by model/object name only looked under `models/`** — `resolve_model_path()`
10
+ (used by the interactive menu's `lint → specific` and `format → specific` options) only globbed
11
+ `models/*.sql`, so a name resolving to a stored procedure, UDF, task, alert, stage, file format or
12
+ DMF under `objects/` couldn't be found. It now searches `models/` first and falls back to `objects/`
13
+ only when nothing matches there, so a model/object basename collision still resolves to the model.
14
+
15
+ ### Removed
16
+
17
+ - **All DCM (Database Change Management) support moved to the Meridian CLI** (`pip install meridian-cli`, command
18
+ `meridian`, repository `monitorial-io/monitorial.meridian.cli`), which works with the Meridian Native App:
19
+ the `datasecops dcm ...` and `datasecops model ...` commands, `download dcm`, the DCM menu, bootstrap's DCM
20
+ scaffold, `.datasecops.yml`'s `dcm_*` keys, the `datasecops_model` package, `scripts/vendor_model.py`, `docs/dcm.md`
21
+ and the DCM MCP tools. `datasecops-cli` is dbt only.
22
+ - **CoCo main menu option** — the interactive menu no longer has an option to launch CoCo directly.
23
+ Remaining options are renumbered (`configure` is now `[3]`, `downloads` `[4]`, `bootstrap` `[5]`, `update pkgs` `[6]`).
24
+
7
25
  ## [0.7.0b17] - 2026-11-05
8
26
 
9
27
  ### Fixed
@@ -1,11 +1,12 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: datasecops-cli
3
- Version: 0.7.0b17
3
+ Version: 0.8.0b2
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
@@ -109,6 +108,10 @@ The Development menu exposes these flags from the underlying `dbt` commands:
109
108
  These are not available on the SQLFluff (dbt Core 1.x) path; on dbt Core the CLI skips
110
109
  `--generate-info-schema`/`--static-analysis strict` with a warning instead of sending a flag
111
110
  dbt Core would reject.
111
+ - **`lint` → `specific`** *(both engines)*, **`format` → `specific`** *(dbt2 engine only)* -
112
+ resolve a bare name (e.g. `stg_orders`) by searching `models/` first, then `objects/`
113
+ (stored procedures, UDFs, tasks, alerts, stages, file formats, DMFs) if nothing matched
114
+ under `models/`.
112
115
 
113
116
  ## Non-Interactive Mode (CI/CD)
114
117
 
@@ -223,20 +226,10 @@ would execute.
223
226
  - The command connects with `.datasecops.yml`'s connection, so the CI user needs the `orbit_developer`
224
227
  application role. It exits `1` when no target matches.
225
228
 
226
- ## DCM projects
229
+ ## DCM
227
230
 
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.
231
+ DCM (Database Change Management) is handled by the separate **Meridian CLI** (`pip install meridian-cli`,
232
+ command `meridian`) and the Meridian Native App; it is no longer part of `datasecops`.
240
233
 
241
234
  ## MCP Server
242
235
 
@@ -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
@@ -89,6 +87,10 @@ The Development menu exposes these flags from the underlying `dbt` commands:
89
87
  These are not available on the SQLFluff (dbt Core 1.x) path; on dbt Core the CLI skips
90
88
  `--generate-info-schema`/`--static-analysis strict` with a warning instead of sending a flag
91
89
  dbt Core would reject.
90
+ - **`lint` → `specific`** *(both engines)*, **`format` → `specific`** *(dbt2 engine only)* -
91
+ resolve a bare name (e.g. `stg_orders`) by searching `models/` first, then `objects/`
92
+ (stored procedures, UDFs, tasks, alerts, stages, file formats, DMFs) if nothing matched
93
+ under `models/`.
92
94
 
93
95
  ## Non-Interactive Mode (CI/CD)
94
96
 
@@ -203,20 +205,10 @@ would execute.
203
205
  - The command connects with `.datasecops.yml`'s connection, so the CI user needs the `orbit_developer`
204
206
  application role. It exits `1` when no target matches.
205
207
 
206
- ## DCM projects
208
+ ## DCM
207
209
 
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.
210
+ DCM (Database Change Management) is handled by the separate **Meridian CLI** (`pip install meridian-cli`,
211
+ command `meridian`) and the Meridian Native App; it is no longer part of `datasecops`.
220
212
 
221
213
  ## MCP Server
222
214
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "datasecops-cli"
7
- version = "0.7.0b17"
7
+ version = "0.8.0b2"
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.0b2"
@@ -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: