Skip to content
Open dashboard (opens in a new tab)

Scans

Schedule scans

A schedule repeats one scan’s configuration: the same application, authentication, duration and checks, at the cadence you choose. Each run appears on the Scans page like any other scan, with Schedule as its trigger.

In the dashboard: ScansSchedules

Open Schedules (opens in a new tab)

You can schedule a scan when you start it, turn a completed scan into a schedule, or schedule many applications at once.

  1. Select New scan and pick the application.
  2. Set the authentication, duration and checks the way every run should use them.
  3. Open Schedule and turn on Repeat this scan on a schedule.
  4. In the Scan planner, choose the cadence, then select Use this schedule.
  5. Select Schedule scan.

The scan does not run now. It first runs at the time you chose. See Start a scan.

If a scan ran the way you want, repeat it.

  1. On the Scans page, open the … menu on a completed run and select Schedule this scan. On the run’s own page, the same item is in the … menu, and Scan parameters has a Schedule this scan button.
  2. Choose the cadence in the Scan planner.
  3. Select Save schedule.

The run becomes the base of the schedule. Its header shows Base of a schedule.

A run can be scheduled when it has completed, is not archived, and does not already have a schedule. Login checks and AI endpoint scans do not run on a schedule.

The Scan planner dialog set to Weekly, Tuesday, 03, with the next scan previewed as Tuesday, November 24, 3 AM EST
The Scan planner previews when the next scan will run.
Field Options
Period Daily, Weekly, Biweekly, Monthly or Quarterly.
Day of week For weekly and biweekly schedules.
Day of month For monthly and quarterly schedules. If you pick the 29th, 30th or 31st, months without that day are skipped.
Time The time of day the scan starts.

Quarterly schedules run in January, April, July and October.

The line under the fields previews the next run, with its timezone. Saving turns the schedule on.

To put many applications on one cadence:

  1. Select Applications in the rail.
  2. Tick the applications. To find the ones with no schedule, set the Schedule filter to Not scheduled.
  3. Select Schedule selected.
  4. Choose the cadence in the Scan planner and confirm.

Each application repeats its latest completed scan: its authentication, maximum duration and options. You can schedule up to 50 applications at a time.

NightVision then lists the result for every application:

The Scheduled applications dialog: two applications scheduled and one not scheduled because it never completed a scan
The result names each application that was scheduled and each that was not, with the reason.

An application is skipped, and the dialog says why, when:

Reason shown What to do
never completed a scan Run one scan to completion first. The schedule needs a scan to repeat.
already scheduled Nothing. Edit the existing schedule if you want a different cadence.
private, so scans run from the CLI Run scans from your network. See Private applications.
your role cannot start scans in its project Ask for access to the project.
your plan does not include scheduling Ask an Org Admin about the plan.
it uses a sign-in from another project Start a new scan of the application with an authentication from its own project, then schedule that.

Repositories cannot be scheduled.

Select Scans in the rail, then the Schedules tab.

The Schedules tab with six schedules, their cadence and timezone, next run, authentication, and an Enabled switch on each
The Schedules tab lists every schedule in the projects you are viewing.
Column Meaning
Application The application, and whether it is a web or API application. Select it to open the schedule.
Project The application’s project.
Cadence How often it runs and at what time, with the schedule’s timezone under it.
Next run When it runs next. Will start marks a schedule that has not run yet. Schedule disabled means no runs start.
Authentication The authentication each run signs in with.
Enabled The switch that turns the schedule on or off. Not run yet marks a schedule that is waiting for its first run.
By Who created it.

Use Search schedules to find one, and All, Enabled or Disabled to narrow the list.

On the Applications page, the Schedule column shows each application’s schedule, and the Schedule filter separates scheduled applications from the rest.

Select a schedule to open its page.

The schedule page for payments-api, with the runs it started on the left and Next run and Base scan panels on the right
A schedule's page lists the runs it started, newest first.
  • The table lists every run the schedule started, with its status, what it found and how many checks ran. Select a run to open it.
  • Next run shows the date and time, how it repeats, and the schedule’s timezone.
  • Base scan shows the application, the authentication, and a link to Open base scan. Each run repeats that scan’s configuration.

To change what a schedule scans with, such as a different authentication or duration, start a new scan with those settings and schedule it, then disable the old schedule.

Each schedule keeps the timezone it was saved in, and its times show in that timezone everywhere. A schedule saved as 02:00 Eastern Time runs at 02:00 Eastern Time for everyone who looks at it, and it follows daylight saving changes in that zone.

  • A new schedule is saved in your browser’s timezone. The Scan planner says which timezone the times are in.
  • Editing a schedule keeps its timezone.
  • An older schedule with no recorded timezone shows in your timezone and says Default, not chosen. Edit and save it to record yours.

A freeze window pauses a project’s scheduled scans for the dates you choose. Use one for a release freeze, a month-end close or a maintenance period.

A scheduled run that falls inside a window does not start, and the schedule’s next run moves past the window. Scans that someone starts from the dashboard, the CLI or a pipeline still run.

  1. Select Projects in the rail and open the project.
  2. Select the Schedule freeze windows tab.
  3. Select Add schedule freeze window.
  4. Pick a shortcut such as Rest of the week or Next 7 days, or set the Start date and End date. Add a description if you want one.
  5. Select Add window.
The Add schedule freeze window dialog with shortcut buttons, start and end dates, and a description
Shortcuts fill in the dates for common windows.

The dates are in your timezone. The tab lists each window as Active, Upcoming or Ended.

The Schedule freeze windows tab on a project, with one active window and one upcoming window
A project's freeze windows. Ended windows are hidden until you ask for them.

To change or remove a window, open its … menu and select Change dates or Remove. Only the project owner can add, change or remove freeze windows. See Projects.

On the Schedules tab, use the Enabled switch or the … menu. On a schedule’s page, use the buttons in the header.

  • Disable schedule stops new runs. Runs it already started are kept. Select Enable schedule to turn it back on.
  • Edit in Scan planner, or Edit schedule on the schedule’s page, changes the cadence and time.

Deleting the scan that a schedule is based on removes the schedule too.

Private applications cannot be scheduled, because NightVision Cloud cannot reach them. Their scans run through the CLI on a machine in your network.

To scan a private application on a schedule, run nightvision scan from your own scheduler or pipeline. See Scan private networks and Integrations.

To Call
List schedules GET /api/v1/schedules/
Read, change or delete one GET, PUT or DELETE /api/v1/schedules/{id}/
List the runs a schedule started GET /api/v1/schedules/{id}/scans/
Schedule many applications POST /api/v1/schedules/bulk/
List a project’s freeze windows GET /api/v1/projects/{id}/freeze-windows/
Add or remove a freeze window POST /api/v1/projects/{id}/freeze-windows/add/ or /drop/

See Scans and schedules in the API.