Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion canary-checker/docs/reference/1-git.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sidebar_custom_props:

Use a `gitProtocol` check to verify repository access with Git credentials.

```yaml file=<rootDir>/modules/canary-checker/fixtures/git/git_pull_push_pass.yaml title='git-protocol-check.yaml'
```yaml file=<rootDir>/modules/canary-checker/fixtures/git/git_pull_push_fail.yaml title='git-protocol-check.yaml'
```

<HealthCheck name="gitProtocol" rows={[
Expand Down
2 changes: 1 addition & 1 deletion canary-checker/docs/reference/1-pod.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags:

The Pod check creates a new pod and verifies that it can be reached via an Ingress

```yaml title="tcp.yaml" file=<rootDir>/modules/canary-checker/fixtures/k8s/pod_pass.yaml
```yaml title="tcp.yaml" file=<rootDir>/modules/canary-checker/fixtures/k8s/pod_fail_removed.yaml
```

<HealthCheck name="pod" connection="kubernetes" rows={[
Expand Down
2 changes: 1 addition & 1 deletion mission-control-chart
Submodule mission-control-chart updated 75 files
+12 −7 .github/workflows/agent-test.yml
+68 −0 .github/workflows/bump-chart-deps.yml
+20 −0 .github/workflows/kratos-migration-test.yml
+59 −21 .github/workflows/release.yml
+27 −8 .github/workflows/test.yml
+2 −1 .gitignore
+13 −7 Makefile
+3 −3 agent-chart/Chart.yaml
+14 −4 agent-chart/README.md
+25 −0 agent-chart/templates/auth-secret.yaml
+19 −0 agent-chart/templates/deployment.yaml
+81 −1 agent-chart/values.schema.json
+12 −1 agent-chart/values.yaml
+1 −2 chart/.helmignore
+9 −6 chart/Chart.lock
+8 −4 chart/Chart.yaml
+265 −211 chart/README.md
+93 −7 chart/crds/mission-control.flanksource.com_applications.yaml
+990 −32 chart/crds/mission-control.flanksource.com_connections.yaml
+60 −0 chart/crds/mission-control.flanksource.com_incidentrules.yaml
+363 −2 chart/crds/mission-control.flanksource.com_notifications.yaml
+61 −1 chart/crds/mission-control.flanksource.com_notificationsilences.yaml
+60 −0 chart/crds/mission-control.flanksource.com_permissiongroups.yaml
+70 −0 chart/crds/mission-control.flanksource.com_permissions.yaml
+1,221 −173 chart/crds/mission-control.flanksource.com_playbooks.yaml
+409 −0 chart/crds/mission-control.flanksource.com_views.yaml
+30 −1 chart/templates/_helpers.tpl
+25 −0 chart/templates/artifactstore/connection.yaml
+64 −0 chart/templates/artifactstore/deployment.yaml
+19 −0 chart/templates/artifactstore/pvc.yaml
+23 −0 chart/templates/artifactstore/secret.yaml
+20 −0 chart/templates/artifactstore/service.yaml
+1 −1 chart/templates/cleanup-job.yaml
+9 −1 chart/templates/deployment.yaml
+7 −0 chart/templates/permissions/all-users.yaml
+14 −0 chart/templates/permissions/mcp.yaml
+1 −1 chart/templates/permissions/system.yaml
+1 −29 chart/templates/pgbouncer.yaml
+1 −1 chart/templates/secrets.yaml
+2 −1 chart/templates/service.yaml
+1 −1 chart/templates/servicemonitor.yaml
+0 −33 chart/templates/views/dashboard/dashboard.yaml
+0 −72 chart/templates/views/dashboard/recent-changes.yaml
+51 −0 chart/templates/views/system/database.yaml
+2 −2 chart/templates/views/system/job_history.yaml
+7 −0 chart/templates/views/system/system.yaml
+57 −10 chart/test/basic_test.go
+27 −17 chart/test/go.mod
+42 −26 chart/test/go.sum
+257 −0 chart/test/kratos_test.go
+14 −3 chart/test/mission-control.go
+0 −2 chart/test/suite_test.go
+112 −1 chart/test/utils_test.go
+218 −9 chart/values.schema.json
+60 −2 chart/values.yaml
+72 −3 crd-chart/templates/canary-checker.flanksource.com_Canary.yaml
+43 −0 crd-chart/templates/canary-checker.flanksource.com_Topology.yaml
+3,064 −193 crd-chart/templates/configs.flanksource.com_scrapeconfigs.yaml
+120 −5 crd-chart/templates/configs.flanksource.com_scrapeplugins.yaml
+93 −7 crd-chart/templates/mission-control.flanksource.com_applications.yaml
+990 −32 crd-chart/templates/mission-control.flanksource.com_connections.yaml
+60 −0 crd-chart/templates/mission-control.flanksource.com_incidentrules.yaml
+363 −2 crd-chart/templates/mission-control.flanksource.com_notifications.yaml
+61 −1 crd-chart/templates/mission-control.flanksource.com_notificationsilences.yaml
+60 −0 crd-chart/templates/mission-control.flanksource.com_permissiongroups.yaml
+70 −0 crd-chart/templates/mission-control.flanksource.com_permissions.yaml
+1,221 −173 crd-chart/templates/mission-control.flanksource.com_playbooks.yaml
+409 −0 crd-chart/templates/mission-control.flanksource.com_views.yaml
+41 −0 scripts/mirror-images.sh
+167 −0 scripts/wait-for-charts.sh
+42 −0 test/kratos-migration/docker-compose.yml
+34 −0 test/kratos-migration/identity-schema.json
+43 −0 test/kratos-migration/kratos-config.yaml
+173 −0 test/kratos-migration/test.sh
+1 −1 test/test.sh
356 changes: 214 additions & 142 deletions mission-control/AGENTS.md

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions mission-control/docs/guide/config-db/scrapers/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,26 +28,26 @@ The GitHub Repository scraper creates `GitHub::Repository` config items and opti

```

| Field | Description | Scheme | Required |
| --------------------- | -------------------------------------------------------------- | --------------------------------------------------- | -------- |
| `repositories` | List of repositories to scrape | [`[]GitHubRepository`](#githubrepository) | `true` |
| `personalAccessToken` | Personal access token for authentication | <CommonLink to="secrets">[]_EnvVar_</CommonLink> | |
| `connection` | Connection name for GitHub credential | `string` | |
| `security` | Enable Dependabot, code scanning, and secret scanning alerts | `bool` | |
| `openssf` | Enable OpenSSF Scorecard data | `bool` | |
| `securityFilters` | Filters for security alerts | [`SecurityFilters`](#securityfilters) | |
| Field | Description | Scheme | Required |
| --------------------- | ------------------------------------------------------------ | ------------------------------------------------ | -------- |
| `repositories` | List of repositories to scrape | [`[]GitHubRepository`](#githubrepository) | `true` |
| `personalAccessToken` | Personal access token for authentication | <CommonLink to="secrets">[]_EnvVar_</CommonLink> | |
| `connection` | Connection name for GitHub credential | `string` | |
| `security` | Enable Dependabot, code scanning, and secret scanning alerts | `bool` | |
| `openssf` | Enable OpenSSF Scorecard data | `bool` | |
| `securityFilters` | Filters for security alerts | [`SecurityFilters`](#securityfilters) | |

### GitHubRepository

| Field | Description | Scheme | Required |
| ------- | ------------------------ | -------- | -------- |
| `owner` | GitHub repository owner | `string` | `true` |
| `repo` | GitHub repository name | `string` | `true` |
| Field | Description | Scheme | Required |
| ------- | ----------------------- | -------- | -------- |
| `owner` | GitHub repository owner | `string` | `true` |
| `repo` | GitHub repository name | `string` | `true` |

### SecurityFilters

| Field | Description | Scheme |
| ---------- | ------------------------------------------------ | ---------- |
| `severity` | Filter alerts by severity (e.g. `critical`, `high`) | `[]string` |
| `state` | Filter alerts by state (e.g. `open`, `fixed`) | `[]string` |
| `maxAge` | Only include alerts newer than this duration (e.g. `7d`, `24h`) | `string` |
| Field | Description | Scheme |
| ---------- | --------------------------------------------------------------- | ---------- |
| `severity` | Filter alerts by severity (e.g. `critical`, `high`) | `[]string` |
| `state` | Filter alerts by state (e.g. `open`, `fixed`) | `[]string` |
| `maxAge` | Only include alerts newer than this duration (e.g. `7d`, `24h`) | `string` |
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ sidebar_custom_props:
The `config_item` column type displays clickable links to configuration item detail pages with a proper icon.

<ColumnDef rows={[
{field: "configItem.idField", description: "Field from the merged query result to use as the config item ID. Defaults to `id` when not specified.", scheme: "string"},
{field: "configItem.idField", description: "Field from the merged query result to use as the config item ID. Defaults to `id` when not specified.", scheme: "string"},
]}/>

## Example
Expand Down
12 changes: 6 additions & 6 deletions mission-control/docs/guide/views/table/columns/gauge.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ sidebar_custom_props:
The `gauge` column type displays numeric values as visual gauges with configurable thresholds and colors.

<ColumnDef rows={[
{field: "gauge", description: "Gauge visualization configuration", scheme: "object", required: true},
{field: "gauge.min", description: "Minimum value for the gauge range (number or CEL expression, e.g. `row.memory_limit`)", scheme: "string"},
{field: "gauge.max", description: "Maximum value for the gauge range (number or CEL expression)", scheme: "string"},
{field: "gauge.precision", description: "Number of decimal places to display", scheme: "int"},
{field: "gauge.thresholds[].percent", description: "Percentage of the range at which this threshold applies (0–100)", scheme: "int"},
{field: "gauge.thresholds[].color", description: "Color at this threshold (name or hex, e.g. `green`, `#ef4444`)", scheme: "string"},
{field: "gauge", description: "Gauge visualization configuration", scheme: "object", required: true},
{field: "gauge.min", description: "Minimum value for the gauge range (number or CEL expression, e.g. `row.memory_limit`)", scheme: "string"},
{field: "gauge.max", description: "Maximum value for the gauge range (number or CEL expression)", scheme: "string"},
{field: "gauge.precision", description: "Number of decimal places to display", scheme: "int"},
{field: "gauge.thresholds[].percent", description: "Percentage of the range at which this threshold applies (0–100)", scheme: "int"},
{field: "gauge.thresholds[].color", description: "Color at this threshold (name or hex, e.g. `green`, `#ef4444`)", scheme: "string"},
]}/>

## Example
Expand Down
Loading
Loading