Closed MarcelHeek closed 1 year ago
@MarcelHeek Thanks for reporting the issue.
Has the serviceUrl
(reported as Web Service URL within the portal under API > Settings) property been populated at all?
This is the default backend when a backend has not been specified.
The rule should be checking either backend URL or service URL because both are treated as the backend depending on the configuration.
@BernieWhite
I am not into the APIM stuff, so I could not find in the portal what you are referring to, but I found this item that probably flags the rule to FAIL. Wonder how that got in there as it was not in the terraform code, I will ask co-worker for that, but I guess you can tell me whether this could be the smoking gun for the FAIL result?
@MarcelHeek Yep that is the website service URL which is part of the check and this will cause the rule to fail.
Thanks for confirming this. This API appears to be default created for every APIM resource deployed. So right off the bat this will be flagged als FAIL
Thanks @MarcelHeek we can add an additional note to the docs on that point.
Description of the issue
I have an environment where API Management is enabled without any API (backend) connected yet. This configuration is deployed via IaC (terraform)
To Reproduce
Steps to reproduce the issue:
Expected behaviour
I would expect that an unconfigured API Management resource without any API pr backend configures would pass this rule
Error output
N/A
Module in use and version:
Captured output from
$PSVersionTable
:Additional context