Skip to content

Feature: Added support for azure sql database - #9

Merged
sjoerdvandijkt4e merged 2 commits into
mainfrom
feature-add-azure-sql-database-support
Sep 21, 2026
Merged

sjoerdvandijkt4e merged 2 commits into
mainfrom
feature-add-azure-sql-database-support

Conversation

@rhouthuijzen

@rhouthuijzen rhouthuijzen commented Aug 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds support for connecting to an Azure SQL Database, introduces a new Entra ID uniqueness check script, renames the blocklist uniqueness scripts and aligns terminology across the repository from Blacklist to Blocklist.

This PR also includes the single quote escaping fix that was accidentally opened as a separate branch/PR (#10). PR #10 can be closed in favor of this one.

Changes

Added

  • Support for connecting to an Azure SQL database (configuration.json, create.ps1, update.ps1, delete.ps1 and the uniqueness check scripts).
  • UniquenessCheck/uniquenessCheckEntraIdChecksSqlAndEntraId.ps1 for combined uniqueness validation against SQL and Microsoft Entra ID.
  • UniquenessCheck/README.md with usage and configuration details for the uniqueness check scripts.
  • SupportingFiles/createTableBlocklist.sql as the renamed SQL table setup script.

Changed

  • Renamed blocklist uniqueness scripts from CheckOnExternalSystems/* to UniquenessCheck/* and updated documentation references accordingly.
  • Replaced terminology across the repository from Blacklist/blacklist to Blocklist/blocklist.

Fixed (previously PR #10)

  • Escape single quotes in account values before using them in SQL WHERE clauses in uniquenessCheckAdChecksSql.ps1, uniquenessCheckAdChecksSqlAndAd.ps1 and uniquenessCheckEntraIdChecksSqlAndEntraId.ps1, preventing SQL errors and injection for names like "in 't veld" or "van 't slot".
  • Escape single quotes in the Active Directory filter (uniquenessCheckAdChecksSqlAndAd.ps1) and the Microsoft Graph OData filter (uniquenessCheckEntraIdChecksSqlAndEntraId.ps1).

Documentation

  • Updated CHANGELOG.md with the 2.2.0 entry, including the Fixed section for the quote escaping.

@rhouthuijzen rhouthuijzen added the needs-review Indicates that the PR is ready and waiting for review label Aug 3, 2026
@rhouthuijzen rhouthuijzen added the current-sprint PRs to be addressed within the current sprint label Sep 7, 2026
@sjoerdvandijkt4e
sjoerdvandijkt4e merged commit 4d50164 into main Sep 21, 2026
1 check passed
@sjoerdvandijkt4e
sjoerdvandijkt4e deleted the feature-add-azure-sql-database-support branch September 21, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

current-sprint PRs to be addressed within the current sprint needs-review Indicates that the PR is ready and waiting for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants