> For the complete documentation index, see [llms.txt](https://newdocs.keeper.io/en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://newdocs.keeper.io/en/release-notes/enterprise/keeper-gateway/older/keeper-gateway-v1.3.1.md).

# Keeper Gateway v1.3.1

## New Features

* Custom Fields for advanced Gateway Configurations: `NOOP`, `shell`, `Kerberos`
  * Read more [here](/en/keeperpam/privileged-access-manager/getting-started/gateways/advanced-configuration/gateway-configuration-with-custom-fields.md)
* Custom Field for better record management in post-rotation: `Records Control`

## Improvements & Bug Fixes

* **Added command length verification**
  * Command Length Limitation: Added checks to ensure that commands in post-rotation do not exceed the byte limit specific to the shell (e.g., 8192 bytes for Windows CMD).
* **Fixed issue where the `user` parameter was not being set in the Base64 encoded JSON object for Post Rotation Scripts**
  * Eliminated the redundant `user` parameter from `_generate_params` function, as it's already available in the object.
* **Fixed Illegal Characters for Oracle**
  * Added `@` to the list of illegal characters to meet Oracle's input requirements. Other characters such as single quotes were also added for SQL safety.
* **Fixed Gateway Permission Settings for Non-English Windows**
  * Modified permission settings logic to work correctly on Windows systems using languages other than English.
* **Fixed Windows Shell Detection**
  * Delayed setting the command prompt until after the shell type is definitively determined, therefore resulting in fixing issues when the shell is not PowerShell.
* **Improved handling of Shell Responses**
  * Stream Handling: Improved the response stream handling for slow systems on Linux and macOS by waiting for a known prompt.
  * Character Stream Cleanup: Added several clean-up steps to the character stream to remove extraneous characters and control codes.
* **Updated Gateway Logs to include Post Rotation Script Output when Debug flag is set**
  * Debug Block: A new debug block that logs details of the script, its success status, and STDOUT/STDERR.
  * Secret Redaction: Ensured that secret or sensitive information is redacted from the logs.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://newdocs.keeper.io/en/release-notes/enterprise/keeper-gateway/older/keeper-gateway-v1.3.1.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
