> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracecat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Sysdig

> Reference for the Tracecat Sysdig integration: registered actions, required secrets, expected inputs, and example workflow usage.

## Get action execution

Action ID: `tools.sysdig.get_action_execution`

Get an action execution. Calls GET /secure/response-actions/v1alpha1/action-executions/\{actionExecutionId}.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**actionExecutionId** `string` *required*

ID of the action execution

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## Get activity audit entry

Action ID: `tools.sysdig.get_activity_audit_entry`

Retrieves an Activity Audit entry given its id. Calls GET /secure/activity-audit/v1/entries/\{entryId}.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**entryId** `string` *required*

The event id.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## Get CVE

Action ID: `tools.sysdig.get_cve`

Get a CVE from the Sysdig vulnerability catalog. Calls GET /secure/vulnerability/v1beta1/cves/\{cveId}.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**cveId** `string` *required*

The CVE identifier, for example CVE-2021-44228.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## Get event

Action ID: `tools.sysdig.get_event`

Retrieves an event given its id. Calls GET /secure/events/v1/events/\{eventId}.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**eventId** `string` *required*

The event id.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## Get resource

Action ID: `tools.sysdig.get_resource`

Retrieve an Inventory Resource by its unique hash value. Calls GET /secure/inventory/v1/resources/\{hash}.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**hash** `string` *required*

resource hash

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## Get scan result

Action ID: `tools.sysdig.get_scan_result`

Retrieve a full scan result produced by any scanner that matches a given ID. Calls GET /secure/vulnerability/v1/results/\{resultId}.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**resultId** `string` *required*

The ID of a single scan result.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## Get SysQL schema

Action ID: `tools.sysdig.get_sysql_schema`

Retrieve the schema information for all entities and their relationships in YAML format. Calls GET /api/sysql/v2/schema.

