Skip to content

Card BR-MSG-08

When a message contains an API key, then it is masked only if the configuration loads a pattern group for secrets or a model that looks for secrets.

Defined in Protect a message before it is sent to the model

Where the rule lives 2

Direct tests 1

The test, or a helper of its file, calls the rule's code.

Indirect tests 12

The test builds its class or calls another function of its module, which leads to the rule.

Used by 2

Read from the code graph graphify builds, at the places the domain documentation gives.