Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure.SQL.TDE is not required to enable IaC #1530

Closed
BernieWhite opened this issue Jul 22, 2022 · 0 comments · Fixed by #1538
Closed

Azure.SQL.TDE is not required to enable IaC #1530

BernieWhite opened this issue Jul 22, 2022 · 0 comments · Fixed by #1538
Assignees
Labels
bug Something isn't working rule: sql Rules for Azure SQL Database
Milestone

Comments

@BernieWhite
Copy link
Collaborator

Description of the issue

New database already have TDE enabled so configuring the Microsoft.Sql/servers/databases/transparentDataEncryption sub-resource is not required, and can generate an error.

However, it can be disabled.

Also it should be checked for the in-flight scenario.

Expected behaviour

Update rule to:

  • Ensure TDE is not disabled.
  • Check existence of the Microsoft.Sql/servers/databases/transparentDataEncryption sub-resource for exports only.

Error output

InternalServerError: An unexpected error occured while processing the request.

Module in use and version:

  • Module: PSRule.Rules.Azure
  • Version: 1.17.1
@BernieWhite BernieWhite added bug Something isn't working rule: sql Rules for Azure SQL Database labels Jul 22, 2022
BernieWhite added a commit to BernieWhite/PSRule.Rules.Azure that referenced this issue Jul 29, 2022
@BernieWhite BernieWhite added this to the v1.18.0 milestone Jul 29, 2022
@BernieWhite BernieWhite self-assigned this Jul 29, 2022
This was referenced Aug 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rule: sql Rules for Azure SQL Database
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant