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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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
=, !=, >, >=, <, <=; string starts with, contains; vector in). Values containing double-quotes need escaping using backslash. freeText supports = and !=. Example: container.id=‘abc123’Default: 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.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.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
=, !=, >, >=, <, <=; 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, 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.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.The entry types to filter, for example commands, connections, fileaccesses, or kubernetes. Repeated as
types=commands&types=connections.Default: null.Zone IDs to filter on. Repeated as
zones=1&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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.Restrict results to CVEs with a base CVSS score less than or equal to this value.Default:
null.Restrict results to CVEs with a base CVSS score greater than or equal to this value.Default:
null.Restrict results to CVEs with (
true) or without (false) a known public exploit.Default: null.Restrict results to CVEs that do (
true) or do not (false) have a known fix.Default: null.Restrict results to CVEs that are (
true) or are not (false) listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.Default: null.Free-text substring match against the CVE ID or an affected component name.Default:
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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.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
=, !=, >, >=, <, <=; 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=1Default: 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.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.Zone IDs to filter on. Repeated as
zones=1&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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.Query language expression for filtering results. Supported attributes are
id, type, source, severity, and labels.<scope label>. Example: type = ‘ALERT’ and severity in (3,4,5) and labels.kube_cluster_name = ‘my-cluster’Default: 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.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.Query language expression for filtering results. Only the
freeText parameter is supported (searches the full image name).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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.Query language expression for filtering results, using
and, or, not, = and !=. Example: auditTrail.requestMethod = ‘GET’ and auditTrail.entityType = ‘user’Default: 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.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
null.The maximum number of returned labels. This is 5,000 by default. To disable the limit, set the value to 0.Default:
null.A repeated series selector argument that specifies the series from which to read the label values. Sent as
match[].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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.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.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
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.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.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
null.Filters to apply in the form of
key:value. Multiple filters can be applied by repeating the filter parameter.Default: 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
null.The maximum number of returned series. To disable the limit, set the value to 0.Default:
null.The evaluation timestamp as RFC3339 or a unix timestamp. If omitted, the current server time is used.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
The query resolution step width, specified as a duration or a floating-point number of seconds.
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
null.The maximum number of returned series. To disable the limit, set the value to 0.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
The SysQL statement. Example: MATCH IAMUser AS a WHERE a.customerId = 1234567890 RETURN a.name AS name, a.arn AS arn;
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
null.Optional caller-supplied identifier used to correlate the query with traces or audit logs.Default:
null.When true, relationships are also traversed in their reverse direction. Can substantially increase the result set size.Default:
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.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.Controls the shape of the result set returned by the query engine. Defaults to
Table when omitted.Default: 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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
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.
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.
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.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/
Secrets
Required secrets:sysdig: required valuesSYSDIG_API_TOKEN.
Input fields
Sysdig base URL for your region, for example https://us2.app.sysdig.com or https://eu1.app.sysdig.com. Defaults to https://app.sysdigcloud.com.Default:
null.