[False Positive] Do not target .NET Framework versions less than 4.7.2. seems to flag .NET11 projects
还没有人认领这个 Issue。
评估
调研方向
Issue 指出了 rules/default/security/frameworks/dotnet_framework.json 和 DS450000 规则。阅读规则的匹配模式,并比较它在 net11.0 与所列较旧 target framework 版本上的行为。完成标准是 .NET 11 不再触发该规则,同时目标中的较旧版本仍然匹配;issue 未指定测试文件。
由索引模型根据 Issue 内容生成。
描述
Rule ID
DS450000
What the rule matched
<TargetFramework>net11.0</TargetFramework>
Why should this not be matched?
This is .NET 11 not .NET 1.1
I believe the Regex in https://github.com/microsoft/DevSkim/blob/main/rules/default/security/frameworks/dotnet_framework.json is taking a partial string and should be something like
^(net11|net20|net35|net40|net403|net45|net451|net452|net46|net461|net462|net47|net471)$
- 主要语言
- C#
- 星标
- 1k
- 派生
- 135
- 平均合并
- 15 小时 14 分钟
- 30 天内合并 PR
- 2
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/DevSkim 的其他 Issue
-
exclude_file_regex and applies_to_file_regex only see the file name in devskim analyze可能已有人在做 @gfs 于 30 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
-
The DevSkim Repository Description still mentions IDE extensions but these are not longer included未关闭bug
难度 1/5 1 小时以内 新手友好度 55/100
-
DS117838 and DS173237 report published sha256 digests as secrets可能已有人在做 @gfs 于 30 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 56/100
-
How to match files without a file extension?可能已有人在做 @gfs 于 195 天前认领。 未关闭enhancement
-
Support for HTML (see attached example rule)可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug
难度 3/5 1-2 天 新手友好度 68/100
查看 microsoft/DevSkim 的全部 Issue
相似的 Issue
-
elsa 3
难度 2/5 1-3 小时 新手友好度 67/100
elsa-workflows/elsa-core#9349 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
-
bug
难度 1/5 1 小时以内 新手友好度 88/100
PereViader/ManualDi#200 ·
-
难度 2/5 1-3 小时 新手友好度 86/100
Forrest-Technologies/drover#1040 ·
维护者通常 1 天内回复
-
todo
难度 1/5 1 小时以内 新手友好度 72/100
tonybaloney/CSnakes#864 ·