diff --git a/src/i18n/locales/en.json b/src/i18n/locales/en.json index 9c9b606e3..a83314116 100644 --- a/src/i18n/locales/en.json +++ b/src/i18n/locales/en.json @@ -539,6 +539,12 @@ "snyk": "Snyk (Beta)", "vuln_sources": "Vulnerability Sources", "nvd": "NVD", + "nvd_enable_mirroring_via_api": "Enable mirroring via API", + "nvd_why_enable_api_help": "Why should I enable API mirroring?", + "nvd_request_api_key_help": "How do I get an API key?", + "nvd_api_last_modification": "Last Modification (UTC)", + "nvd_api_last_modification_help": "After mirroring the NVD database once completely, all following mirror operations will only request data that was modified since its last successful execution.", + "nvd_api_last_modification_warning": "Changing the last modification datetime manually is generally not recommended, but may be used to force re-ingestion of NVD data. Note that due to a limitation in the NVD's REST API, only data for 120 consecutive days can be requested when a last modification datetime is configured. Resetting the last modification datetime will cause the entire NVD database to be re-mirrored.", "national_vulnerability_database": "National Vulnerability Database", "github_advisories": "GitHub Advisories", "osv_advisories": "Google OSV Advisories (Beta)", diff --git a/src/views/administration/vuln-sources/VulnSourceNvd.vue b/src/views/administration/vuln-sources/VulnSourceNvd.vue index e6353a50b..dfbcbae98 100644 --- a/src/views/administration/vuln-sources/VulnSourceNvd.vue +++ b/src/views/administration/vuln-sources/VulnSourceNvd.vue @@ -11,6 +11,8 @@ /> {{$t('admin.vulnsource_nvd_enable')}}
+ {{ $t('admin.vulnsource_nvd_desc') }} +
- Enable API + {{ $t('admin.nvd_enable_mirroring_via_api') }}

  - - Foobarbaz + {{ $t('admin.nvd_why_enable_api_help') }}

- +

+   + {{ $t('admin.nvd_request_api_key_help') }} +

+

  - - Foobarbaz + {{ $t('admin.nvd_api_last_modification_help') }} +

+

+   + {{ $t('admin.nvd_api_last_modification_warning') }}

-
- {{ $t('admin.vulnsource_nvd_desc') }}