Reference: [https://docs.sysdig.com/en/developer-tools/sysql-api/](https://docs.sysdig.com/en/developer-tools/sysql-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## List accepted risks

Action ID: `tools.sysdig.list_accepted_risks`

List all Accepted Risks for a given account. Calls GET /secure/vulnerability/v1beta1/accepted-risks.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve a particular page of data. It is an opaque structure, and should not be mangled. It could be retrieved in the body of each request. If a response does not contain a cursor, it means that it's the last page.

Default: `null`.

**filter** `string | null`

The filtering string in secure-querylang syntax.

Default: `null`.

**limit** `integer | null`

The number of items to return

Default: `null`.

**order** `string | null`

The sorting order: asc or desc.

Default: `null`.

**sort** `string | null`

The sorting string, for example expirationDate or acceptanceDate.

Default: `null`.

## List action executions

Action ID: `tools.sysdig.list_action_executions`

Returns the list of Response Actions executions. You can filter them with the available query parameters. Calls GET /secure/response-actions/v1alpha1/action-executions.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**callerId** `string | null`

The ID of the user that executed the Response action.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results. The filter is the result of logical concatenations, using "and" and "or" binary operators and the "not" unary prefix operator, of attribute comparisons (scalar `=`, `!=`, `>`, `>=`, `&lt;`, `&lt;=`; string `starts with`, `contains`; vector `in`). Values containing double-quotes need escaping using backslash. `freeText` supports `=` and `!=`. Example: container.id='abc123'

Default: `null`.

**from** `integer | null`

From, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

**limit** `integer | null`

The number of items to return

Default: `null`.

**offset** `integer | null`

The offset number of items to start with

Default: `null`.

**to** `integer | null`

To, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

## List activity audit entries

Action ID: `tools.sysdig.list_activity_audit_entries`

Retrieves the list of Activity Audit entries (commands, connections, file accesses, and Kubernetes events) matching the expressed search criteria. The pair `from` and `to` and the `cursor` parameter are mutually exclusive. Calls GET /secure/activity-audit/v1/entries.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve paginated data. It acts as a pointer to the next page of data. When a cursor is defined, the `from` and `to` parameters must not be used.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results. The filter is the result of logical concatenations, using "and" and "or" binary operators and the "not" unary prefix operator, of attribute comparisons (scalar `=`, `!=`, `>`, `>=`, `&lt;`, `&lt;=`; string `starts with`, `contains`; vector `in`). Values containing double-quotes need escaping using backslash. `freeText` supports `=` and `!=`. Supported attributes can be retrieved through the `/secure/activity-audit/v1/supported-filters` endpoint.

Default: `null`.

**from** `integer | null`

From, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

**limit** `integer | null`

The number of items to return

Default: `null`.

**to** `integer | null`

To, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

**types** `array[string] | null`

The entry types to filter, for example commands, connections, fileaccesses, or kubernetes. Repeated as `types=commands&amp;types=connections`.

Default: `null`.

**zones** `array[integer] | null`

Zone IDs to filter on. Repeated as `zones=1&amp;zones=2`. Maximum 100.

Default: `null`.

## List CVEs

Action ID: `tools.sysdig.list_cves`

List CVEs from the Sysdig vulnerability catalog. Calls GET /secure/vulnerability/v1beta1/cves.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**componentName** `string | null`

Restrict results to CVEs affecting a component with exactly this name.

Default: `null`.

**cursor** `string | null`

Opaque cursor used to retrieve a page of results. Use the `next` value returned by the previous list response; omit it to fetch the first page.

Default: `null`.

**cvssMax** `number | null`

Restrict results to CVEs with a base CVSS score less than or equal to this value.

Default: `null`.

**cvssMin** `number | null`

Restrict results to CVEs with a base CVSS score greater than or equal to this value.

Default: `null`.

**hasExploit** `boolean | null`

Restrict results to CVEs with (`true`) or without (`false`) a known public exploit.

Default: `null`.

**hasFix** `boolean | null`

Restrict results to CVEs that do (`true`) or do not (`false`) have a known fix.

Default: `null`.

**hasKev** `boolean | null`

Restrict results to CVEs that are (`true`) or are not (`false`) listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Default: `null`.

**limit** `integer | null`

The maximum number of CVEs to return in a single page.

Default: `null`.

**publishedAfter** `string | null`

Restrict results to CVEs published at or after this RFC 3339 timestamp.

Default: `null`.

**publishedBefore** `string | null`

Restrict results to CVEs published at or before this RFC 3339 timestamp.

Default: `null`.

**query** `string | null`

Free-text substring match against the CVE ID or an affected component name.

Default: `null`.

**severity** `array[string] | null`

Restrict results to one or more Sysdig-normalized severities. Repeat the parameter to match any of several severities (OR).

Default: `null`.

## List event supported filters

Action ID: `tools.sysdig.list_event_supported_filters`

Get available filters for the Secure events feed. Calls GET /secure/events/v1/supported-filters.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## List events

Action ID: `tools.sysdig.list_events`

Retrieves the list of Sysdig Secure runtime events matching the expressed search criteria. The pair `from` and `to` and the `cursor` parameter are mutually exclusive. Calls GET /secure/events/v1/events.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve paginated data. It acts as a pointer to the next page of data. When a cursor is defined, the `from` and `to` parameters must not be used.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results. The filter is the result of logical concatenations, using "and" and "or" binary operators and the "not" unary prefix operator, of attribute comparisons (scalar `=`, `!=`, `>`, `>=`, `&lt;`, `&lt;=`; string `starts with`, `contains`; vector `in`). Values containing double-quotes need escaping using backslash. `freeText` supports `=` and `!=`. Supported attributes can be retrieved through the `/secure/events/v1/supported-filters` endpoint. Example: agent.id=1

Default: `null`.

**from** `integer | null`

From, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

**limit** `integer | null`

The number of items to return. Maximum 200; defaults to 25.

Default: `null`.

**to** `integer | null`

To, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

**zones** `array[integer] | null`

Zone IDs to filter on. Repeated as `zones=1&amp;zones=2`. Maximum 100.

Default: `null`.

## List Monitor events

Action ID: `tools.sysdig.list_monitor_events`

Retrieves the list of Sysdig Monitor events (alerts and custom events) matching the expressed search criteria. Calls GET /monitor/events/v1/events.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve paginated data. It acts as a pointer to a page of data. When a cursor is defined, the `from` and `to` parameters must not be used.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results. Supported attributes are `id`, `type`, `source`, `severity`, and `labels.&lt;scope label>`. Example: type = 'ALERT' and severity in (3,4,5) and labels.kube\_cluster\_name = 'my-cluster'

Default: `null`.

**from** `integer | null`

From, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 30 days. If defined, `cursor` cannot be used.

Default: `null`.

**limit** `integer | null`

The number of items to return. Maximum 200.

Default: `null`.

**to** `integer | null`

To, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 30 days. If defined, `cursor` cannot be used.

Default: `null`.

## List pipeline scan results

Action ID: `tools.sysdig.list_pipeline_results`

Get a list of pipeline scan results. Calls GET /secure/vulnerability/v1/pipeline-results.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve a particular page of data. It is an opaque structure, and should not be mangled. It could be retrieved in the body of each request. If a response does not contain a cursor, it means that it's the last page.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results. Only the `freeText` parameter is supported (searches the full image name).

Default: `null`.

**limit** `integer | null`

Limit for pagination

Default: `null`.

## List platform audit events

Action ID: `tools.sysdig.list_platform_audit_events`

Retrieve a paginated list of Platform Audit Events. Calls GET /platform/v1/platform-audit-events.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve paginated data. It acts as a pointer to the next page of data. When a cursor is defined, the `from` and `to` parameters must not be used.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results, using `and`, `or`, `not`, `=` and `!=`. Example: auditTrail.requestMethod = 'GET' and auditTrail.entityType = 'user'

Default: `null`.

**from** `integer | null`

From, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

**limit** `integer | null`

The number of items to return. Maximum 999.

Default: `null`.

**to** `integer | null`

To, expressed in Unix nanoseconds timestamp. The difference between `from` and `to` cannot be greater than 2 weeks. If defined, `cursor` cannot be used.

Default: `null`.

## List Prometheus label values

Action ID: `tools.sysdig.list_prometheus_label_values`

Retrieve the values for a label name. Calls GET /prometheus/api/v1/label/\{labelName}/values.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**labelName** `string` *required*

The name of the label to retrieve values for.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**end** `string | null`

The end timestamp as RFC3339 or a unix timestamp.

Default: `null`.

**limit** `integer | null`

The maximum number of returned labels. This is 5,000 by default. To disable the limit, set the value to 0.

Default: `null`.

**match** `array[string] | null`

A repeated series selector argument that specifies the series from which to read the label values. Sent as `match[]`.

Default: `null`.

**start** `string | null`

The start timestamp as RFC3339 or a unix timestamp.

Default: `null`.

## List registry scan results

Action ID: `tools.sysdig.list_registry_results`

Get a list of registry scan results. Calls GET /secure/vulnerability/v1/registry-results.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve a particular page of data. It is an opaque structure, and should not be mangled. It could be retrieved in the body of each request. If a response does not contain a cursor, it means that it's the last page.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results, supporting `and`, `or`, `=` and `!=`. Supported fields are `freeText` (searches the full image name) and `vendor`. Example: freeText = "alpine:latest" and vendor = "docker"

Default: `null`.

**limit** `integer | null`

Limit for pagination

Default: `null`.

## List resources

Action ID: `tools.sysdig.list_resources`

Search for Inventory Resources based on the given filter. Calls GET /secure/inventory/v1/resources.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**filter** `string | null`

Query language expression for filtering results. Operators: `and`, `not`, `=`, `!=`, `in`, `contains`, `startsWith`, `exists`. Supported fields include accountName, accountId, cluster, distribution, labels, name, namespace, platform, category, type, zone, image fields, package fields, and vulnerability fields. Example: platform = "AWS" and name starts with "acl"

Default: `null`.

**pageNumber** `integer | null`

Page number. Defaults to 1.

Default: `null`.

**pageSize** `integer | null`

Page size. Defaults to 20.

Default: `null`.

**withEnrichedContainers** `boolean | null`

If true then for kubernetes workload resources additional container information will be included.

Default: `null`.

## List response actions

Action ID: `tools.sysdig.list_response_actions`

Get the list of available executable Response Actions. Calls GET /secure/response-actions/v1alpha1/actions.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

## List runtime scan results

Action ID: `tools.sysdig.list_runtime_results`

Get a list of runtime scan results. Calls GET /secure/vulnerability/v1/runtime-results.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**cursor** `string | null`

Cursor is a string used to retrieve a particular page of data. It is an opaque structure, and should not be mangled. It could be retrieved in the body of each request. If a response does not contain a cursor, it means that it's the last page.

Default: `null`.

**filter** `string | null`

Query language expression for filtering results, supporting `and`, `or`, `=` and `!=`. Supported fields are all the fields of the `Scope`, plus `freeText` and `hasRunningVulns`. Example: kubernetes.cluster.name="production"

Default: `null`.

**limit** `integer | null`

Limit for pagination

Default: `null`.

**order** `string | null`

Ordering of the results for the sort field: asc or desc.

Default: `null`.

**sort** `string | null`

Field used to sort the results: vulnTotalBySeverity or runningVulnTotalBySeverity.

Default: `null`.

## List zones

Action ID: `tools.sysdig.list_zones`

Retrieve a paginated list of Zones. Calls GET /platform/v2/zones.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**filter** `array[string] | null`

Filters to apply in the form of `key:value`. Multiple filters can be applied by repeating the `filter` parameter.

Default: `null`.

**limit** `integer | null`

The number of items to return

Default: `null`.

**offset** `integer | null`

The offset number of items to start with

Default: `null`.

**orderby** `array[string] | null`

Ordering to apply in the form of `field:direction` where `direction` can either be `asc` or `desc`. Multiple orderings can be applied by repeating the `orderby` parameter.

Default: `null`.

## Run PromQL instant query

Action ID: `tools.sysdig.query_prometheus`

Evaluate an instant PromQL query at a single point in time. Calls GET /prometheus/api/v1/query.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**query** `string` *required*

The Prometheus expression query string.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**limit** `integer | null`

The maximum number of returned series. To disable the limit, set the value to 0.

Default: `null`.

**time** `string | null`

The evaluation timestamp as RFC3339 or a unix timestamp. If omitted, the current server time is used.

Default: `null`.

**timeout** `string | null`

The evaluation timeout. The default is 2 minutes.

Default: `null`.

## Run PromQL range query

Action ID: `tools.sysdig.query_prometheus_range`

Evaluate a PromQL expression query over a range of time. Calls GET /prometheus/api/v1/query\_range.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**end** `string` *required*

The inclusive end timestamp of the query range as RFC3339 or a unix timestamp.

**query** `string` *required*

The Prometheus expression query string.

**start** `string` *required*

The inclusive start timestamp of the query range as RFC3339 or a unix timestamp.

**step** `string` *required*

The query resolution step width, specified as a duration or a floating-point number of seconds.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**limit** `integer | null`

The maximum number of returned series. To disable the limit, set the value to 0.

Default: `null`.

**timeout** `string | null`

The evaluation timeout. The default is 2 minutes.

Default: `null`.

## Run SysQL query

Action ID: `tools.sysdig.query_sysql`

Execute a SysQL query over the Sysdig security graph. Calls GET /api/sysql/v2/query.

Reference: [https://docs.sysdig.com/en/developer-tools/sysql-api/](https://docs.sysdig.com/en/developer-tools/sysql-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**q** `string` *required*

The SysQL statement. Example: MATCH IAMUser AS a WHERE a.customerId = 1234567890 RETURN a.name AS name, a.arn AS arn;

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**deterministic\_order** `boolean | null`

Controls whether consistent ordering is enforced in the result set.

Default: `null`.

**global\_id** `string | null`

Optional caller-supplied identifier used to correlate the query with traces or audit logs.

Default: `null`.

**include\_reversed** `boolean | null`

When true, relationships are also traversed in their reverse direction. Can substantially increase the result set size.

Default: `null`.

**limit** `integer | null`

The maximum number of items returned in the result set. The recommended approach is to use the LIMIT clause in the SysQL statement; if specified here it overrides it. Defaults to 50.

Default: `null`.

**offset** `integer | null`

How many result set objects to skip. The recommended approach is to use the OFFSET clause in the SysQL statement; if specified here it overrides it. Defaults to 0.

Default: `null`.

**query\_mode** `string | null`

Controls the shape of the result set returned by the query engine. Defaults to `Table` when omitted.

Default: `null`.

**zone\_ids** `array[integer] | null`

Restrict the query to the given list of zone IDs. When omitted, the query runs across all zones the caller has access to.

Default: `null`.

## Submit action execution

Action ID: `tools.sysdig.submit_action_execution`

Submits the execution of an action. The action will be executed asynchronously and the response will contain the action execution ID. Use Get action execution to track its status. Calls POST /secure/response-actions/v1alpha1/action-executions.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**actionType** `string` *required*

The name of the Response Action to execute. It may be one of: KILL\_PROCESS, KILL\_CONTAINER, STOP\_CONTAINER, PAUSE\_CONTAINER, FILE\_QUARANTINE, FILE\_ACQUIRE, DELETE\_POD, ROLLOUT\_RESTART, KUBERNETES\_VOLUME\_SNAPSHOT, GET\_LOGS, ISOLATE\_NETWORK. Do not submit undo actions here; use Undo action execution instead.

**parameters** `object` *required*

The parameters used to request the Response Action execution, keyed by parameter name (string, integer, or boolean values). Use List response actions to discover each action's parameters.

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**callerId** `string | null`

The ID of the user that executed the Response action.

Default: `null`.

## Undo action execution

Action ID: `tools.sysdig.undo_action_execution`

Undoes an Action Execution, for example unpausing a paused container or removing an isolation network policy. Calls DELETE /secure/response-actions/v1alpha1/action-executions/\{actionExecutionId}.

Reference: [https://docs.sysdig.com/en/developer-tools/sysdig-api/](https://docs.sysdig.com/en/developer-tools/sysdig-api/)

### Secrets

Required secrets:

* `sysdig`: required values `SYSDIG_API_TOKEN`.

### Input fields

**actionExecutionId** `string` *required*

ID of the action execution

**base\_url** `string | null`

Sysdig base URL for your region, for example [https://us2.app.sysdig.com](https://us2.app.sysdig.com) or [https://eu1.app.sysdig.com](https://eu1.app.sysdig.com). Defaults to [https://app.sysdigcloud.com](https://app.sysdigcloud.com).

Default: `null`.

**callerId** `string | null`

The ID of the user that executed the Response action.

Default: `null`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.