Configure the scheduled job for updating NVD records

You can identify the repositories you want updated on a regular basis and then execute scheduled jobs to update national vulnerability database records on a nightly or weekly basis. You can also update the script or write your own scripts, as needed.

Before you begin

Roles required:
  • If you have the admin role, you can add repositories to the scheduled job.
  • If you have sn_vul.vulnerability_read, you can execute the scheduled job.
  • If you have sn_vul.vulnerability_write, you can edit the details of the scheduled job.

Procedure

  1. Navigate to Vulnerability > National > Repositories.
  2. For each NVD repository that you want to be automatically updated, change the Automatically update field to true.
  3. Navigate to Vulnerability > Administration > Integrations.
  4. Select the NIST National Vulnerability Database scheduled job.
    If a message appears at the top of the Scheduled Script Execution screen asking you to Switch to Vulnerability, click the link to do so.
  5. Modify the fields as needed.
    Table 1. Scheduled Script Execution - NIST National Vulnerability Database screen
    Field Description
    Name The name of the scheduled job.
    Active Whether the scheduled job is currently active. You can set up the parameters you want to use and deactivate the job if you do not want it to run for a specific time period.
    Run The frequency you want the job to run, Daily, Weekly, Periodically, etc. As noted below, subsequent fields are displayed or not based on your setting in this field.
    Day The day you want the scheduled job to run.

    If you selected Weekly in the Run field, this field displays the days of the week. If you selected Monthly in the Run field, this field displays the days of the month.

    Time The time you want the scheduled job to start.
    Integration script Select the script for pulling data from the data sources specified on the Vulnerability Integration Data Sources related list.
    Application ]Read only] The name of the application for which you are running the scheduled job.
    Repeat Interval If you selected Periodically in the Run field, this field displays the number of days and hours before the scheduled job runs again.
    Starting If you selected Periodically in the Run field, this field displays the dates and time to be used as the starting point for periodic updates.
    Conditional Select this if you want to add conditional parameters.
    Condition If you selected the Conditional check box, enter the conditions here.
    Report Processor Strategy Select the strategy you want to use to pull data and process the scheduled job.
    • Select Data Source Attachment if you want to pull data from the data sources specified on the Vulnerability Integration Data Sources related list using the script selected in the Integration script field.
    • Select Custom Report Processor to select a custom processor in the Report Processor script field.
    Report Processor script If you selected Custom Report Processor in the Report Processor Strategy field, select the script to be executed when the scheduled job runs.
  6. To save your changes, click Update.
  7. To run the scheduled job immediately, click Execute Now.