Skip to content

Commit

Permalink
SECURITY.md (#538)
Browse files Browse the repository at this point in the history
* doc : SECURITY.md added

* fix : SECURITY.md added to version_check.py

* doc : CHANGELOG.md updated

* doc : minor edit in SECURITY.md titles
  • Loading branch information
sepandhaghighi authored Jun 16, 2024
1 parent ddac667 commit 0d5a7b4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Added
- `feature_request.yml` template
- `config.yml` for issue template
- `SECURITY.md`
### Changed
- Bug report template modified
- Diagrams updated
Expand Down
2 changes: 2 additions & 0 deletions Otherfiles/version_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@
PARAMS_ITEMS = ['PYCM_VERSION = "{0}"']
META_ITEMS = ['% set version = "{0}" %']
ISSUE_TEMPLATE_ITEMS = ["- PyCM {0}"]
SECURITY_ITEMS = ["| {0} | :white_check_mark: |", "| < {0} | :x: |"]
FILES = {
os.path.join("Otherfiles", "meta.yaml"): META_ITEMS,
"setup.py": SETUP_ITEMS, "README.md": README_ITEMS,
"CHANGELOG.md": CHANGELOG_ITEMS,
"SECURITY.md": SECURITY_ITEMS,
os.path.join("Document", "Document.ipynb"): DOCUMENT_ITEMS,
os.path.join("Document", "Example1_files", "cm1.html"): HTML_ITEMS,
os.path.join("Document", "Example1_files", "cm2.html"): HTML_ITEMS,
Expand Down
14 changes: 14 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Security policy

## Supported versions

| Version | Supported |
| ------------- | ------------------ |
| 4.0 | :white_check_mark: |
| < 4.0 | :x: |

## Reporting a vulnerability

Please report security vulnerabilities by email to [[email protected]](mailto:[email protected] "[email protected]").

If the security vulnerability is accepted, a dedicated bugfix release will be issued as soon as possible (depending on the complexity of the fix).

0 comments on commit 0d5a7b4

Please sign in to comment.