Query

scan_freeze_windows

Returns a list of scan freeze windows. Scan freeze windows prevent scans from running during specified time periods.

Arguments

offset: Int


limit: Int


Example

Query
query GetScanFreezeWindows($offset: Int, $limit: Int) {
  scan_freeze_windows(offset: $offset, limit: $limit) {
    items {
      id
      name
      description
      enabled
      timezone
      active_period {
        start_inclusive
        end_inclusive
      }
      schedule {
        time_slots {
          begin_day
          begin_time
          end_day
          end_time
        }
      }
      site_tree_selection {
        __typename
        id
      }
    }
    total_count
  }
}
Variables
{
  "limit": 10,
  "offset": 0
}
Result
{
  "data": {
    "scan_freeze_windows": {
      "items": [
        {
          "id": "1",
          "name": "Business hours",
          "description": "No scans while customers are most active",
          "enabled": true,
          "timezone": "Europe/London",
          "active_period": null,
          "schedule": {
            "time_slots": [
              {
                "begin_day": "mon",
                "begin_time": "09:00",
                "end_day": "fri",
                "end_time": "17:00"
              }
            ]
          },
          "site_tree_selection": [
            {
              "__typename": "ScanFreezeWindowSiteSelection",
              "id": "1"
            }
          ]
        },
        {
          "id": "2",
          "name": "Year-end change freeze",
          "description": "No scans of production sites over the holidays",
          "enabled": true,
          "timezone": "Europe/London",
          "active_period": {
            "start_inclusive": "2026-12-21",
            "end_inclusive": "2027-01-03"
          },
          "schedule": {
            "time_slots": [
              {
                "begin_day": "mon",
                "begin_time": "00:00",
                "end_day": "mon",
                "end_time": "00:00"
              }
            ]
          },
          "site_tree_selection": [
            {
              "__typename": "ScanFreezeWindowFolderSelection",
              "id": "2"
            }
          ]
        }
      ],
      "total_count": 2
    }
  }
}