Skip to content

Dev/skruk/enh dynamic tables grant#65

Merged
sebastiankruk merged 11 commits intodynatrace-oss:release/0.9.4from
sebastiankruk:dev/skruk/enh-dynamic-tables-grant
Mar 9, 2026
Merged

Dev/skruk/enh dynamic tables grant#65
sebastiankruk merged 11 commits intodynatrace-oss:release/0.9.4from
sebastiankruk:dev/skruk/enh-dynamic-tables-grant

Conversation

@sebastiankruk
Copy link
Collaborator

No description provided.

…logic for Dynamic Tables

- Add table-level grant pass to `032_p_grant_monitor_dynamic_tables.sql` documentation
- Update CHANGELOG and DEVLOG to clarify three-pass approach (database, schema, table)
- Update grant matrix in config.md and PLUGINS.md to include table-level pattern example
- Add DYNAMIC TABLE entry to bom.yml for exact table name grants
- Fix PLUGINS.md Event Log description to clarify cross-tenant monitoring behavior
@sebastiankruk sebastiankruk self-assigned this Mar 4, 2026
@sebastiankruk sebastiankruk added enhancement New feature or request architecture Architecture changes labels Mar 4, 2026
@sebastiankruk sebastiankruk added this to the Version 0.9.4 milestone Mar 4, 2026
@sebastiankruk sebastiankruk requested a review from Copilot March 4, 2026 13:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates Dynamic Tables privilege grants to match the configured include pattern granularity (database vs schema vs specific table) and adjusts docs/tests accordingly.

Changes:

  • Add test logic to ignore deploy-time --%OPTION blocks when scanning for admin-role usage.
  • Update P_GRANT_MONITOR_DYNAMIC_TABLES() to issue DATABASE/SCHEMA/TABLE-level grants based on include patterns.
  • Refresh plugin docs/BOM/changelog entries to describe the new grant granularity.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
test/core/test_admin_role_usage.py Skips --%OPTION blocks during file scanning to avoid false positives.
src/dtagent/plugins/dynamic_tables.sql/admin/032_p_grant_monitor_dynamic_tables.sql Implements multi-pass grant logic for database/schema/table granularity.
src/dtagent/plugins/dynamic_tables.config/config.md Documents how include patterns map to grant granularity.
src/dtagent/plugins/dynamic_tables.config/bom.yml Updates referenced objects to reflect database/schema/table grant variants for dynamic tables.
docs/PLUGINS.md Updates Dynamic Tables docs and adds Event Log cross-tenant/database filtering documentation.
docs/DEVLOG.md Adds technical notes describing the dynamic tables grant granularity fix.
docs/CHANGELOG.md Adds changelog entry for the dynamic tables grant behavior change.
.github/copilot-instructions.md Updates internal contributor instructions for docs build script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review. Take the survey.

@sebastiankruk sebastiankruk marked this pull request as ready for review March 5, 2026 17:10
Signed-off-by: Sebastian Kruk <1426486+sebastiankruk@users.noreply.github.com>
…ncies

- Add new `test-bash-slow` job that runs only on main, devel, and release branches
- Configure slow tests to run with `--run-slow` flag for build/package/compile operations
- Install flake8, black, and pylint dependencies in both bash test jobs
…output formatting

- Create build/30_plugins and build/09_upgrade directories in test_compile.bats setup to prevent failures in fresh CI checkouts
- Add stdout output to bash test failure messages for better debugging alongside existing stderr output
@sebastiankruk sebastiankruk merged commit 12864af into dynatrace-oss:release/0.9.4 Mar 9, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture Architecture changes enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants