Skip to content
Open
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
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"

<details>

<summary><b>Port port-app-config.yml (click to expand)</b></summary>
Expand Down Expand Up @@ -57,3 +60,35 @@ resources:
```

</details>

<Tabs groupId="config" queryString="parameter">

<TabItem label="Task" value="task">

You can use the `task` selector to filter deployments by task name (for example, `deploy` or `deploy:migrations`).

```yaml showLineNumbers
- kind: deployment
selector:
query: "true"
# highlight-next-line
task: "deploy"
```

</TabItem>

<TabItem label="Environment" value="environment">

You can use the `environment` selector to filter deployments by environment name (for example, `staging` or `production`).

```yaml showLineNumbers
- kind: deployment
selector:
query: "true"
# highlight-next-line
environment: "production"
```

</TabItem>

</Tabs>
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"

<details>

<summary><b>Port port-app-config.yml (click to expand)</b></summary>
Expand Down Expand Up @@ -43,3 +46,22 @@ resources:
```

</details>

<Tabs groupId="config" queryString="parameter">

<TabItem label="Labels" value="labels">

You can use the `labels` selector to filter issues by labels.
An issue is ingested only if it has **all** of the labels you set (AND logic); if it has only some of them, it is not included.

```yaml showLineNumbers
- kind: issue
selector:
query: ".pull_request == null"
# highlight-next-line
labels: ["bug", "high-priority"]
```

</TabItem>

</Tabs>
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import Tabs from "@theme/Tabs"
import TabItem from "@theme/TabItem"

<details>

<summary><b>Port port-app-config.yml (click to expand)</b></summary>
Expand Down Expand Up @@ -81,3 +84,55 @@ resources:
```

</details>

<Tabs groupId="config" queryString="parameter">

<TabItem label="Dependabot severity" value="dependabotSeverity">

You can use the `severity` selector to filter dependabot alerts by severity levels.
An alert is ingested if its severity is **any one** of the severities you set (OR logic across the list). Valid values: `low`, `medium`, `high`, `critical`.

```yaml showLineNumbers
- kind: dependabot-alert
selector:
query: "true"
states: ["open", "fixed"]
# highlight-next-line
severity: ["high", "critical"]
```

</TabItem>

<TabItem label="Dependabot ecosystems" value="dependabotEcosystems">

You can use the `ecosystems` selector to filter dependabot alerts by package ecosystems.
An alert is ingested if its ecosystem is **any one** of the ecosystems you set (OR logic across the list). Valid values: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust`.

```yaml showLineNumbers
- kind: dependabot-alert
selector:
query: "true"
states: ["open", "fixed"]
# highlight-next-line
ecosystems: ["npm", "pip"]
```

</TabItem>

<TabItem label="Code scanning severity" value="codeScanningSeverity">

You can use the `severity` selector to filter code scanning alerts by severity level.
An alert is ingested only if its severity matches the value you set. Valid values: `critical`, `high`, `medium`, `low`, `warning`, `note`, `error`.

```yaml showLineNumbers
- kind: code-scanning-alerts
selector:
query: "true"
state: "open"
# highlight-next-line
severity: "high"
```

</TabItem>

</Tabs>