Advisories are to be published by pushing a new file to https://github.com/EGI-Federation/SVG-advisories.
https://advisories.egi.eu is built using GitHub pages.
Source files are in Markdown format, and Jekyll will be used to generate the static site.
New site builds are triggered automatically whenever the repository is updated.
It can take up to a few minutes to see the changes being published.
Only selected people having write access to this repository can publish advisories.
Advisories are stored in subdirectories named as the current year.
Advisory-SVG-YYYY-XX-Template.md to create a file in the
destination directory, renaming using the advisory name (i.e.
Advisory-SVG-YYYY-XX.md)Advisory-SVG-YYYY-XXhttps://advisories.egi.eu
/Advisory-SVG-YYYY-XX will mean that an advisory stored in the
2022 folder will be accessible at this URL:
https//advisories.egi.eu/Advisory-SVG-YYYY-XXIn case an advisory should be reachable by multiple URLs, like for an advisory covering multiple CVEs, it’s possible to specify some URL paths that will be redirected automatically to the primary URL of the advisory.
This can be achieved by using the redirect_from attribute:
---
title: Advisory-SVG-CVE-XXXX-XXXX
permalink: /Advisory-SVG-CVE-XXXX-XXXX
redirect_from:
- /Advisory-SVG-CVE-XXXX-YYYY
- /Advisory-SVG-XXXXXZZZZ
---
This will lead to having the advisory reachable by the following URLs:
https://advisories.egi.eu/Advisory-SVG-CVE-XXXX-XXXX the permalink and the
main URL, other links will redirect to this onehttps://advisories.egi.eu/Advisory-SVG-CVE-XXXX-YYYY redirected to
https://advisories.egi.eu/Advisory-SVG-CVE-XXXX-XXXXhttps://advisories.egi.eu/Advisory-SVG-XXXXXZZZZ redirected to
https://advisories.egi.eu/Advisory-SVG-CVE-XXXX-XXXXAn advisory template is available, see Advisory-SVG-YYYY-XX-Template.md.
It’s possible to add files using different ways, by using the GitHub web interface, using a cloned repository or using an online IDE.
The standard GitHub web interface is the most simple, but the editor is very basic.
The GitHub.dev web IDE provides a more advanced editor, and its usage is similar to what you would do using a local IDE. It’s slightly more complex but more powerful.
While the next sections documents pushing files directly to the
mainbranch, it is also possible to make use of Pull Requests so that changes can be reviewed and approved before being pushed to production.
It’s possible to prepare the file locally and then upload it to GitHub once it
is ready. Once you have prepared the local file (see the
advisory template)
that should be named Advisory-SVG-YYYY-XX.md, you can upload it by:
Add file -> Upload files at the top of the screenCommit messageCommit changesAnother solution is to edit it online. It can be done in the following way:
Add file -> Create new file at the top of the screenAdvisory-SVG-YYYY-XX.mdCommit messageCommit changesIf needed edit the relevant index file to reference the new advisory.
Editing the index file can be done in a similar way, by:
Commit messageCommit changesAnother solution is to edit it online using the GitHub.dev web IDE. It’s an IDE based on Microsoft Visual Code.
It can be done in the following way:
Advisory-SVG-YYYY-XX-Template.md => CopyPasteRename. Name the file
Advisory-SVG-YYYY-XX.md.Source control view in the left panel, you should see a GIT icon
with the number of changed filesChanges section, you can review the changes that are to be pushedCommit and push button (with a checked icon), you can commit and push
all the changes at once.