Automate CSV example generation with doctools.py #929
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes the statically-maintained csv tables in favor of generating them directly from the corresponding
DecisionTableobjects from within thedoctools.pytool.Copilot Summary
This pull request introduces several new CSV data files and updates a Makefile command. The main focus is on adding comprehensive mapping and decision tables for CVSS v4 and SSVC, which will support more detailed and automated vulnerability assessments. Additionally, the Makefile is updated to align with the new data structure.
Data Table Additions:
Added CVSS v4 equivalence set mapping tables, including:
cvss_v4_equivalence_set_1_1_0_0.csv: Maps attack vector, privileges, and user interaction to Equivalence Set 1.cvss_v4_equivalence_set_2_1_0_0.csv: Maps attack complexity and requirements to Equivalence Set 2.cvss_v4_equivalence_set_3_1_0_0.csv: Maps confidentiality, integrity, and availability impacts to Equivalence Set 3.cvss_v4_equivalence_set_4_1_0_0.csv: Maps impacts to subsequent systems to Equivalence Set 4.cvss_v4_equivalence_set_5_1_0_0.csv: Maps exploit maturity to Equivalence Set 5.cvss_v4_0_qualitative_severity_ratings_4_0_0.csv: Provides the qualitative severity rating scale for CVSS v4 based on the equivalence sets.Added SSVC and CISA decision tables:
cisa_coordinator_2_0_3.csv: Contains CISA coordinator decision logic based on various exploit and impact factors.coordinator_publish_decision_table_1_0_0.csv: Provides SSVC coordinator publish decision logic.Build Process Update:
regenerate_jsonMakefile rule to use the new--datadirparameter, reflecting the new data organization.