secureboot table only fully filled when language is english (on macOS)

未关闭
#8,804 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
cpp, macos

调研方向

从 osquery/tables/system/darwin/secureboot.mm 开始,检查 secureboot 表如何解释 description、kernel_extensions 和 mdm_operations 值。将 macOS 设置为法语后重现 secure_boot 查询,然后验证该表返回预期的安全状态和本地化的 Yes/No 值,而不是空列。

由索引模型根据 Issue 内容生成。

描述

bug macOS triage

Bug report

What operating system and version are you using?

platform: darwin
version: 26.3
build: 25D125

OS language : French

Note : Apple Silicon

What version of osquery are you using?

version: 5.21

What steps did you take to reproduce the issue?

Execute query :

select secure_boot from secureboot;

What did you expect to see?

On a default macOS install, I expected to get secure_boot column with value 1.

What did you see instead?

secure_boot is empty.

Quick analysis

Reading the code (osquery/tables/system/darwin/secureboot.mm), it appears this column (and others) depend on strings ('Full Security', 'Reduced Security', 'Permissive Security').
When displaying all columns from the table, column description is 'Sécurité maximale' in my case (meaning 'Full Security' in english).
In the same way, columns kernel_extensions and mdm_operations are left empty because depend on 'Yes'/'No' ('Oui'/'Non' in french).

主要语言
C++
星标
23.8k
派生
2.7k
平均合并
6 天 11 小时
30 天内合并 PR
69

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

osquery/osquery 的其他 Issue

查看 osquery/osquery 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。