diff --git a/config.toml b/config.toml index ca193dc1e88785aaa012aae25637e2509393e0d4..22b4cd9ba81a61d4646eca996a4d66b31e32a59f 100644 --- a/config.toml +++ b/config.toml @@ -124,12 +124,17 @@ paginate = 10 url = "/en/building/download.html" weight = 6 +[[menu.main]] + identifier = "security" + name = "Security" + url = "/en/security.html" + weight = 7 [[menu.main]] identifier = "lang" name = "中文" url = "/zh" - weight = 7 + weight = 8 # Menu chinese [[languages.zh.menu.main]] @@ -268,12 +273,17 @@ paginate = 10 url = "/zh/building/download.html" weight = 6 +[[languages.zh.menu.main]] + identifier = "security" + name = "安全" + url = "/zh/security.html" + weight = 7 [[languages.zh.menu.main]] identifier = "lang" name = "EN" url = "/en" - weight = 7 + weight = 8 # Top bar social links menu diff --git a/content/en/security/index.md b/content/en/security/index.md index a6354ec48f5c5224efdd3097df2387609c4dba34..bc93cb0d26dc743f3203bab80e986dd1a83eabb7 100644 --- a/content/en/security/index.md +++ b/content/en/security/index.md @@ -1,3 +1,9 @@ ++++ +title = "Security" +id = "security" ++++ + + - [Submit a CVE Issue](#itm1) - [Security Group Distributes CVE Issues](#itm2) - [Handle CVE Issues](#itm3) @@ -152,5 +158,4 @@ Maintainer identifies and distributes CVE issues. Solutions to CVE problems can

CVE Issues Proceure

- -![CVE Procedure](./procedure.png) \ No newline at end of file + diff --git a/content/zh/security/index.md b/content/zh/security/index.md index b7960c4081cdcb9d750cf7bb207eca08e68512c8..63d5b62c2f3b084edcfa71a23232a610d3ab6d29 100644 --- a/content/zh/security/index.md +++ b/content/zh/security/index.md @@ -1,3 +1,8 @@ ++++ +title = "安全" +id = "security" ++++ + - [扫描并提交CVE问题](#itm1) - [安全团队分发CVE问题](#itm2) - [处理CVE问题](#itm3) @@ -121,13 +126,13 @@ Maintainer会对CVE问题进行确认和分发。CVE问题的解决方案可以 + 漏洞的详细描述(以下信息由CVE扫描工具提供) + [CVEID] : 必须包含对应的CVE链接 -+ [PRODUCT]:CVE提供的信息,包含供应商,开发人员或项目名称,以及存在漏洞的实际软 件或硬件的名称 ++ [PRODUCT]:CVE提供的信息,包含供应商,开发人员或项目名称,以及存在漏洞的实际软件或硬件的名称 + [ VERSION ]:包括版本,发行日期或供应商,开发人员或项目用来区分发行版本的任何差异信息。也可以用特定的版本号,版本范围或“版本号或日期之前/之后的所有版本”来描述。 + [ PROBLEMTYPE ]: + [ REFERENCES ]:相关URL链接和参考说明 -+ [ DESCRIPTION ]:漏洞的详细描述说明,包括:使用该漏洞的攻击类型的说明;漏洞的影 响;受漏洞影响的软件产品中的软件组件;可以利用此漏洞的任何攻击媒介 ++ [ DESCRIPTION ]:漏洞的详细描述说明,包括:使用该漏洞的攻击类型的说明;漏洞的影响;受漏洞影响的软件产品中的软件组件;可以利用此漏洞的任何攻击媒介 + [ ASSIGNINGCNA ]:分配CNA的名称 @@ -152,4 +157,6 @@ Maintainer会对CVE问题进行确认和分发。CVE问题的解决方案可以

CVE问题流程说明

-![CVE问题处理流程](./procedure.png) \ No newline at end of file +

CVE问题处理流程

+ + diff --git a/themes/project/layouts/partials/security.html b/themes/project/layouts/partials/security.html new file mode 100644 index 0000000000000000000000000000000000000000..9ce994b1f0d5062e23461772163f91adfc813790 --- /dev/null +++ b/themes/project/layouts/partials/security.html @@ -0,0 +1,5 @@ +
+
+ {{ .Content }} +
+
diff --git a/themes/project/layouts/security/single.html b/themes/project/layouts/security/single.html new file mode 100644 index 0000000000000000000000000000000000000000..bcf224d3cba578775943167891fb0dfa4894fe51 --- /dev/null +++ b/themes/project/layouts/security/single.html @@ -0,0 +1,46 @@ + + + + {{ partial "head.html" . }} + + + +
+ +
+ + {{ partial "nav.html" . }} + +
+ + {{ partial "breadcrumbs.html" . }} + +
+ {{ if isset .Params "id" }} + + {{ partial .Params.id . }} + + {{ else }} + +
+ +
+ {{ .Content }} +
+ +
+ + + {{ end }} +
+ + + {{ partial "footer.html" . }} + +
+ + + {{ partial "scripts.html" . }} + + +