A Mule 4 API has been deployed to CloudHub and a Basic Authentication - Simple policy has been applied to all API methods and resources. However, the API is still accessible
by clients without using authentication.
How is this possible?
When a Basic Authentication policy is applied to an API on CloudHub but clients can still access the API without authentication, the likely cause is a missing Autodiscovery element. Here's how this affects API security:
Autodiscovery in MuleSoft:
The Autodiscovery element is essential for linking an API implementation deployed in CloudHub with its API instance defined in API Manager. This connection allows the policies applied in API Manager, such as Basic Authentication, to be enforced on the deployed API.
Why Option B is Correct:
Without Autodiscovery, the deployed application does not 'know' about the policies configured in API Manager, resulting in unrestricted access. Adding Autodiscovery enables the API to enforce the policies correctly.
of Incorrect Options:
Option A (incorrect Exchange version) would not cause bypassing of security policies.
Option C (missing client applications) does not impact authentication policy enforcement.
Option D (worker restart) is irrelevant to policy enforcement.
Reference Refer to MuleSoft documentation on Autodiscovery configuration and linking API Manager policies for additional information on setting up secure API policies.
Virgina
2 months agoWinfred
3 months agoJerrod
3 months agoRebeca
3 months agoBrande
3 months agoGianna
3 months agoProvidencia
4 months agoPaz
4 months agoTammara
4 months agoCassie
4 months agoEliz
4 months agoCyndy
5 months agoDorcas
5 months agoDean
5 months agoRhea
11 months agoRaylene
12 months agoAnjelica
10 months agoOneida
11 months agoDoretha
11 months agoDottie
12 months agoBok
12 months agoTayna
12 months agoSue
12 months agoCecil
11 months agoAnnmarie
11 months agoKanisha
11 months agoAlpha
12 months agoHermila
11 months agoBelen
11 months agoGilberto
11 months agoStephen
11 months ago