-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3773 from zowe/anax-v2.17-publishdocs-docs
Anax v2.17 publishdocs docs
- Loading branch information
Showing
3,008 changed files
with
365,202 additions
and
11,445 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
docs/user-guide/api-mediation/configuration-health-endpoint-protection.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Configuring API Gateway Health Check Protection | ||
|
||
:::info Role: system programmer | ||
::: | ||
|
||
As a system programmer, you can configure the security setting for the health check endpoint of the API Gateway. This setting determines whether the health check endpoint is accessible without authentication, or alternatively requires authentication. Enabling protection for the health check endpoint can enhance the security of the API Gateway by restricting access to sensitive status information about the Gateway. | ||
|
||
Use the following procedure to set the value of the health check endpoint of the API Gateway: | ||
|
||
1. Open the file `zowe.yaml`. | ||
2. Configure the following property: | ||
|
||
* `components.gateway.apiml.gateway.health.protected` | ||
This property defines whether the health check endpoint is accessible with or without authentication. | ||
|
||
:::note | ||
The default value of this parameter is `false`. We recommend setting this parameter to `true` for production environments. | ||
::: | ||
|
||
**Example:** | ||
```yaml | ||
zowe: | ||
components: | ||
gateway: | ||
apiml: | ||
gateway: | ||
health: | ||
protected: true | ||
``` | ||
In this example, setting `protected` to `true` protects the health check endpoint by requiring authentication. Only authenticated users can access the health check endpoint. This ensures that sensitive information about the status of the Gateway is not exposed to unauthenticated users. | ||
|
||
To allow open access to the health check endpoint, set the parameter to `false`. Setting this parameter to `false` permits access to this endpoint without authentication. In this case, anyone can access the health check endpoint and obtain information about the status of the Gateway. | ||
|
||
## Environment Recommendations | ||
|
||
When setting this parameter, we recommend applying the following values according to your environment: | ||
|
||
* **In Production Environments** | ||
It is recommended to set `apiml.gateway.health.protected` to `true` to enhance security and protect sensitive information about the API Gateway's health status. | ||
|
||
* **In Development/Testing Environments** | ||
setting `apiml.gateway.health.protected` to `false` can simplify the testing process, reduce development overhead, and assist with debugging. |
Oops, something went wrong.