From 7ac76657e6db819d43d580e0132474714003a03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Fabianski?= Date: Thu, 21 Sep 2023 13:59:16 +0200 Subject: [PATCH] feat(javascript): revert result scope in jwt_not_revoked rule --- rules/javascript/express/jwt_not_revoked.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rules/javascript/express/jwt_not_revoked.yml b/rules/javascript/express/jwt_not_revoked.yml index f985ea7bc..4c021d3ab 100644 --- a/rules/javascript/express/jwt_not_revoked.yml +++ b/rules/javascript/express/jwt_not_revoked.yml @@ -6,11 +6,11 @@ patterns: regex: (?i)\A(expressjwt)\z - variable: HASH_CONTENT detection: javascript_express_jwt_not_revoked_secret - scope: result + scope: cursor - not: variable: HASH_CONTENT detection: javascript_express_jwt_not_revoked_is_revoked - scope: result + scope: cursor languages: - javascript auxiliary: