Skip to content

Commit 3008938

Browse files
Fix json schema example (#684)
* Standardize docstrings to define what the program does, add missing license wording, and format blank lines around header docstrings. * Update schemas for typos * Update mission_prevalence.py * Update 'virulence' to 'automatable' keys --------- Co-authored-by: Allen D. Householder <ahouseholder@users.noreply.github.com>
1 parent 256cfcf commit 3008938

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

data/schema_examples/Computed-CVE-2014-0751-Coordinator-with-tree.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"role": "Coordinator",
33
"id": "CVE-2014-0751",
44
"version": "2.0.3",
5-
"computed": "SSVCv2/E:A/V:S/T:T/P:M/B:A/M:M/D:A/2021-09-29T15:29:44Z/",
5+
"computed": "SSVCv2/E:A/A:N/T:T/P:M/B:A/M:M/D:A/2021-09-29T15:29:44Z/",
66
"timestamp": "2021-09-29T15:29:44Z",
77
"options": [
88
{
@@ -52,7 +52,7 @@
5252
},
5353
{
5454
"label": "Automatable",
55-
"key": "V",
55+
"key": "A",
5656
"decision_type": "simple",
5757
"options": [
5858
{

data/schema_examples/Computed-CVE-2014-0751-Coordinator.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"role": "Coordinator",
33
"id": "CVE-2014-0751",
44
"version": "2.0.3",
5-
"computed": "SSVCv2/E:A/V:S/T:T/P:M/B:A/M:M/D:A/2021-09-29T15:29:44Z/",
5+
"computed": "SSVCv2/E:A/A:N/T:T/P:M/B:A/M:M/D:A/2021-09-29T15:29:44Z/",
66
"timestamp": "2021-09-29T15:29:44Z",
77
"options": [
88
{

src/ssvc/decision_points/mission_prevalence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22

33
"""
4-
Provides the Mission Prevalence decision point and its values."
4+
Provides the Mission Prevalence decision point and its values.
55
"""
66

77
# Copyright (c) 2024-2025 Carnegie Mellon University and Contributors.

src/ssvc/decision_points/utility.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"""
66

77
# Copyright (c) 2024-2025 Carnegie Mellon University and Contributors.
8-
# - see Contributors.md for a full list of Contributors
98
# - see ContributionInstructions.md for information on how you can Contribute to this project
109
# Stakeholder Specific Vulnerability Categorization (SSVC) is
1110
# licensed under a MIT (SEI)-style license, please see LICENSE.md distributed

0 commit comments

Comments
 (0)