Skip to main content

Common Types

This document provides a reference for common types used in the configuration and operation of the system.

Agent

An agent can be specified using:

  • local: The primary mission control instance.
  • uuid: The UUID of an agent.
  • name: The name of an agent.
  • all: Match all/any agents.

Cron

# ┌───────────── minute (0–59)
# │ ┌───────────── hour (0–23)
# │ │ ┌───────────── day of the month (1–31)
# │ │ │ ┌───────────── month (1–12)
# │ │ │ │ ┌───────────── day of the week (0–6) (Sunday to Saturday)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
0 * * * *
ShortcutDescriptionEquivalent
@every Duratione.g., @every 5m
@yearly (or @annually)Run once a year at midnight of 1 January0 0 1 1 *
@monthlyRun once a month at midnight of the first day of the month0 0 1 * *
@weeklyRun once a week at midnight on Sunday0 0 * * 0
@daily (or @midnight)Run once a day at midnight0 0 * * *
@hourlyRun once an hour at the beginning of the hour0 * * * *

Duration

Valid time units are s, m, h, d, w, y. For example:

  • 1m15s
  • 1h5m
  • 23h
  • 1d8h
  • 1w6d8h
  • 19w0d8h

Size

Sizes are strings with a unit suffix, e.g., 100, 100b, 10mb. Valid size units are kb, mb, gb, tb.

Icon

One of the icons in the flanksource-icons project.

e.g.

  • kubernetes
  • Kubernetes::Pod
  • argo
  • aws-ebs-volume

Match Pattern

Pattern matching supports the following operations:

  • * - Match anything
  • Added,Deleted - Match either Added or Deleted
  • Added*: Match anything starting with Added.
  • *Terminated: Match anything ending with Terminated.
  • !PodCrashLooping: Match everything except PodCrashLooping.