From fba56c26b80acd7b3c55ddb1b0ee6d09a2c0188c Mon Sep 17 00:00:00 2001 From: Gabe Stocco <98900+gfs@users.noreply.github.com> Date: Wed, 9 Aug 2023 10:10:27 -0700 Subject: [PATCH] Fix language definitions for rules in Random.json (#579) --- Changelog.md | 4 ++++ rules/default/security/cryptography/random.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Changelog.md b/Changelog.md index 169c5eec..a4555014 100644 --- a/Changelog.md +++ b/Changelog.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.18] - 2023-08-09 +### Rules +Fix language filtering on random number generator rules. Fix #468 + ## [1.0.17] - 2023-08-07 ### Rules Improve HTTP url detection rule to exclude more schema definitions. diff --git a/rules/default/security/cryptography/random.json b/rules/default/security/cryptography/random.json index d55929a9..df19b681 100644 --- a/rules/default/security/cryptography/random.json +++ b/rules/default/security/cryptography/random.json @@ -7,7 +7,7 @@ "tags": [ "Cryptography.PRNG.Weak" ], - "language": [ + "applies_to": [ "c", "cpp", "csharp", @@ -103,7 +103,7 @@ "tags": [ "Cryptography.PRNG.Weak" ], - "language": [ + "applies_to": [ "rust" ], "severity": "important",