Closed jdrepo closed 2 weeks ago
Hi @jdrepo, Thank you for your feedback; I will look into the issue. I believe that no changes are necessary to the type, as the parameter ambaAgServiceHook
is provided as an array to the ALZWebhookServiceUri
parameter within the AMBA template.
"ALZWebhookServiceUri": {
"value": "[array(parameters('ambaAgServiceHook'))]"
},
Thanks for offering to submit a PR, but please hold off for now while I investigate the cause of the issue.
Hi @arjenhuitema, thanks for the reply. May be fixing the default value is enough...
@arjenhuitema , did you find anything about this issue ?
Hi @jdrepo,
The problem occurs when no email address or service hook is specified on the Baseline alerts and monitoring tab. The empty string was converted to a malformed array, [""]
instead of []
. This caused the errors you mentioned.
A pull request has been submitted that resolves the issue by conditionally specifying the value that is to be passed to the policy assignment.
The issue has been linked to the PR, so it will be closed upon merging the PR.
Please feel free to reach out if you have any questions or comments.
Describe the bug There seems to be an incorrect parameter type and default value for ambaAgServiceHook.
Steps to reproduce
Screenshots
Seems to me that there is an incorrect parameter
Fix
Can provide pull request if needed