diff --git a/data/common/CVE-2021-3156.json b/data/common/CVE-2021-3156.json index 762a1e1..735aae3 100644 --- a/data/common/CVE-2021-3156.json +++ b/data/common/CVE-2021-3156.json @@ -1,15 +1,16 @@ { +"FormatVer" : 20220411, "Id": "CVE-2021-22555", "Belong": "kernel", -"Poc-hazard-level": "low", +"PocHazardLevel": "low", "Source": " https://github.com/veritas501/CVE-2021-22555-PipeVersion", "SiteInfo": { "Name": "Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核", "Severity": "high", "Description": "Description", - "Scope-of-influence": + "ScopeOfInfluence": "Scope-of-influence", "References": [ "Reference1", "Reference2" ], "SiteClassification": { diff --git a/data/common/CVE-2021-3156.yaml b/data/common/CVE-2021-3156.yaml index 5cbb792..5d97c68 100644 --- a/data/common/CVE-2021-3156.yaml +++ b/data/common/CVE-2021-3156.yaml @@ -1,13 +1,14 @@ +FormatVer: 20220411 Id: CVE-2021-22555 Belong: kernel -Poc-hazard-level: low +PocHazardLevel: low Source: https://github.com/veritas501/CVE-2021-22555-PipeVersion SiteInfo: Name: Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核 Severity: high Description: Description - Scope-of-influence: + ScopeOfInfluence: Scope-of-influence References: - Reference1 diff --git a/data/common/Sample1.json b/data/common/Sample1.json index 762a1e1..735aae3 100644 --- a/data/common/Sample1.json +++ b/data/common/Sample1.json @@ -1,15 +1,16 @@ { +"FormatVer" : 20220411, "Id": "CVE-2021-22555", "Belong": "kernel", -"Poc-hazard-level": "low", +"PocHazardLevel": "low", "Source": " https://github.com/veritas501/CVE-2021-22555-PipeVersion", "SiteInfo": { "Name": "Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核", "Severity": "high", "Description": "Description", - "Scope-of-influence": + "ScopeOfInfluence": "Scope-of-influence", "References": [ "Reference1", "Reference2" ], "SiteClassification": { diff --git a/src/genmai/ExploreCommon.go b/src/genmai/ExploreCommon.go index 1e17ab9..e6e932a 100644 --- a/src/genmai/ExploreCommon.go +++ b/src/genmai/ExploreCommon.go @@ -76,6 +76,7 @@ type SiteInfo struct { Explore的模板 */ type ConfigCommon struct { + FormatVer int Id string Belong string Poc_hazard_level string diff --git a/src/genmai/ExploreKernel.go b/src/genmai/ExploreKernel.go index fc9c80e..84ba408 100644 --- a/src/genmai/ExploreKernel.go +++ b/src/genmai/ExploreKernel.go @@ -31,6 +31,7 @@ package genmai type ConfigKernel struct { + FormatVer int Id string Belong string Poc_hazard_level string diff --git a/src/genmai/ExploreSystem.go b/src/genmai/ExploreSystem.go index 83b8882..4321c33 100644 --- a/src/genmai/ExploreSystem.go +++ b/src/genmai/ExploreSystem.go @@ -29,6 +29,7 @@ package genmai type ExploreSystem struct { + FormatVer int Id string Belong string Poc_hazard_level string diff --git a/src/genmai/ExploreWeb.go b/src/genmai/ExploreWeb.go index aa3f84e..ecba2f5 100644 --- a/src/genmai/ExploreWeb.go +++ b/src/genmai/ExploreWeb.go @@ -29,6 +29,7 @@ package genmai type ExploreWeb struct { + FormatVer int Id string Belong string Poc_hazard_level string