From fb2b91595bbda08c2486dabe9276e9acedb36ca0 Mon Sep 17 00:00:00 2001 From: Mick Grove Date: Wed, 6 Aug 2025 21:31:02 -0700 Subject: [PATCH] Fixed validation logic for clarifai rule --- CHANGELOG.md | 1 + data/rules/clarifai.yml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4201640..482eca5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. ## [1.35.0] - Remote scans with `--git-history=none` now clone repositories with a working tree and scan the current files instead of erroring with "No inputs to scan". - Fixed issue where `--redact` did not function properly +- Fixed validation logic for clarifai rule ## [1.34.0] - Use system TLS root certificates to support self-hosted GitLab instances with internal CAs diff --git a/data/rules/clarifai.yml b/data/rules/clarifai.yml index e3f7167..d72c9f2 100644 --- a/data/rules/clarifai.yml +++ b/data/rules/clarifai.yml @@ -34,5 +34,5 @@ rules: - type: WordMatch match_all_words: true words: - - '"models"' - - '"status"' + - '"code":10000' + - '"description":"Ok"'