最近配合一个同事整理关于产品网络安全的审查文档,提到了如何获取CentOS 7和window 10的安全补丁列表,这里记录分享下。

CentOS 7

直接命令行登录,运行如下命令

 sudo yum updateinfo info all security > patch.txt

会输出类似如下信息到patch.txt文件,打开可看到很多类似如下内容的文字

 或者如果只需要简化版的内容,可以使用命令

 sudo yum updateinfo list all security 

Window 10或以上

微软官网提供网页可以查询,如下

使用window 10或以上版本,版本发布更新

Windows 10 - release information | Microsoft DocsLearn release information for Windows 10 releaseshttps://docs.microsoft.com/en-us/windows/release-health/release-information

微软官网window 10积累更新

Microsoft Update Cataloghttps://www.catalog.update.microsoft.com/Search.aspx?q=windows+10+cumulative+update

参考:

yum-security(8) - Linux man pageThis plugin extends yum to allow lists and updates to be limited using security relevant criteriahttps://linux.die.net/man/8/yum-security

How to list or install only security updates in CentOS/RHEL 6 and 7This is meta descriptionhttps://www.thegeeksearch.com/how-to-list-or-install-only-security-updates-in-centos-rhel-6-and-7/

Logo

技术共进,成长同行——讯飞AI开发者社区

更多推荐