mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-30 02:37:17 +00:00
chg: [mkdocs] add the contributing part
This commit is contained in:
parent
62070573e1
commit
197aafdf15
2 changed files with 14 additions and 0 deletions
4
tools/mkdocs/REQUIREMENTS
Normal file
4
tools/mkdocs/REQUIREMENTS
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
validators
|
||||||
|
|
||||||
|
mkdocs-git-committers-plugin
|
||||||
|
mkdocs-rss-plugin
|
|
@ -33,6 +33,15 @@ Clusters serve as an open and freely accessible knowledge base, which can be uti
|
||||||
|
|
||||||
## Publicly available clusters
|
## Publicly available clusters
|
||||||
|
|
||||||
|
"""
|
||||||
|
index_contributing = """
|
||||||
|
|
||||||
|
# Contributing
|
||||||
|
|
||||||
|
In the dynamic realm of threat intelligence, a variety of models and approaches exist to systematically organize, categorize, and delineate threat actors, hazards, or activity groups. We embrace innovative methodologies for articulating threat intelligence. The galaxy model is particularly versatile, enabling you to leverage and integrate methodologies that you trust and are already utilizing within your organization or community.
|
||||||
|
|
||||||
|
We encourage collaboration and contributions to the [MISP Galaxy JSON files](https://github.com/MISP/misp-galaxy/). Feel free to fork the project, enhance existing elements or clusters, or introduce new ones. Your insights are valuable - share them with us through a pull-request.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
galaxy_output = {}
|
galaxy_output = {}
|
||||||
|
@ -98,6 +107,7 @@ for f in galaxies_fnames:
|
||||||
continue
|
continue
|
||||||
galaxy_output[cluster_filename] += f' | `{meta}` |{value["meta"][meta]}|\n'
|
galaxy_output[cluster_filename] += f' | `{meta}` |{value["meta"][meta]}|\n'
|
||||||
|
|
||||||
|
index_output += index_contributing
|
||||||
|
|
||||||
with open(os.path.join(pathSite, 'index.md'), "w") as index:
|
with open(os.path.join(pathSite, 'index.md'), "w") as index:
|
||||||
index.write(index_output)
|
index.write(index_output)
|
||||||
|
|
Loading…
Reference in a new issue