Flexible Server Rule Azure.PostgreSQL.AAD #2743
Replies: 2 comments
-
@paulmccrady could be, let me do some investigation. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@paulmccrady Yes you're correct, this type doesn't have an export method. I'll raised the bug #2744 to fix this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have configured a Postgres Flexible Server and have the following config under the Security->Authentication blade.
A Microsoft Entra Admin is configured (but omitted from screenshot for security purposes).
The following rule fails:
[FAIL] Azure.PostgreSQL.AAD (AZR-000389)
| File: xxx/out/templates/xxx.json:1:2773703
| RECOMMEND:
| Consider using Azure Active Directory (AAD) authentication with Azure Database
| for PostgreSQL databases. Additionally, consider disabling PostgreSQL
| authentication.
| REASON:
| - A sub-resource of type 'Microsoft.DBforPostgreSQL/flexibleServers/administrators' has not been specified.
| HELP:
| - https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.PostgreSQL.AAD/
We can see that the returned json does not contain a ‘Microsoft.DBforPostgreSQL/flexibleServers/administrators’ type.
Is this a rule issue or Export or something else?
Beta Was this translation helpful? Give feedback.
All reactions