Wiki source code of Security Advisory Application
Last modified by superadmin on 2026/11/23 22:53
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | The [[Security Advisory Application>>doc:extensions:Extension.Security Advisory Application.WebHome]] lets a security team track its advisories up to their disclosure, as described for [[its users>>doc:documentation.extensions.user.security-advisory.WebHome]]. An administrator sets it up so that advisories stay private until they are disclosed, imports them from GitHub, and provides the release dates its embargo dates are computed from. | ||
| 2 | |||
| 3 | {{plantuml}} | ||
| 4 | @startuml | ||
| 5 | |||
| 6 | left to right direction | ||
| 7 | cloud "GitHub repositories" as gh | ||
| 8 | package "Security entries space\n(security team only)" as sec | ||
| 9 | package "Disclosed entries space\n(everyone)" as pub | ||
| 10 | component "Release Notes Application" as rn | ||
| 11 | gh --> sec : daily import | ||
| 12 | rn --> sec : release dates\n(embargo date) | ||
| 13 | sec --> pub : disclosure\n(public copy) | ||
| 14 | @enduml | ||
| 15 | {{/plantuml}} | ||
| 16 | |||
| 17 | == Advisory Spaces == | ||
| 18 | |||
| 19 | The application uses two spaces, set in its [[configuration>>doc:documentation.extensions.admin.security-advisory.configuration.WebHome]]: | ||
| 20 | |||
| 21 | * the security entries space holds the advisories and must be viewable only by the security team; | ||
| 22 | * the disclosed entries space holds the public copies of the disclosed advisories and must be viewable by everyone. | ||
| 23 | |||
| 24 | == Release Dates == | ||
| 25 | |||
| 26 | The application reads the release dates of the patched versions, from which it computes the [[embargo dates>>doc:documentation.extensions.user.security-advisory.WebHome||anchor="HEmbargoDate"]], from the [[Release Notes Application>>doc:documentation.extensions.admin.release-notes.WebHome]], which is installed with it, and otherwise from the extension repositories, for Maven packages. | ||
| 27 | |||
| 28 | == GitHub Import == | ||
| 29 | |||
| 30 | Once a day, the application imports the security advisories of the GitHub repositories set by an administrator, with a GitHub token for each organization. | ||
| 31 | |||
| 32 | Administering the application: | ||
| 33 | |||
| 34 | * [[Set Up the Security Advisory Application>>doc:documentation.extensions.admin.security-advisory.set-up-application.WebHome]] restricts the spaces and configures the security group, the embargo duration and the GitHub import. | ||
| 35 | * [[Map GitHub Users to XWiki Users>>doc:documentation.extensions.admin.security-advisory.map-github-users.WebHome]] lets imported advisories get an assignee. | ||
| 36 | * [[Security Advisory Configuration>>doc:documentation.extensions.admin.security-advisory.configuration.WebHome]] describes every setting of the administration section. |