Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish certcc.github.io/SSVC #534

Merged
merged 119 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
119 commits
Select commit Hold shift + click to select a range
38d503b
Convert docs to mkdocs, material, mermaid (#301)
ahouseholder Sep 15, 2023
0ff41d1
Create CODEOWNERS (#305)
ahouseholder Sep 15, 2023
73899d0
fix links (#312)
ahouseholder Sep 26, 2023
9e6c0b6
Fix links (#310)
ahouseholder Sep 27, 2023
4128a1f
Feature/bootstrapping docs (#308)
ahouseholder Sep 27, 2023
3e4b72c
Move project meta-docs from main repo into Github wiki (#320)
ahouseholder Sep 27, 2023
73038aa
fix broken link in README.md
ahouseholder Sep 27, 2023
ea4d795
add drop column importance (#327)
ahouseholder Oct 10, 2023
338cc45
Add print-site plugin to restore all-in-one page feature (#338)
ahouseholder Oct 10, 2023
f45e651
Add new json schemas for decision points and dp groups (#340)
ahouseholder Oct 16, 2023
c853ebf
Add SSVC python module (#342)
ahouseholder Oct 16, 2023
798ff57
add adr and templates (#341)
ahouseholder Oct 16, 2023
e2583ec
Add python decision points for critical software, high value assets, …
ahouseholder Oct 17, 2023
bb9ca7b
add ADR proposals for decision point versioning. (#350)
ahouseholder Oct 27, 2023
9f3abdb
Add Decision Point Group Versioning ADRs (#368)
ahouseholder Nov 7, 2023
ae71377
Add build steps to python-app.yml (#371)
ahouseholder Nov 7, 2023
292a977
Add CVSS-based (v1, v2, v3) decision points as python classes (#343)
ahouseholder Nov 7, 2023
5f22632
Add CWE-PoC list file (#376)
koscinv Nov 9, 2023
621ce0f
Policy Generator tool, first pass (#365)
ahouseholder Nov 9, 2023
a31c658
Reorganize HowTo section (#379)
ahouseholder Nov 9, 2023
0fecedf
Tool to auto populate documentation examples for decision point objec…
ahouseholder Nov 14, 2023
045c2c6
Check outcome weights cardinality and sum to 1 (#387)
ahouseholder Nov 14, 2023
ba72fce
Add CVSSv4 Decision Points (#377)
ahouseholder Nov 17, 2023
df1542b
add ADR about excluding examples from object descriptions (#391)
ahouseholder Nov 17, 2023
806b1ce
fix runtime complexity bug (#397)
ahouseholder Dec 12, 2023
7a4184c
two small typofixes (#396)
ahouseholder Dec 12, 2023
177fb5a
Add grid to homepage (#399)
ahouseholder Jan 23, 2024
86da468
pin versions in requirements.txt (#400)
ahouseholder Jan 23, 2024
ad87d9b
Create dependabot.yml
ahouseholder Jan 23, 2024
2b8b3f8
Merge pull request #402 from CERTCC/add-dependabot-config
sei-vsarvepalli Jan 30, 2024
ab9d74f
Bump mkdocs-material from 9.5.4 to 9.5.6 (#410)
dependabot[bot] Jan 30, 2024
2c18882
Bump jsonschema from 4.19.2 to 4.21.1 (#408)
dependabot[bot] Jan 30, 2024
c2a0dd1
Bump pandas from 2.1.2 to 2.2.0 (#406)
dependabot[bot] Jan 30, 2024
14c85e0
Bump mkdocs-include-markdown-plugin from 6.0.3 to 6.0.4 (#407)
dependabot[bot] Jan 30, 2024
f46d79c
Add GH actions to dependabot config
ahouseholder Jan 30, 2024
033650d
Bump networkx from 3.1 to 3.2.1 (#409)
dependabot[bot] Jan 30, 2024
473bfb3
Merge pull request #411 from CERTCC/dependabot-add-gh-actions
sei-vsarvepalli Jan 30, 2024
03291f7
Bump mkdocs-table-reader-plugin from 2.0.3 to 2.1.0 (#413)
dependabot[bot] Jan 30, 2024
6c67351
Bump thefuzz from 0.20.0 to 0.22.1 (#414)
dependabot[bot] Jan 30, 2024
130fbf4
Bump actions/upload-pages-artifact from 2 to 3 (#421)
dependabot[bot] Jan 30, 2024
43c5250
Bump actions/deploy-pages from 2 to 4 (#422)
dependabot[bot] Jan 30, 2024
7663827
Bump dataclasses-json from 0.6.1 to 0.6.3 (#415)
dependabot[bot] Jan 30, 2024
bd80c38
Bump actions/configure-pages from 3 to 4 (#419)
dependabot[bot] Jan 30, 2024
e43d685
Bump actions/checkout from 3 to 4 (#420)
dependabot[bot] Jan 30, 2024
7812ab6
Bump actions/setup-python from 3 to 5 (#418)
dependabot[bot] Jan 30, 2024
fb4a20c
Bump scikit-learn from 1.3.2 to 1.4.0 (#416)
dependabot[bot] Jan 30, 2024
84cf846
Bump mkdocstrings from 0.23.0 to 0.24.0 (#417)
dependabot[bot] Jan 30, 2024
85f8d18
Improve Reference section intro pages (#423)
ahouseholder Feb 5, 2024
a90b7a0
Revise topics/ home page (#424)
ahouseholder Feb 5, 2024
c4060e2
Add OutcomeGroup for TheParanoids PrioritizedRiskRemediation (#425)
ahouseholder Feb 5, 2024
ee1a31f
Add OutcomeGroup for CISA's customized version of SSVC (#426)
ahouseholder Feb 5, 2024
b6f1164
Bump mkdocs-bibtex from 2.11.0 to 2.12.0 (#432)
dependabot[bot] Feb 5, 2024
5d1d11e
Bump dataclasses-json from 0.6.3 to 0.6.4 (#433)
dependabot[bot] Feb 5, 2024
93bc3c2
Bump mkdocs-material from 9.5.6 to 9.5.7 (#434)
dependabot[bot] Feb 5, 2024
5220cf2
Bump actions/upload-artifact from 3 to 4 (#437)
dependabot[bot] Feb 5, 2024
6d5391c
Bump mkdocstrings-python from 1.7.3 to 1.8.0 (#436)
dependabot[bot] Feb 5, 2024
e5567ee
Bump mkdocs-material-extensions from 1.3 to 1.3.1 (#435)
dependabot[bot] Feb 5, 2024
046cbb3
Add CISA custom decision points (#427)
ahouseholder Feb 5, 2024
20a9c04
Add acuity_ramp.md to HowTo section (#429)
ahouseholder Feb 5, 2024
9f516b3
Revise compound decision points documentation (#428)
ahouseholder Feb 5, 2024
524ad63
Realign Safety decision points IEC 61508 (#439)
ahouseholder Feb 7, 2024
2ec5f04
remove abbreviated format
ahouseholder Feb 9, 2024
8dd7877
move asset management to topics from howto
ahouseholder Feb 9, 2024
3f8b91e
Merge pull request #453 from CERTCC/449-move-ssvc-and-asset-managemen…
sei-vsarvepalli Feb 9, 2024
c674ba2
Bump mkdocs-material from 9.5.7 to 9.5.9 (#456)
dependabot[bot] Feb 12, 2024
58bf629
Update Exploitation:PoC definition (#442)
ccullen-cert Feb 13, 2024
f3d3abb
merge report credibility description with its decision point page (#446)
ahouseholder Feb 13, 2024
b4c9622
unlink text in changelog.md (#452)
ahouseholder Feb 13, 2024
2ae5cf5
ADRs for Decision Points and Outcomes as ordered sets (#440)
ahouseholder Feb 13, 2024
5f487fb
ADR: Outcome sets are separate from decision point group (tree) ident…
ahouseholder Feb 13, 2024
e01f6a5
Update communicating_results.md
ahouseholder Feb 13, 2024
440c23b
add mkdocs group to dependabot.yml (#457)
ahouseholder Feb 13, 2024
e559355
Merge pull request #451 from CERTCC/remove-abbreviated-format
j--- Feb 14, 2024
25e99f6
Bump site copyright (#464)
ccullen-cert Feb 14, 2024
363489b
Link coordinator-specific decision points from coordination_decisions…
laurie-tyz Feb 14, 2024
a8a8da9
Fix broken links (#443)
ahouseholder Feb 15, 2024
529b779
Create link_checker.yml (#465)
ahouseholder Feb 15, 2024
ad38ddb
fix how we load csv files (#470)
ahouseholder Feb 15, 2024
ab84172
add linkchecker status badge to README.md
ahouseholder Feb 15, 2024
e6cb9d5
Update README.md
ahouseholder Feb 15, 2024
ad427b3
Add building block analogy explainer (#447)
ahouseholder Feb 15, 2024
6f9ac8b
revise index.md (#469)
ahouseholder Feb 17, 2024
4aff9d7
expand SSVC acronym in site name (#474)
ahouseholder Feb 17, 2024
06a943b
Add community engagement links (#468)
ahouseholder Feb 17, 2024
da8f6cd
Make link_checker.yml run automatically on push to main (#471)
ahouseholder Feb 17, 2024
6633796
Bump the mkdocs group with 1 update (#477)
dependabot[bot] Feb 19, 2024
6639fc5
Bump scikit-learn from 1.4.0 to 1.4.1.post1 (#478)
dependabot[bot] Feb 19, 2024
57df11e
Human impact change proposal (#476)
sei-bkoo Feb 19, 2024
054789b
make safety table formats look better (#479)
ahouseholder Feb 20, 2024
eecfa08
Add topo sort to csv analyzer and policy generator (#473)
ahouseholder Feb 20, 2024
cac6e34
reorder howto section nav (#484)
ahouseholder Feb 21, 2024
8b83b63
Consolidate stakeholder specific decision model content into individu…
ahouseholder Feb 23, 2024
5c1c1ee
Add _Establish Governance_ to _Prepare_ step of bootstrap process des…
ahouseholder Feb 23, 2024
2c84da0
add link to github tips wiki page (#491)
ahouseholder Feb 23, 2024
5915548
Reorder HowTo and Understanding in site nav (#490)
ahouseholder Feb 23, 2024
518c4b7
Bump the mkdocs group with 1 update (#498)
dependabot[bot] Feb 26, 2024
48961a0
Bump pandas from 2.2.0 to 2.2.1 (#499)
dependabot[bot] Feb 26, 2024
5ce8321
add initial draft of ADR (#492)
j--- Feb 27, 2024
2590cad
Ccullen cert patch 2 (#512)
ccullen-cert Feb 28, 2024
a805e67
SSVC Calculator minor updates (#513)
sei-vsarvepalli Feb 29, 2024
ea2b900
Add Calculator blurb to `Learning SSVC` (#515)
ahouseholder Feb 29, 2024
22c7870
add google analytics
ahouseholder Mar 1, 2024
44c0dbd
add cookie consent prompt
ahouseholder Mar 1, 2024
d5fd9e4
update copyright year(s)
ahouseholder Mar 1, 2024
5da4ead
Add Google Analytics (#517)
sei-vsarvepalli Mar 1, 2024
5ef7125
Bump the mkdocs group with 3 updates (#521)
dependabot[bot] Mar 4, 2024
7007da9
Display updates for iframe (#520)
sei-vsarvepalli Mar 4, 2024
5507f11
Copy edits & punch list (#524)
ahouseholder Mar 4, 2024
0213b6d
Update references in Risk Tolerance (#525)
ahouseholder Mar 5, 2024
27f9bce
Fix latex rendering on page load (#527)
ahouseholder Mar 5, 2024
eb09821
Inline refs (#526)
ahouseholder Mar 5, 2024
d093301
draft of update for cvss v4 (#528)
j--- Mar 5, 2024
606accd
Update README.md (#518)
ahouseholder Mar 8, 2024
39dae4f
Remove WIP disclaimer from home page (#507)
ccullen-cert Mar 8, 2024
4f0ba5c
fixes #531
ahouseholder Mar 8, 2024
958d127
change intro line in to LICENSE
ahouseholder Mar 8, 2024
da34d5d
Fix license link in CONTRIBUTING.md (#532)
sei-vsarvepalli Mar 8, 2024
d5f68d6
Set up static site deploy from publish branch (#533)
ahouseholder Mar 8, 2024
07d0e2c
Update enumerating_stakeholders.md (#535)
cgyarbrough Mar 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 33 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# These rules follow a last-match behavior.

# default (if nothing else matches)
* @ahouseholder @sei-vsarvepalli @cgyarbrough

# any markdown file in doc
/doc/**/*.md @ahouseholder @cgyarbrough @sei-vsarvepalli @j---

# any markdown file in docs
/docs/**/*.md @ahouseholder @cgyarbrough @sei-vsarvepalli @j---

# architecture decision records
/docs/adr/*.md @ahouseholder @cgyarbrough @sei-vsarvepalli @j---

# ssvc-calc, wherever it lives
ssvc-calc/ @sei-vsarvepalli @ahouseholder

# source code
/src/ @ahouseholder @sei-vsarvepalli
*.py @ahouseholder
*.js @sei-vsarvepalli

# data
/data/ @sei-vsarvepalli @ahouseholder
/data/csvs @ahouseholder @j---
/data/schema @sei-vsarvepalli
/data/schema_examples @sei-vsarvepalli

# website config
mkdocs.yml @ahouseholder

# github setup
/.github/ @ahouseholder @sei-vsarvepalli
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
name: Bug report
about: Create a report to help us improve
title: Add a brief title for your report here
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Platform details**
Include any relevant details like OS, browser, versions, etc.

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: Add a concise title for your request
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Question
about: Ask the SSVC team a question
title: Add a concise title for your question
labels: question
assignees: ''

---

_Note:_ Questions for the SSVC team can be asked here in the form of an issue. More general questions directed at the SSVC user community
might be a better fit in the [Q&A](https://github.com/CERTCC/SSVC/discussions/categories/q-a) category of our
[Discussions](https://github.com/CERTCC/SSVC/discussions) area.
23 changes: 23 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
groups:
mkdocs:
patterns:
- "mkdocs*"
update-types:
- "minor"
- "patch"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

62 changes: 62 additions & 0 deletions .github/workflows/deploy_site.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Runs on pushes targeting specific branch(es)
push:
branches:
- publish


# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Build Site
run: |
mkdocs build --verbose --clean --config-file mkdocs.yml

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: 'site'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
45 changes: 45 additions & 0 deletions .github/workflows/link_checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Link Checker
on:
push:
branches:
# run on any push to main
- main
pull_request:
paths:
# run on any PR that modifies a markdown file
- '**/*.md'
# run on any PR that changes this workflow
- .github/workflows/linkchecker.yml
# let us trigger it manually
workflow_dispatch:

jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
python -m pip install linkchecker

- name: Install our python stuff
run: |
python -m pip install -e src

- name: Build Site
run: |
mkdocs build --verbose --clean --config-file mkdocs.yml

- name: Check links
run: |
linkchecker site/index.html

45 changes: 45 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python

name: Python application

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-tags: true
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest build
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
# - uses: psf/black@stable
- name: Test with pytest
run: |
pytest
- name: Build
run: |
python -m build src
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: ssvc
path: src/dist/ssvc-*.tar.gz
retention-days: 14
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,4 @@ dmypy.json
# Pyre type checker
.pyre/
ssvc2-applier-wip.xlsx
_version.py
40 changes: 9 additions & 31 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,17 @@
# How to contribute

Thanks for your help on improving our stakeholder-specific vulnerability categorization work. To account for different stakeholder perspectives, we benefit from a diverse group of contributors.
Thanks for your help on improving our stakeholder-specific vulnerability categorization work.
To account for different stakeholder perspectives, we benefit from a diverse group of contributors.

## Where to contribute
Please see our project documentation in the [wiki](https://github.com/CERTCC/SSVC/wiki) that accompanies this repository
for more information on how you can contribute to the project.

This repository contains both a written document with the English-langauge spec, and some code for automating application of SSVC. Contributions to these two parts of the project look different. We are focusing on getting the English right first, so we know what code to write.
Right now we don't have any plans for translations, but if you have interest in that let us know.
## Licenses

# Contributing to the document

The English text lives in the `doc` [subfolder](https://github.com/CERTCC/SSVC/tree/main/doc).
We welcome any issues from anyone in the community, so we can discuss them and improve SSVC. If you have a suggestion, please create an issue.
In general, please create an issue before making a pull request to submit a change, except in the case of fixing a small typo, etc.
Please check that your suggestion does not overlap with existing [issues](https://github.com/CERTCC/SSVC/issues) (including [closed ones](https://github.com/CERTCC/SSVC/issues?q=is%3Aissue+is%3Aclosed+))

In the `doc` folder, please see the `style-guide`, `crossref-how-to`, and `reference-how-to` for how to keep any suggestions or commits aligned with our style consistently.

# Contributing code

The tools for working with SSVC live in the `src` [subfolder](https://github.com/CERTCC/SSVC/tree/main/src).

We have limited tooling at the moment. The expectation is that these will mostly be flexible helper-type scripts and plug-ins. Therefore, interoperability is important.
Where the code implements or directly references some aspect of the English document, please make that linkage explicit. We use config files stored in `data` to to prevent code in `src` from having fragile dependencies on the English doc.
We would like to minimize manual change management, but at the very least we need to document where changes in the document need to result in changes to code.
Information likely to change based on changes to the English should go in config files to be stored in the `data` [subfolder](https://github.com/CERTCC/SSVC/tree/main/data). Code in the `src` folder should (as robustly as plausible) be reading that data in.

The process is similar to that for the doc, though the language is different. Please create issues before making pull requests.
Pull requests on code should be clear about what they've changed and what you've done. Thanks in advance!

# Licenses

- The license for all code in the repository is [here](https://github.com/CERTCC/SSVC/blob/main/LICENSE)
- The license for all English writing in the repository is [here](https://github.com/CERTCC/SSVC/blob/main/doc/version_1/900_license.md)
See [LICENSE](https://github.com/CERTCC/SSVC/blob/main/LICENSE)

# Questions
## Questions

If you have any questions, a message to j--- should work, or tweet @zmanion or @\_\_adh\_\_.
If you have any questions, an [issue](https://github.com/CERTCC/SSVC/issues) or
[discussion](https://github.com/CERTCC/SSVC/discussions) is the best way to get in touch with us.

3 changes: 1 addition & 2 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

----
The following statement applies to documents contained in this repository, and can also be found in each
individual document.
The following statement applies to PDF, markdown, and text documents contained in this repository.

This material is based upon work funded and supported by the Department of Defense
under Contract No. FA8702-15-D-0002 with Carnegie Mellon University for the operation
Expand Down
Loading