Last modified by Simon Urli on 2026/11/13 10:24

Show last authors
1 The settings of the [[Security Advisory Application>>doc:documentation.extensions.admin.security-advisory.WebHome]] are in "Administer Wiki" > "Other" > "Security Advisory", which requires admin right on the wiki.
2
3 {{image reference="security-advisory-administration.png" size="extra" alt="The Security Advisory entry of the Other category in the wiki administration, opening the Data migration and GitHub users mapping sections"/}}
4
5 |=Section |=Purpose
6 |Data migration|Moves the advisories still using the legacy data model to the current one: impacted packages in dedicated objects, and the CVE identifier. Shows how many advisories need it, and runs as a background job when you click "Migrate advisories". Safe to run several times.
7 |GitHub users mapping|Lists the GitHub users found in imported advisories, to [[map them to XWiki users>>doc:documentation.extensions.admin.security-advisory.map-github-users.WebHome]] or ignore them.
8 |Publish disclosed advisories|Publishes in the disclosed entries space the disclosed advisories that are not there yet: those disclosed before the application published them, and those imported from GitHub as already published. Shows how many there are, and runs as a background job when you click "Publish disclosed advisories". Warns when the disclosed entries space cannot be viewed by all users.
9 |GitHub Tokens|One token per GitHub organization, used to import the advisories of its repositories, as [[set up>>doc:documentation.extensions.admin.security-advisory.set-up-application.WebHome]].
10 |Configuration|The settings below.
11
12 == Configuration ==
13
14 |=Field |=Description |=Default
15 |Unit of the duration to use for the embargo computation|Unit of the embargo duration: ##minutes##, ##hours##, ##days##, ##weeks##, ##months##, or any other Java ##ChronoUnit## name.|##days##
16 |Duration value to use for the embargo computation|Delay of the [[embargo date>>doc:documentation.extensions.user.security-advisory.WebHome||anchor="HEmbargoDate"]], in the unit above.|##90##
17 |The group of targeted users for advisories notifications|Group whose members receive the [[advisory notifications>>doc:documentation.extensions.user.security-advisory.notifications.WebHome]].|##XWiki.XWikiAdminGroup##
18 |Security entries space location|Space holding the advisories.|##SecurityAdvisoryApplication.SecurityEntries##
19 |Disclosed entries space location|Space holding the public copies of the disclosed advisories. It must not be inside the security entries space.|##SecurityAdvisoryApplication.DisclosedEntries##
20 |Importer user|User set as author of the imported advisories.|##XWiki.Admin##
21 |Github Token|Not used by the import, which takes the tokens of the "GitHub Tokens" section.|(empty)
22 |Github Repositories|Repositories whose advisories are imported, each as ##organization/repository## (##xwiki/xwiki-platform##) or as a whole organization (##xwiki##).|(empty)
23
24 == Scheduler Jobs ==
25
26 The application runs three daily jobs, listed in the Scheduler application.
27
28 |=Job |=Runs at |=Does
29 |SecurityAdvisoryGithubImporter|18:00|Imports the advisories of the "Github Repositories".
30 |SecurityAdvisoryEmbargoDateComputer|20:00|Computes the embargo date of the announced advisories whose patched versions are all released.
31 |SecurityAdvisoryDisclosableComputer|12:00|Sets the "Disclosable" status on the announced advisories whose embargo date is reached.
32
33 == Single Advisory Import ==
34
35 The page ##SecurityAdvisoryApplication.Code.SingleAdvisoryImportPage##, available to administrators only, imports one GitHub advisory without waiting for the daily import. Enter its "Advisory URL", such as ##https:~/~/github.com/xwiki/xwiki-platform/security/advisories/GHSA-xxxx-xxxx-xxxx##, and click "Import advisory": the imported advisory opens. Its organization needs a token in the "GitHub Tokens" section.

Get Connected