Skip to content

Conversation

@ahouseholder
Copy link
Contributor

This is just snapshotting the current state of the main branch so that a number of @sei-vsarvepalli's recent schema updates can be made public. We've already tagged main as v2025.2

dependabot bot and others added 30 commits January 20, 2025 15:10
Bumps the mkdocs group with 1 update: [mkdocs-material](https://github.com/squidfunk/mkdocs-material).


Updates `mkdocs-material` from 9.5.49 to 9.5.50
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.5.49...9.5.50)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [mkdocs-bibtex](https://github.com/shyamd/mkdocs-bibtex) from 2.16.2 to 3.0.0.
- [Release notes](https://github.com/shyamd/mkdocs-bibtex/releases)
- [Commits](shyamd/mkdocs-bibtex@v2.16.2...v3.0.0)

---
updated-dependencies:
- dependency-name: mkdocs-bibtex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
doing this as a bulk change to catch up older code with current formatting
* fix unit test

* add some comments explaining why we're doing it this way

also use with... syntax to reduce filehandler boilerplate
update should be good.
* Added Outcomes Schema, Outcomes JSON and scripts to create CVSS decision_points

* added symlink to schema/current folder

* Resolves @ahouseholder feedback
* fix unit test (#669)

* fix unit test

* add some comments explaining why we're doing it this way

also use with... syntax to reduce filehandler boilerplate

* use pydantic dataclasses

makes json roundtrip easier
also prepares for FastAPI adoption

# Conflicts:
#	src/ssvc/_mixins.py
#	src/ssvc/decision_points/cvss/base.py
#	src/ssvc_v2.py

* black reformat

* fix unit tests

* black reformat

* use native python types

* update dependencies

* wrap scripts in main() func

* regenerate with indented json

* black reformat

* add placeholder test
Bumps [mkdocs-bibtex](https://github.com/shyamd/mkdocs-bibtex) from 3.0.0 to 4.1.0.
- [Release notes](https://github.com/shyamd/mkdocs-bibtex/releases)
- [Commits](shyamd/mkdocs-bibtex@v3.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: mkdocs-bibtex
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.10.3 to 2.10.6.
- [Release notes](https://github.com/pydantic/pydantic/releases)
- [Changelog](https://github.com/pydantic/pydantic/blob/main/HISTORY.md)
- [Commits](pydantic/pydantic@v2.10.3...v2.10.6)

---
updated-dependencies:
- dependency-name: pydantic
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Standardize docstrings to define what the program does, add missing license wording, and format blank lines around header docstrings.

* Undo a deleted line
Bumps the mkdocs group with 3 updates: [mkdocs-include-markdown-plugin](https://github.com/mondeja/mkdocs-include-markdown-plugin), [mkdocs-material](https://github.com/squidfunk/mkdocs-material) and [mkdocstrings-python](https://github.com/mkdocstrings/python).


Updates `mkdocs-include-markdown-plugin` from 7.1.2 to 7.1.4
- [Release notes](https://github.com/mondeja/mkdocs-include-markdown-plugin/releases)
- [Commits](mondeja/mkdocs-include-markdown-plugin@v7.1.2...v7.1.4)

Updates `mkdocs-material` from 9.6.2 to 9.6.3
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.6.2...9.6.3)

Updates `mkdocstrings-python` from 1.13.0 to 1.14.6
- [Release notes](https://github.com/mkdocstrings/python/releases)
- [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/python@1.13.0...1.14.6)

---
updated-dependencies:
- dependency-name: mkdocs-include-markdown-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
- dependency-name: mkdocstrings-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mkdocs
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the mkdocs group with 4 updates: [mkdocs-bibtex](https://github.com/shyamd/mkdocs-bibtex), [mkdocs-material](https://github.com/squidfunk/mkdocs-material), [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings) and [mkdocstrings-python](https://github.com/mkdocstrings/python).


Updates `mkdocs-bibtex` from 4.1.0 to 4.2.1
- [Release notes](https://github.com/shyamd/mkdocs-bibtex/releases)
- [Commits](shyamd/mkdocs-bibtex@v4.1.0...v4.2.1)

Updates `mkdocs-material` from 9.6.3 to 9.6.4
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.6.3...9.6.4)

Updates `mkdocstrings` from 0.28.0 to 0.28.1
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/mkdocstrings@0.28.0...0.28.1)

Updates `mkdocstrings-python` from 1.14.6 to 1.16.0
- [Release notes](https://github.com/mkdocstrings/python/releases)
- [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/python@1.14.6...1.16.0)

---
updated-dependencies:
- dependency-name: mkdocs-bibtex
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mkdocs
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
- dependency-name: mkdocstrings
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
- dependency-name: mkdocstrings-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: mkdocs
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
… to generate decision point examples (#683)

* add markdown-exec plugin and doc_helpers in prep for inlining examples

* add consistent VERSIONS and LATEST to decision point modules

* use inline python to generate examples

* replace markdown includes with inline python

* remove generated static examples

now provided at site build time using inline python

* regenerate some json examples based on recent changes to python

* update doctools.py to only generate the .json example files

inline examples are now down with inline python in markdown

* roll cvss decision point generation into doctools.py

* make cvss decision points consistent with VERSIONS and LATEST names

* add end-of-file newlines

* add / fix unit tests

* update cvss supplementals

* reorder urgency to be low-to-high

* fix pydantic type error (`list` instead of `tuple`)
* 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 <[email protected]>
* split eq1 into separate module

* split EQ2-6 into separate modules
* Update to schema_examples directory

* Updated link to CVE-1900-1234-Decision_Point_Value_Selection.json
all is well here.
* add markdownlint config to project

* fix config

* ignore node modules

* `markdownlint --fix docs`

* `markdownlint --fix .`

* add markdownlint workflow to check changes
* add markdown-exec plugin and doc_helpers in prep for inlining examples

* add consistent VERSIONS and LATEST to decision point modules

* use inline python to generate examples

* replace markdown includes with inline python

* remove generated static examples

now provided at site build time using inline python

* regenerate some json examples based on recent changes to python

* update doctools.py to only generate the .json example files

inline examples are now down with inline python in markdown

* roll cvss decision point generation into doctools.py

* make cvss decision points consistent with VERSIONS and LATEST names

* add end-of-file newlines

* add / fix unit tests

* update cvss supplementals

* reorder urgency to be low-to-high

* add cvss decision point docs

* remove unused impact decision point version

* black reformat

* fix tests

* `markdownlint --fix .`

* add semver checks to dp_diff helper method

* s/derived from/was developed alongside/

* clarify safety connection
Updated wording in light of the fact that SSVC is no longer hosted here as a paper. 

Also removed block of text on Utility that might be causing unnecessary confusion.
ahouseholder and others added 7 commits February 21, 2025 11:57
* add CVSS qualitative severity as a decision point

* make json in `example_block()` optional

* markdownlint

* add qualitative severity link to cvss/index.md
* refine Dockerfile to modularize targets

* add Makefile to simplify container build & run process

* update readme to explain makefile use

* `markdownlint --fix .`

* address common error where `ssvc` module is not found due to PYTHONPATH

* add `venv` note

* explain that ports in docker containers are local to the container

* add basic `make` explainer

* `markdownlint --fix .`

* use long options
Bumps [semver](https://github.com/python-semver/python-semver) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/python-semver/python-semver/releases)
- [Changelog](https://github.com/python-semver/python-semver/blob/master/CHANGELOG.rst)
- [Commits](python-semver/python-semver@3.0.2...3.0.4)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 44 to 45.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](tj-actions/changed-files@v44...v45)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 16 to 19.
- [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases)
- [Commits](DavidAnson/markdownlint-cli2-action@v16...v19)

---
updated-dependencies:
- dependency-name: DavidAnson/markdownlint-cli2-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the mkdocs group with 3 updates in the / directory: [mkdocs-material](https://github.com/squidfunk/mkdocs-material), [mkdocstrings](https://github.com/mkdocstrings/mkdocstrings) and [mkdocstrings-python](https://github.com/mkdocstrings/python).


Updates `mkdocs-material` from 9.6.4 to 9.6.5
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](squidfunk/mkdocs-material@9.6.4...9.6.5)

Updates `mkdocstrings` from 0.28.1 to 0.28.2
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/mkdocstrings@0.28.1...0.28.2)

Updates `mkdocstrings-python` from 1.16.0 to 1.16.2
- [Release notes](https://github.com/mkdocstrings/python/releases)
- [Changelog](https://github.com/mkdocstrings/python/blob/main/CHANGELOG.md)
- [Commits](mkdocstrings/python@1.16.0...1.16.2)

---
updated-dependencies:
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
- dependency-name: mkdocstrings
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
- dependency-name: mkdocstrings-python
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: mkdocs
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#704)

* Update schema JSON to use cross-referencing and force more validations

* Update test_dp_base namespace to be name1 instead of 'ns'

* Update regex

* Update to obj.namespace

* Update data/schema/v1/Decision_Point-1-0-1.schema.json

Co-authored-by: tschmidtb51 <[email protected]>

* Missing comma and backslashes in @tschmidt's PR

* Going back to date-time from regex for timestamp

* fix trailing space @tschmidt

* Clarified JSON schema description fields in more detail

---------

Co-authored-by: tschmidtb51 <[email protected]>
@ahouseholder ahouseholder added this to the 2025-03 milestone Feb 27, 2025
@ahouseholder ahouseholder self-assigned this Feb 27, 2025
@ahouseholder ahouseholder merged commit 5067904 into publish Feb 27, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants