Description
When agents generate response containing the full credit card number it must intercepted and masked before it got sent to chat
Current Behavior
The full credit card number is sent in clear text to the chat
Acceptance Criteria
Design Consideration
Use agent framework middleware concept to intercept any agent generated text and check for full clear text credit card pattern.
If credit card number is detected mask value replacing it with only the last 4 digits.
Middleware implementation code samples:
Main affected modules and/or classes
References
Description
When agents generate response containing the full credit card number it must intercepted and masked before it got sent to chat
Current Behavior
The full credit card number is sent in clear text to the chat
Acceptance Criteria
Design Consideration
Use agent framework middleware concept to intercept any agent generated text and check for full clear text credit card pattern.
If credit card number is detected mask value replacing it with only the last 4 digits.
Middleware implementation code samples:
Main affected modules and/or classes
References