!37 添加FormatVer字段,为以后方便升级配置文件的格式

Merge pull request !37 from a-alpha/alpha-dev
This commit is contained in:
a-alpha 2022-11-03 17:13:59 +00:00 committed by Gitee
commit 48c44522d1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 13 additions and 6 deletions

View File

@ -1,15 +1,16 @@
{ {
"FormatVer" : 20220411,
"Id": "CVE-2021-22555", "Id": "CVE-2021-22555",
"Belong": "kernel", "Belong": "kernel",
"Poc-hazard-level": "low", "PocHazardLevel": "low",
"Source": " https://github.com/veritas501/CVE-2021-22555-PipeVersion", "Source": " https://github.com/veritas501/CVE-2021-22555-PipeVersion",
"SiteInfo": { "SiteInfo": {
"Name": "Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核", "Name": "Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核",
"Severity": "high", "Severity": "high",
"Description": "Description":
"Description", "Description",
"Scope-of-influence": "ScopeOfInfluence":
"Scope-of-influence", "Scope-of-influence",
"References": [ "Reference1", "Reference2" ], "References": [ "Reference1", "Reference2" ],
"SiteClassification": { "SiteClassification": {

View File

@ -1,13 +1,14 @@
FormatVer: 20220411
Id: CVE-2021-22555 Id: CVE-2021-22555
Belong: kernel Belong: kernel
Poc-hazard-level: low PocHazardLevel: low
Source: https://github.com/veritas501/CVE-2021-22555-PipeVersion Source: https://github.com/veritas501/CVE-2021-22555-PipeVersion
SiteInfo: SiteInfo:
Name: Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核 Name: Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核
Severity: high Severity: high
Description: Description:
Description Description
Scope-of-influence: ScopeOfInfluence:
Scope-of-influence Scope-of-influence
References: References:
- Reference1 - Reference1

View File

@ -1,15 +1,16 @@
{ {
"FormatVer" : 20220411,
"Id": "CVE-2021-22555", "Id": "CVE-2021-22555",
"Belong": "kernel", "Belong": "kernel",
"Poc-hazard-level": "low", "PocHazardLevel": "low",
"Source": " https://github.com/veritas501/CVE-2021-22555-PipeVersion", "Source": " https://github.com/veritas501/CVE-2021-22555-PipeVersion",
"SiteInfo": { "SiteInfo": {
"Name": "Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核", "Name": "Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核",
"Severity": "high", "Severity": "high",
"Description": "Description":
"Description", "Description",
"Scope-of-influence": "ScopeOfInfluence":
"Scope-of-influence", "Scope-of-influence",
"References": [ "Reference1", "Reference2" ], "References": [ "Reference1", "Reference2" ],
"SiteClassification": { "SiteClassification": {

View File

@ -76,6 +76,7 @@ type SiteInfo struct {
Explore的模板 Explore的模板
*/ */
type ConfigCommon struct { type ConfigCommon struct {
FormatVer int
Id string Id string
Belong string Belong string
Poc_hazard_level string Poc_hazard_level string

View File

@ -31,6 +31,7 @@
package genmai package genmai
type ConfigKernel struct { type ConfigKernel struct {
FormatVer int
Id string Id string
Belong string Belong string
Poc_hazard_level string Poc_hazard_level string

View File

@ -29,6 +29,7 @@
package genmai package genmai
type ExploreSystem struct { type ExploreSystem struct {
FormatVer int
Id string Id string
Belong string Belong string
Poc_hazard_level string Poc_hazard_level string

View File

@ -29,6 +29,7 @@
package genmai package genmai
type ExploreWeb struct { type ExploreWeb struct {
FormatVer int
Id string Id string
Belong string Belong string
Poc_hazard_level string Poc_hazard_level string