Sweep schedules

A Linter sweep schedule is a Linter configuration that defines the following:

  • Resource scope: The set of Foundry resources that will be swept according to schedule.
  • Rule scope: The set of rules that will be run against the resource scope.

Sweep schedules must belong to a space, and rules are run against Foundry resources in Projects that belong to that space. You can view, edit, or create a new Linter configuration from the Spaces tab under enrollment settings in Control Panel. The Linter configuration option in the Actions dropdown menu on a listed space can be used to configure sweep schedules.

The Actions dropdown on listed spaces showing the Linter configuration option.

The Linter configuration page lists existing sweep schedules. Here, you can see the status of recent sweeps and create new sweep schedules. Each schedule can be edited, paused, triggered, or deleted from the Actions dropdown.

A sample sweep schedule showing its status, actions, and recent sweeps

You can also see a detailed status of the 10 most recent sweeps by selecting Recent sweeps.

A sample list of sweep statuses showing start and end times and duration.

Edit a sweep schedule

Sweep schedule edit form

You can edit schedule metadata such as the name and description and also change the rule scope in the Edit sweep schedule page.

Rule scopes

Rule scopes allow users to define the rules that will be used by a sweep schedule. There are three ways to define the rule scope:

  • Rule Presets: A bundle of recommended rules that can be added in bulk. For example, adding the PIPELINE_COST_RULES preset would add all cost related rules.
  • Rules: You can multi-select specific rules to include in the rule scope.
  • Exclude Rules: You can specify rules to be removed from the sweep schedule.

The order of operations follows the order listed above: first, the rule presets are applied, then individual rules are added, and then excluded rules are removed from the rule scope.

Resource scope

The resource scope defines which Projects are within the scope of the sweep schedule. By default, all Projects in the current space are in scope for the sweep. Users can also reduce the scope to include only selected Projects.