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.
Protect a message before it is sent to the modelEn français
Quand un message contient une clé d'API, alors elle n'est masquée que si la configuration charge un groupe de motifs de secrets ou un modèle qui cherche les secrets.
Protéger un message avant l'envoi au modèleWhere the rule lives 2
Tested by 12
- tests/components/detector/test_regex.py::TestConformance::test_satisfies_the_detector_port
- tests/components/detector/test_regex.py::TestDetect::test_empty_text_returns_empty
- tests/components/detector/test_regex.py::TestDetect::test_finds_a_single_match_with_exact_offsets
- tests/components/detector/test_regex.py::TestDetect::test_finds_every_match_of_a_pattern
- tests/components/detector/test_regex.py::TestDetect::test_finds_matches_for_every_label
- tests/components/detector/test_regex.py::TestDetect::test_no_match_returns_empty
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_a_line_separator_is_read_as_a_newline
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_a_pattern_written_for_a_space_matches_any_space
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_spaces_before_a_value_do_not_shift_its_offsets
- tests/components/detector/test_regex.py::TestUnicodeSpaces::test_the_detection_keeps_the_spaces_as_written
- tests/pipeline/test_pipeline.py::TestUnicodeSpaces::test_a_regex_value_typed_with_no_break_spaces_is_hidden
- tests/test_catalog.py::TestFromCatalog::test_builds_a_detector_that_detects
Used by 3
Read from the code graph graphify builds, at the places the domain documentation gives. A test that goes through another function does not show here.