List the Cloud Account IDs.

GET /api/cloud/v2/accountIDs

Lists all cloud account IDs for a customer.

Request

Response

200 - OK

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

List the Cloud Accounts.

GET /api/cloud/v2/accounts

Lists all cloud accounts for a customer.

Request

Path Parameters

Query Parameters

provider

string

Filter by provider

includeExternalID

string

Fetches the customer's external id.

includeExternalId

string

Fetches the customer's external id.

Response

200 - OK

403 - Account is forbidden (inactive/expired customer).

Create a new Cloud Account.

POST /api/cloud/v2/accounts

Creates a Cloud Account for a customer.

Request

Path Parameters

Query Parameters

includeExternalID

string

Fetches the customer's external id.

includeExternalId

string

Fetches the customer's external id.

upsert

string

Upserts the customer's cloud account.

Response

200 - Cloud Account is successfully created

accountId

string

The cloud account identifier

alias

string

Friendly name to identify

ciemEnabled

boolean

cloudConnectorBuildVersion

string

cloudConnectorFirstSeenAt

string

cloudConnectorLastSeenAt

string

component

string

hasAdvancePrerequisiteSet

boolean

Indicates whether the service account provisioned for resource collection has been granted advanced permissions, specifically the Domain-wide delegation permission in GCP. This field is relevant only for GCP.

provider

string

The cloud provider's name

roleAvailable

boolean

Whether the cloud account's provisioned role is enabled

roleLastUsedAt

string

The last time a role was successfully assumed

roleName

string

The role name associated with the Cloud Account

workloadIdentityAccountAlias

string

workloadIdentityAccountId

string

zones

array

List of zones defined by a collection of scopes.

externalId

object

The externalId of the Cloud Account

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

409 - Cloud account already exists.

500 - The server encountered an unexpected condition.

Register a new Cloud Account.

POST /api/cloud/v2/accounts/register

Registers a Cloud Account.

Request

Request Body

accountId

string

buildVersion

string

component

string

provider

string

region

string

Response

200 - Account is successfully registered

accountId

string

The cloud account identifier

alias

string

Friendly name to identify

ciemEnabled

boolean

cloudConnectorBuildVersion

string

cloudConnectorFirstSeenAt

string

cloudConnectorLastSeenAt

string

component

string

hasAdvancePrerequisiteSet

boolean

Indicates whether the service account provisioned for resource collection has been granted advanced permissions, specifically the Domain-wide delegation permission in GCP. This field is relevant only for GCP.

provider

string

The cloud provider's name

roleAvailable

boolean

Whether the cloud account's provisioned role is enabled

roleLastUsedAt

string

The last time a role was successfully assumed

roleName

string

The role name associated with the Cloud Account

workloadIdentityAccountAlias

string

workloadIdentityAccountId

string

zones

array

List of zones defined by a collection of scopes.

accountLimit

number

customerID

number

customerTier

string

expirationDate

number

maxScansLimit

number

regionLimit

number

segmentToken

number

status

string

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

500 - The server encountered an unexpected condition.

Delete a Cloud Account.

DELETE /api/cloud/v2/accounts/{accountId}

Deletes a cloud account for a given customer and accountId.

Request

Path Parameters

accountID

Required *

number

Query Parameters

Response

200 - OK

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

Get the Cloud Account.

GET /api/cloud/v2/accounts/{accountId}

Fetches a cloud account for a given customer and accountId.

Request

Path Parameters

accountID

Required *

number

Query Parameters

includeExternalID

string

Fetches the customer's external id.

includeExternalId

string

Fetches the customer's external id.

Response

200 - OK

accountId

string

The cloud account identifier

alias

string

Friendly name to identify

ciemEnabled

boolean

cloudConnectorBuildVersion

string

cloudConnectorFirstSeenAt

string

cloudConnectorLastSeenAt

string

component

string

hasAdvancePrerequisiteSet

boolean

Indicates whether the service account provisioned for resource collection has been granted advanced permissions, specifically the Domain-wide delegation permission in GCP. This field is relevant only for GCP.

provider

string

The cloud provider's name

roleAvailable

boolean

Whether the cloud account's provisioned role is enabled

roleLastUsedAt

string

The last time a role was successfully assumed

roleName

string

The role name associated with the Cloud Account

workloadIdentityAccountAlias

string

workloadIdentityAccountId

string

zones

array

List of zones defined by a collection of scopes.

externalId

object

The externalId of the Cloud Account

401 - Invalid or missing auth token.

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

Update the alias, roleAvailable or roleName of a Cloud Account.

PUT /api/cloud/v2/accounts/{accountId}

Edits the alias, role available status, or role name of a given cloud account. Updating the account alias, role availability status, or role name requires the cloud service provider information in the request body. Failing to include the provider in the request body will result in a 400 Bad Request error.

When you request to update the alias field and want to retain the current value for the roleAvailable and role name fields, you need to remember the existing values and supply that in the request. Otherwise, the default roleAvailable value (false) and roleName (empty) will be persisted in the system. Likewise, when you attempt to change the roleAvailable field and want to retain the current account alias and role name, you must supply the current account alias and roleName in the request. In a nutshell, it’s recommended that you supply the expected values for both alias, roleAvailable, and roleName fields in the request, even when the intention is to update either one, more than one, or all of them.

This API also respects the presence of includeExternalID or includeExternalId parameters in the request URL. If specified, the external ID associated with the cloud account will be included in the response. You need to specify either includeExternalID or includeExternalId parameter while sending the request. If you specify both, the server gives precedence to includeExternalId. But you might not notice the difference when seeing the response. The includeExternalID is still maintained for backward compatibility. It’s recommended to use includeExternalId if you want to see the external ID in the response.

Request

Request Body

alias

string

The friendly name of the cloud account.

provider

string

The cloud provider's name

roleAvailable

boolean

Whether the cloud account's provisioned role is enabled

roleName

string

The role name associated with the Cloud Account

Path Parameters

accountID

Required *

number

Query Parameters

includeExternalID

string

Fetches the customer's external id.

includeExternalId

string

Fetches the customer's external id.

Response

200 - OK

accountId

string

The cloud account identifier

alias

string

Friendly name to identify

ciemEnabled

boolean

cloudConnectorBuildVersion

string

cloudConnectorFirstSeenAt

string

cloudConnectorLastSeenAt

string

component

string

hasAdvancePrerequisiteSet

boolean

Indicates whether the service account provisioned for resource collection has been granted advanced permissions, specifically the Domain-wide delegation permission in GCP. This field is relevant only for GCP.

provider

string

The cloud provider's name

roleAvailable

boolean

Whether the cloud account's provisioned role is enabled

roleLastUsedAt

string

The last time a role was successfully assumed

roleName

string

The role name associated with the Cloud Account

workloadIdentityAccountAlias

string

workloadIdentityAccountId

string

zones

array

List of zones defined by a collection of scopes.

externalId

object

The externalId of the Cloud Account

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

Determine whether a valid role exists.

GET /api/cloud/v2/accounts/{accountId}/validateRole

Uses the role name set upon cloud account creation and attempts to assume that role to determine if the role is valid. Enables the role if not explicitly specified by the customer.

Request

Path Parameters

accountID

Required *

number

Query Parameters

enableOnSuccess

string

Whether to enable the role if it is valid.

Response

200 - Role is successfully validated

reason

string

success

boolean

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

500 - The server encountered an unexpected condition.

List the Cloud Account's Datasources.

GET /api/cloud/v2/dataSources/accounts

Lists the Cloud Account information with regions and clusters.

Request

Path Parameters

Query Parameters

provider

string

Filter by provider

filter

string

Free text filter. Searches on the following fields: `accountId`, `region`

limit

string

offset

string

sortBy

string

Sort by column. Options: `accountId`, `alias`, `clustersConnected`, `platform`. Default is `accountId`

sort

string

Sort order. Options: `asc`, `desc`

Response

200 - OK

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

List the Cloud Account's Clusters.

GET /api/cloud/v2/dataSources/clusters

Lists all clusters across a customer's accounts.

Request

Path Parameters

Query Parameters

provider

string

Filter by provider

accountId

string

Filter by account ID

connected

boolean

Filter by connected status

filter

string

Free text filter. Searches on the following fields: `name`, `region`

limit

string

offset

string

sortBy

string

Sort by column. Options: `accountId`, `status`, `clusterName`, `region`, `platform`, `nodeCount`, `version`, `createdAt`. Default is `accountId`

sort

string

Sort order. Options: `asc`, `desc`

Response

200 - OK

401 - Invalid or missing auth token.

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

List the Cloud Accounts and Monitor Accounts.

GET /api/cloud/v2/dataSources/filter/accounts

List the Cloud Accounts and Monitor Accounts.

Request

Response

200 - OK

data

array

A list of filter data

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

List Agent Status.

GET /api/cloud/v2/dataSources/filter/agentStatus

List Agent Status.

Request

Response

200 - OK

data

array

A list of filter data

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

List all Agent Versions.

GET /api/cloud/v2/dataSources/filter/agentVersions

List all Agent Versions.

Request

Response

200 - OK

data

array

A list of filter data

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

List the Clusters.

GET /api/cloud/v2/dataSources/filter/clusters

List the Clusters.

Request

Response

200 - OK

data

array

A list of filter data

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

List all the Nodes.

GET /api/cloud/v2/dataSources/filter/nodes

List all the Nodes.

Request

Response

200 - OK

data

array

A list of filter data

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

Get the DataSources status.

GET /api/cloud/v2/dataSources/status

Get the DataSources endpoint status.

Request

Response

200 - OK

401 - Invalid or missing auth token.

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

503 - The service is currently unavailable

Get the list of groups.

GET /api/cloud/v2/groups

Fetches the list of groups.

Request

Path Parameters

Query Parameters

account

number

provider

string

Filter by provider

groupName

string

Filter by group name

groupARN

string

Filter by group ARN

limit

string

Limit the amount of results to be fetched

cursor

string

Cursor is used for API pagination

riskLabels

string

Filter by risk labels

profilingLabels

string

Filter by profiling labels

excludeLearning

string

Indicates whether to exclude identities that are still in learning mode from the results.

riskCategory

string

Filter by risk category

accessCategory

string

Filter by access category

excessiveRiskCategory

string

Filter by excessive risk category

Response

200 - OK

options

object

data

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the list of policies attached to the specified group.

GET /api/cloud/v2/groups/policies

Fetches the list of policies attached to the specified group.

Request

Path Parameters

Query Parameters

account

Required *

number

provider

Required *

string

Filter by provider

groupName

Required *

string

Filter by group name

limit

string

Limit the amount of results to be fetched

cursor

string

Cursor is used for API pagination

Response

200 - OK

data

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get a policy suggestion by group.

GET /api/cloud/v2/groups/policySuggestion

Fetches the policy suggestion. Policy is based only on the action of the users in the group.

Request

Path Parameters

Query Parameters

provider

Required *

string

account

Required *

number

groupName

string

Filter by group name

groupARN

string

Filter by group ARN

includeResource

string

Specify whether to fill out the resource section of the policy suggestion or leave it as '*'

Response

200 - OK

lastComputedTime

string

permissionsFromPolicy

number

permissionsFromPolicySuggestion

number

policySuggestion

object

204 - There is no information.

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the list of users attached to the specified group.

GET /api/cloud/v2/groups/users

Fetches the list of users attached to the specified group.

Request

Path Parameters

Query Parameters

account

Required *

number

provider

Required *

string

Filter by provider

groupName

Required *

string

Filter by group name

limit

string

Limit the amount of results to be fetched

cursor

string

Cursor is used for API pagination

Response

200 - OK

data

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

List the supported labels.

GET /api/cloud/v2/labels

Lists all of the supported labels.

Request

Path Parameters

Query Parameters

resource

string

Filter by resource: policy, user, role, serviceAccount, group

Response

200 - OK

profiling

array

risk

array

400 - The given request is invalid.

Get the list of policies.

GET /api/cloud/v2/policies

Fetches the list of policies based on Excessive Permissions.

Request

Path Parameters

Query Parameters

account

number

provider

string

Filter by provider

policyID

string

Filter by policy id

policyName

string

Filter by policy name

resourceWildcard

boolean

actionWildcard

boolean

limit

string

Limit the amount of results to be fetched

cursor

string

Cursor is used for API pagination

riskLabels

string

Filter by risk labels

profilingLabels

string

Filter by profiling labels

excludeLearning

string

Indicates whether to exclude the policies attached to the identities that are still in learning mode from the results.

policyType

string

Filter by type of policy

riskCategory

string

Filter by risk category

excessiveRiskCategory

string

Filter by excessive risk category

accessCategory

string

Filter by access category

Response

200 - OK

options

object

data

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the policy groups.

GET /api/cloud/v2/policies/groups

Fetches the list of groups for a given policy.

Request

Path Parameters

Query Parameters

account

Required *

number

provider

Required *

string

Filter by provider

policyName

Required *

string

Filter by policy name

limit

string

Limit the amount of results to be fetched

cursor

string

Cursor is used for API pagination

Response

200 - OK

data

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the policy document.

GET /api/cloud/v2/policies/policyDoc

Fetches a single policy document.

Request

Path Parameters

Query Parameters

account

Required *

number

policyID

Required *

string

Filter by actor name

provider

Required *

string

Filter by provider

Response

200 - OK

Statment

array

Version

string

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the policy suggestion by policy.

GET /api/cloud/v2/policies/policySuggestion

Fetches the policy suggestion. Policy is based only on the action of the user.

Request

Path Parameters

Query Parameters

account

Required *

number

policyID

Required *

string

Filter by actor name

provider

Required *

string

Filter by provider

format

string

Specify the format. By default json is the format

includeResource

string

Specify whether to fill out the resource section of the policy suggestion or leave it as '*'

Response

200 - OK

accountID

string

actionWildCard

boolean

actorID

string

actorKind

string

actorName

string

customerID

number

effectivePermissionsCount

number

permissionBoundary

boolean

permissionsCount

number

permissionsUnusedByUser

number

permissionsUnusedFromPolicy

number

policyID

string

policyName

string

policyType

string

provider

string

resource

string

resourceType

string

resourceWildCard

boolean

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the policy users.

GET /api/cloud/v2/policies/users

Fetches the list of users for a given policy.

Request

Path Parameters

Query Parameters

account

Required *

number

policyID

Required *

string

Filter by actor name

provider

Required *

string

Filter by provider

kind

string

Filter by kind

policyType

string

Filter by type of policy

Response

200 - OK

accountID

string

actionWildCard

boolean

actorID

string

actorKind

string

actorName

string

customerID

number

effectivePermissionsCount

number

permissionBoundary

boolean

permissionsCount

number

permissionsUnusedByUser

number

permissionsUnusedFromPolicy

number

policyID

string

policyName

string

policyType

string

provider

string

resource

string

resourceType

string

resourceWildCard

boolean

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the Groups CSV Report.

GET /api/cloud/v2/reports/groups/csv

Fetches the Groups Report in CSV format.

Request

Path Parameters

Query Parameters

account

number

provider

string

Filter by provider

groupName

string

Filter by group name

groupARN

string

Filter by group ARN

accessCategory

string

Filter by access category

riskLabels

string

Filter by risk labels

profilingLabels

string

Filter by profiling labels

excludeLearning

string

Indicates whether to exclude identities that are still in learning mode from the results.

riskCategory

string

Filter by risk category

excessiveRiskCategory

string

Filter by excessive risk category

Response

200 - OK

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the Policies CSV Report.

GET /api/cloud/v2/reports/policies/csv

Fetches the Policies Report in CSV format.

Request

Path Parameters

Query Parameters

accountId

number

policyId

string

provider

string

Filter by provider

policyName

string

Filter by policy name

policyType

string

Filter by type of policy

riskLabels

string

Filter by risk labels

profilingLabels

string

Filter by profiling labels

excludeLearning

string

Indicates whether to exclude the policies attached to the identities that are still in learning mode from the results.

riskCategory

string

Filter by risk category

excessiveRiskCategory

string

Filter by excessive risk category

accessCategory

string

Filter by access category

Response

200 - OK

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the Users CSV Report.

GET /api/cloud/v2/reports/users/csv

Fetches the Users Report in CSV format.

Request

Path Parameters

Query Parameters

kind

string

Filter by kind

accountId

number

provider

string

Filter by provider

actorName

string

Filter by actor name

riskLabels

string

Filter by risk labels

profilingLabels

string

Filter by profiling labels

excludeLearning

string

Indicates whether to exclude identities that are still in learning mode from the results.

riskCategory

string

Filter by risk category

excessiveRiskCategory

string

Filter by excessive risk category

accessCategory

string

Filter by access category

Response

200 - OK

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

List the risk category thresholds.

GET /api/cloud/v2/riskCategory

Lists all of the risk category thresholds.

Request

Response

200 - OK

Critical

number

High

number

Low

number

Medium

number

500 - The server encountered an unexpected condition.

List the risk finding(s) definition.

GET /api/cloud/v2/riskFindingsDefinition

This request retrieves the static risk findings definitions used to evaluate the identity risk findings of cloud IAM users or roles. Currently, it is only supported for AWS cloud.

Request

Response

200 - OK

data

array

500 - The server encountered an unexpected condition.

List the risk label scores.

GET /api/cloud/v2/riskLabelScores

Lists all of the risk label scores.

Request

Response

200 - OK

AccessKeyNotRotated

number

Admin

number

Inactive

number

MultipleAccessKeyActive

number

NoMFA

number

RootUser

number

500 - The server encountered an unexpected condition.

Get the list of users.

GET /api/cloud/v2/users

Fetches the list of users.

Request

Path Parameters

Query Parameters

account

number

provider

string

Filter by provider

kind

string

Filter by kind

actorName

string

Filter by actor name

actorID

string

Filter by actor id

limit

string

Limit the amount of results to be fetched

cursor

string

Cursor is used for API pagination

riskLabels

string

Filter by risk labels

profilingLabels

string

Filter by profiling labels

excludeLearning

string

Indicates whether to exclude identities that are still in learning mode from the results.

riskCategory

string

Filter by risk category

excessiveRiskCategory

string

Filter by excessive risk category

accessCategory

string

Filter by access category

sortBy

string

Sort by column. Options: `userName`, `lastActive`

sort

string

Sort order. Options: `asc`, `desc`

Response

200 - OK

options

object

data

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the list of groups attached to a specified user.

GET /api/cloud/v2/users/groups

Fetches the list of groups attached to a specified user (actor_id).

Request

Path Parameters

Query Parameters

account

Required *

number

provider

Required *

string

Filter by provider

actorID

Required *

string

Filter by actor id

limit

string

Limit the amount of results to be fetched

cursor

string

Cursor is used for API pagination

Response

200 - OK

data

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get the policy information.

GET /api/cloud/v2/users/policyInfo

Fetches the policy information for a given user.

Request

Path Parameters

Query Parameters

account

Required *

number

actorName

Required *

string

Filter by actor name

actorID

Required *

string

Filter by actor id

Response

200 - OK

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Get a policy suggestion by user.

GET /api/cloud/v2/users/policySuggestion

Fetches the policy suggestion. Policy is based only on the action of the user.

Request

Path Parameters

Query Parameters

provider

Required *

string

account

Required *

number

actorName

Required *

string

Filter by actor name

actorID

Required *

string

Filter by actor id

format

string

Specify the format. By default json is the format

includeResource

string

Specify whether to fill out the resource section of the policy suggestion or leave it as '*'

Response

200 - OK

lastComputedTime

string

permissionsFromPolicy

number

permissionsFromPolicySuggestion

number

policySuggestion

object

204 - There is no information.

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

List Cloudauth Accounts

GET /api/cloudauth/v1/accounts

Request

Path Parameters

Query Parameters

organizationId

string

provider

string

featureSecureConfigPostureEnabled

boolean

featureSecureIdentityEntitlementEnabled

boolean

featureSecureThreatDetectionEnabled

boolean

featureSecureAgentlessScanningEnabled

boolean

featureMonitorCloudMetricsEnabled

boolean

limit

string

offset

string

verbosity

string

Response

200 - OK

accounts

array

count

object

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Create Cloudauth Accounts

POST /api/cloudauth/v1/accounts

Request

Request Body

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

monitorCloudMetrics

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureAgentlessScanning

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureConfigPosture

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureIdentityEntitlement

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureThreatDetection

object

AccountFeature captures a sysdig feature enabled on a cloud account

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

result

string

steps

array

timestamp

string

verbosity

string

virtual

boolean

Response

200 - OK

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

verbosity

string

virtual

boolean

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Delete Cloudauth Accounts By Account Id

DELETE /api/cloudauth/v1/accounts/{accountId}

Request

Path Parameters

accountId

Required *

string

Query Parameters

Response

204 - There is no information.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Get Cloudauth Accounts By Account Id

GET /api/cloudauth/v1/accounts/{accountId}

Request

Path Parameters

accountId

Required *

string

Query Parameters

verbosity

string

Response

200 - OK

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

verbosity

string

virtual

boolean

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Update Cloudauth Accounts By Account Id

PUT /api/cloudauth/v1/accounts/{accountId}

Request

Request Body

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

monitorCloudMetrics

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureAgentlessScanning

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureConfigPosture

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureIdentityEntitlement

object

AccountFeature captures a sysdig feature enabled on a cloud account

secureThreatDetection

object

AccountFeature captures a sysdig feature enabled on a cloud account

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

result

string

steps

array

timestamp

string

verbosity

string

virtual

boolean

Path Parameters

accountId

Required *

string

Query Parameters

Response

200 - OK

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

verbosity

string

virtual

boolean

400 - The given request is invalid.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

List Cloudauth Accounts Components By Account Id

GET /api/cloudauth/v1/accounts/{accountId}/components

Request

Path Parameters

accountId

Required *

string

Query Parameters

Response

200 - OK

components

array

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Create Cloudauth Accounts Components By Account Id

POST /api/cloudauth/v1/accounts/{accountId}/components

Request

Request Body

cloudConnectorMetadata

object

CloudConnectorMetadata captures the metadata associated with a cloud connector deployment, segmented by provider type

aws

object

azure

object

gcp

object

cloudLogsMetadata

object

CloudLogsMetadata captures the metadata associated cloud logs component

aws

object

createdAt

string

cryptoKeyMetadata

object

CryptoKeyMetadata captures the metadata associated with a KMS Key

aws

object

eventBridgeMetadata

object

EventBridgeMetadata captures the metadata associated with an event bridge, segmented by provider type

aws

object

azure

object

instance

string

servicePrincipalMetadata

object

ServicePrincipalMetadata captures the metadata associated with a service principal, segmented by provider type

azure

object

gcp

object

okta

object

trustedRoleMetadata

object

TrustedRoleMetadata captures the metadata associated with a trusted role resource, segmented by provider type

aws

object

azure

object

gcp

object

type

string

updatedAt

string

validation

object

result

string

steps

array

timestamp

string

version

string

webhookDatasourceMetadata

object

WebhookDatasourceMetadata captures the metadata associated with a webhook integration, segmented by provider type. a webhook integration is a event push model initiated by the provider over HTTP POST requests.

gcp

object

github

object

okta

object

Path Parameters

accountId

Required *

string

Query Parameters

Response

200 - OK

cloudConnectorMetadata

object

CloudConnectorMetadata captures the metadata associated with a cloud connector deployment, segmented by provider type

cloudLogsMetadata

object

CloudLogsMetadata captures the metadata associated cloud logs component

createdAt

string

cryptoKeyMetadata

object

CryptoKeyMetadata captures the metadata associated with a KMS Key

eventBridgeMetadata

object

EventBridgeMetadata captures the metadata associated with an event bridge, segmented by provider type

instance

string

servicePrincipalMetadata

object

ServicePrincipalMetadata captures the metadata associated with a service principal, segmented by provider type

trustedRoleMetadata

object

TrustedRoleMetadata captures the metadata associated with a trusted role resource, segmented by provider type

type

string

updatedAt

string

validation

object

version

string

webhookDatasourceMetadata

object

WebhookDatasourceMetadata captures the metadata associated with a webhook integration, segmented by provider type. a webhook integration is a event push model initiated by the provider over HTTP POST requests.

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Delete Cloudauth Accounts Components By Account Id And Component Type And Component Instance

DELETE /api/cloudauth/v1/accounts/{accountId}/components/{componentType}/{componentInstance}

Request

Path Parameters

accountId

Required *

string

componentType

Required *

string

componentInstance

Required *

string

Query Parameters

Response

204 - There is no information.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Get Cloudauth Accounts Components By Account Id And Component Type And Component Instance

GET /api/cloudauth/v1/accounts/{accountId}/components/{componentType}/{componentInstance}

Request

Path Parameters

accountId

Required *

string

componentType

Required *

string

componentInstance

Required *

string

Query Parameters

Response

200 - OK

cloudConnectorMetadata

object

CloudConnectorMetadata captures the metadata associated with a cloud connector deployment, segmented by provider type

cloudLogsMetadata

object

CloudLogsMetadata captures the metadata associated cloud logs component

createdAt

string

cryptoKeyMetadata

object

CryptoKeyMetadata captures the metadata associated with a KMS Key

eventBridgeMetadata

object

EventBridgeMetadata captures the metadata associated with an event bridge, segmented by provider type

instance

string

servicePrincipalMetadata

object

ServicePrincipalMetadata captures the metadata associated with a service principal, segmented by provider type

trustedRoleMetadata

object

TrustedRoleMetadata captures the metadata associated with a trusted role resource, segmented by provider type

type

string

updatedAt

string

validation

object

version

string

webhookDatasourceMetadata

object

WebhookDatasourceMetadata captures the metadata associated with a webhook integration, segmented by provider type. a webhook integration is a event push model initiated by the provider over HTTP POST requests.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Update Cloudauth Accounts Components By Account Id And Component Type And Component Instance

PUT /api/cloudauth/v1/accounts/{accountId}/components/{componentType}/{componentInstance}

Request

Request Body

cloudConnectorMetadata

object

CloudConnectorMetadata captures the metadata associated with a cloud connector deployment, segmented by provider type

aws

object

azure

object

gcp

object

cloudLogsMetadata

object

CloudLogsMetadata captures the metadata associated cloud logs component

aws

object

createdAt

string

cryptoKeyMetadata

object

CryptoKeyMetadata captures the metadata associated with a KMS Key

aws

object

eventBridgeMetadata

object

EventBridgeMetadata captures the metadata associated with an event bridge, segmented by provider type

aws

object

azure

object

instance

string

servicePrincipalMetadata

object

ServicePrincipalMetadata captures the metadata associated with a service principal, segmented by provider type

azure

object

gcp

object

okta

object

trustedRoleMetadata

object

TrustedRoleMetadata captures the metadata associated with a trusted role resource, segmented by provider type

aws

object

azure

object

gcp

object

type

string

updatedAt

string

validation

object

result

string

steps

array

timestamp

string

version

string

webhookDatasourceMetadata

object

WebhookDatasourceMetadata captures the metadata associated with a webhook integration, segmented by provider type. a webhook integration is a event push model initiated by the provider over HTTP POST requests.

gcp

object

github

object

okta

object

Path Parameters

accountId

Required *

string

componentType

Required *

string

componentInstance

Required *

string

Query Parameters

Response

200 - OK

cloudConnectorMetadata

object

CloudConnectorMetadata captures the metadata associated with a cloud connector deployment, segmented by provider type

cloudLogsMetadata

object

CloudLogsMetadata captures the metadata associated cloud logs component

createdAt

string

cryptoKeyMetadata

object

CryptoKeyMetadata captures the metadata associated with a KMS Key

eventBridgeMetadata

object

EventBridgeMetadata captures the metadata associated with an event bridge, segmented by provider type

instance

string

servicePrincipalMetadata

object

ServicePrincipalMetadata captures the metadata associated with a service principal, segmented by provider type

trustedRoleMetadata

object

TrustedRoleMetadata captures the metadata associated with a trusted role resource, segmented by provider type

type

string

updatedAt

string

validation

object

version

string

webhookDatasourceMetadata

object

WebhookDatasourceMetadata captures the metadata associated with a webhook integration, segmented by provider type. a webhook integration is a event push model initiated by the provider over HTTP POST requests.

400 - The given request is invalid.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Create Cloudauth Accounts Components Validate By Account Id And Component Type And Component Instance

POST /api/cloudauth/v1/accounts/{accountId}/components/{componentType}/{componentInstance}/validate

Request

Response

200 - OK

cloudConnectorMetadata

object

CloudConnectorMetadata captures the metadata associated with a cloud connector deployment, segmented by provider type

cloudLogsMetadata

object

CloudLogsMetadata captures the metadata associated cloud logs component

createdAt

string

cryptoKeyMetadata

object

CryptoKeyMetadata captures the metadata associated with a KMS Key

eventBridgeMetadata

object

EventBridgeMetadata captures the metadata associated with an event bridge, segmented by provider type

instance

string

servicePrincipalMetadata

object

ServicePrincipalMetadata captures the metadata associated with a service principal, segmented by provider type

trustedRoleMetadata

object

TrustedRoleMetadata captures the metadata associated with a trusted role resource, segmented by provider type

type

string

updatedAt

string

validation

object

version

string

webhookDatasourceMetadata

object

WebhookDatasourceMetadata captures the metadata associated with a webhook integration, segmented by provider type. a webhook integration is a event push model initiated by the provider over HTTP POST requests.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Delete Cloudauth Accounts Feature By Account Id And Feature Type

DELETE /api/cloudauth/v1/accounts/{accountId}/feature/{featureType}

Request

Path Parameters

accountId

Required *

string

featureType

Required *

string

Query Parameters

Response

204 - There is no information.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Get Cloudauth Accounts Feature By Account Id And Feature Type

GET /api/cloudauth/v1/accounts/{accountId}/feature/{featureType}

Request

Path Parameters

accountId

Required *

string

featureType

Required *

string

Query Parameters

Response

200 - OK

available

boolean

components

array

createdAt

string

enabled

boolean

flags

object

type

string

validation

object

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Update Cloudauth Accounts Feature By Account Id And Feature Type

PUT /api/cloudauth/v1/accounts/{accountId}/feature/{featureType}

update/enable a feature

Request

Request Body

available

boolean

components

array

createdAt

string

enabled

boolean

flags

object

type

string

validation

object

result

string

steps

array

timestamp

string

Path Parameters

accountId

Required *

string

featureType

Required *

string

Query Parameters

Response

200 - OK

available

boolean

components

array

createdAt

string

enabled

boolean

flags

object

type

string

validation

object

400 - The given request is invalid.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Create Cloudauth Accounts Feature Validate By Account Id And Feature Type

POST /api/cloudauth/v1/accounts/{accountId}/feature/{featureType}/validate

Request

Response

200 - OK

available

boolean

components

array

createdAt

string

enabled

boolean

flags

object

type

string

validation

object

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Create Cloudauth Accounts Validate By Account Id

POST /api/cloudauth/v1/accounts/{accountId}/validate

Request

Response

200 - OK

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

verbosity

string

virtual

boolean

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Create Cloudauth Components Validate

POST /api/cloudauth/v1/components/validate

Request

Request Body

cloudConnectorMetadata

object

CloudConnectorMetadata captures the metadata associated with a cloud connector deployment, segmented by provider type

aws

object

azure

object

gcp

object

cloudLogsMetadata

object

CloudLogsMetadata captures the metadata associated cloud logs component

aws

object

createdAt

string

cryptoKeyMetadata

object

CryptoKeyMetadata captures the metadata associated with a KMS Key

aws

object

eventBridgeMetadata

object

EventBridgeMetadata captures the metadata associated with an event bridge, segmented by provider type

aws

object

azure

object

instance

string

servicePrincipalMetadata

object

ServicePrincipalMetadata captures the metadata associated with a service principal, segmented by provider type

azure

object

gcp

object

okta

object

trustedRoleMetadata

object

TrustedRoleMetadata captures the metadata associated with a trusted role resource, segmented by provider type

aws

object

azure

object

gcp

object

type

string

updatedAt

string

validation

object

result

string

steps

array

timestamp

string

version

string

webhookDatasourceMetadata

object

WebhookDatasourceMetadata captures the metadata associated with a webhook integration, segmented by provider type. a webhook integration is a event push model initiated by the provider over HTTP POST requests.

gcp

object

github

object

okta

object

Response

200 - OK

result

string

steps

array

timestamp

string

List Cloudauth Organizations

GET /api/cloudauth/v1/organizations

Request

Path Parameters

Query Parameters

provider

string

limit

string

offset

string

verbosity

string

Response

200 - OK

count

object

organizations

array

400 - The given request is invalid.

401 - Invalid or missing auth token.

500 - The server encountered an unexpected condition.

Create Cloudauth Organizations

POST /api/cloudauth/v1/organizations

Request

Request Body

accounts

array

createdAt

string

customerId

string

id

string

managementAccount

object

CloudAccount captures a snapshot of basic metadata fields associated with a cloud.

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

verbosity

string

virtual

boolean

managementAccountId

string

name

string

organizationalUnitIds

array

provider

string

providerAlias

string

providerId

string

updatedAt

string

validation

object

result

string

steps

array

timestamp

string

verbosity

string

Response

200 - OK

accounts

array

createdAt

string

customerId

string

id

string

managementAccount

object

CloudAccount captures a snapshot of basic metadata fields associated with a cloud.

managementAccountId

string

name

string

organizationalUnitIds

array

provider

string

providerAlias

string

providerId

string

updatedAt

string

validation

object

verbosity

string

400 - The given request is invalid.

401 - Invalid or missing auth token.

409 - The result would create conflicting condition.

424 - The method could not be performed on the resource because the requested action depended on another action, and that action failed

500 - The server encountered an unexpected condition.

Delete Cloudauth Organizations By Organization Id

DELETE /api/cloudauth/v1/organizations/{organizationId}

Request

Path Parameters

organizationId

Required *

string

Query Parameters

Response

204 - NoContent

400 - The given request is invalid.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Get Cloudauth Organizations By Organization Id

GET /api/cloudauth/v1/organizations/{organizationId}

Request

Path Parameters

organizationId

Required *

string

Query Parameters

verbosity

string

Response

200 - OK

accounts

array

createdAt

string

customerId

string

id

string

managementAccount

object

CloudAccount captures a snapshot of basic metadata fields associated with a cloud.

managementAccountId

string

name

string

organizationalUnitIds

array

provider

string

providerAlias

string

providerId

string

updatedAt

string

validation

object

verbosity

string

400 - The given request is invalid.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Update Cloudauth Organizations By Organization Id

PUT /api/cloudauth/v1/organizations/{organizationId}

Request

Request Body

accounts

array

createdAt

string

customerId

string

id

string

managementAccount

object

CloudAccount captures a snapshot of basic metadata fields associated with a cloud.

components

array

createdAt

string

customerId

string

enabled

boolean

feature

object

id

string

name

string

organizationId

string

organizationManagement

boolean

provider

string

providerAlias

string

providerId

string

providerPartition

string

providerTenantId

string

updatedAt

string

validation

object

verbosity

string

virtual

boolean

managementAccountId

string

name

string

organizationalUnitIds

array

provider

string

providerAlias

string

providerId

string

updatedAt

string

validation

object

result

string

steps

array

timestamp

string

verbosity

string

Path Parameters

organizationId

Required *

string

Query Parameters

Response

200 - OK

accounts

array

createdAt

string

customerId

string

id

string

managementAccount

object

CloudAccount captures a snapshot of basic metadata fields associated with a cloud.

managementAccountId

string

name

string

organizationalUnitIds

array

provider

string

providerAlias

string

providerId

string

updatedAt

string

validation

object

verbosity

string

400 - The given request is invalid.

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Create Cloudauth Organizations Validate By Organization Id

POST /api/cloudauth/v1/organizations/{organizationId}/validate

Request

Response

200 - OK

accounts

array

createdAt

string

customerId

string

id

string

managementAccount

object

CloudAccount captures a snapshot of basic metadata fields associated with a cloud.

managementAccountId

string

name

string

organizationalUnitIds

array

provider

string

providerAlias

string

providerId

string

updatedAt

string

validation

object

verbosity

string

401 - Invalid or missing auth token.

404 - The requested entity was not found.

500 - The server encountered an unexpected condition.

Cloud Resources

GET /api/cspm/v1/cloud/resources

Gets the list of cloud resources and their compliance data for a specific control

Request

Path Parameters

Query Parameters

controlId

Required *

string

Control ID

providerType

Required *

string

Provider type to retrieve resources for (AWS, GCP or Azure)

resourceKind

Required *

string

Resource kind

filter

string

Query language expression for filtering results. Operators:

  • `and`, `or` and `not` logical operators
  • `=`, `!=`
  • `in`
  • `contains` and `startsWith` to check partial values of attributes

List of supported fields:

  • `zones.id`
    • Type: integer
    • Example: `zones.id=1`
    • Description: Evaluated zone ID.
  • `zoneName`
    • Type: string
    • Description: Zone name
  • `policyId`
    • Type: integer
    • Example: `policyId=1`
    • Description: Evaluated policy ID.
  • `policyName`
    • Type: string
    • Description: Policy name
  • `pass`
    • Type: boolean
    • Example: `pass=true`
    • Description: Passing status of resource.
  • `accepted`
    • Type: boolean
    • Example: `accepted=true`
    • Description: Return accepted resources.
  • `name`
    • Type: string
    • Description: Resource name.
  • `account`
    • Type: string
    • Description: Cloud Account that this resource belongs to.
  • `location`
    • Type: string
    • Description: Region where this resource is located.
  • `organization`
    • Type: string
    • Description: Organization that this resource belongs to.

Note: Whenever filtering for values with special characters, the values need to be encoded. When “ or \ are the special characters, they need to be escaped with \ and then encoded.

pageNumber

integer

Page number. Defaults to 1.

pageSize

integer

Page size. Defaults to 50.

Response

200 - Successfully returned CSPM v1 Cloud resources.

data

array

totalCount

integer

Total number of resources matching filter (limited to 1000)

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Cluster Analysis Resources

GET /api/cspm/v1/clusteranalysis/resources

Gets the list of cluster analysis resources and their compliance data for a specific control

Request

Path Parameters

Query Parameters

controlId

Required *

string

Control ID

benchmarkType

Required *

integer

Type of benchmark to retrieve resources for (0-Linux, 1-Docker, 2-Kubernetes). Defaults to 0.

resourceKind

Required *

string

Resource kind ('host' or 'cluster')

filter

string

Query language expression for filtering results. Operators:

  • `and`, `or` and `not` logical operators
  • `=`, `!=`
  • `in`
  • `contains` and `startsWith` to check partial values of attributes

List of supported fields:

  • `zones.id`
    • Type: integer
    • Example: `zones.id=1`
    • Description: Evaluated zone ID.
  • `zoneName`
    • Type: string
    • Description: Zone name
  • `policyId`
    • Type: integer
    • Example: `policyId=1`
    • Description: Evaluated policy ID.
  • `policyName`
    • Type: string
    • Description: Policy name
  • `pass`
    • Type: boolean
    • Example: `pass=true`
    • Description: Passing status of resource.
  • `accepted`
    • Type: boolean
    • Example: `accepted=true`
    • Description: Return accepted resources.
  • `clusterName`
    • Type: string
    • Description: Cluster name.
  • `name`
    • Type: string
    • Description: Host name.
  • `nodeInfo.osName`
    • Type: string
    • Description: Host operating system.
  • `nodeInfo.osImage`
    • Type: string
    • Description: Host operating system image.
  • `distributionName`
    • Type: string
    • Description: Kubernetes Distribution Name.
    • Example: distributionName in ("Vanilla")
  • `distributionVersion`
    • Type: string
    • Description: Kubernetes Distribution Version.
    • Example: distributionVersion in (1.23, 1.25)
  • `platformAccountId`
    • Type: string
    • Description: Cloud Account ID
    • Example: 012345678901

Note: Whenever filtering for values with special characters, the values need to be encoded. When “ or \ are the special characters, they need to be escaped with \ and then encoded.

pageNumber

integer

Page number. Defaults to 1.

pageSize

integer

Page size. Defaults to 50.

Response

200 - Successfully returned CSPM v1 Cluster Analysis resources.

data

array

totalCount

integer

Total number of resources matching filter (limited to 1000)

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Compliance Results

GET /api/cspm/v1/compliance/requirements

Get the compliance results for a given filter.

Request

Path Parameters

Query Parameters

filter

string

Query language expression for filtering results. Operators:

  • `and`, `or` and `not` logical operators
  • `=`, `!=`
  • `in`
  • `contains` and `startsWith` to check partial values of attributes

List of supported fields:

  • `name`
    • Type: string
    • Example: `name in ("1.5 - Exposing HostPort")`
    • Description: The compliance requirements that will be included in the results.
  • `policy.name`
    • Type: string
    • Example: `policy.name in ("CIS Distribution Independent Linux Benchmark", "CIS Docker Benchmark")`
    • Description: The compliance policies that will be included in the results.
  • `zone.name`
    • Type: string
    • Example: `zone.name="Entire Infrastructure"`
    • Description: The zones that will be included in the results.
  • `pass`
    • Type: boolean
    • Example: `pass=false`
    • Description: Show passing or failing requirements. If no value - will show both passing and failing requirements.
  • `severity`
    • Type: Integer
    • Example: `severity in (3, 2)`
    • Description: Requirement severity. (1=low, 2=medium, 3=high)

Note: Whenever filtering for values with special characters, the values need to be encoded. When “ or \ are the special characters, they need to be escaped with \ and then encoded.

pageNumber

integer

Page number. Defaults to 1.

pageSize

integer

Page size. Defaults to 10.

Response

200 - Successfully returned CSPM v1 Compliance Results.

data

array

totalCount

integer

Total number of requirements matching filter (limited to 1000)

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Compliance Views

GET /api/cspm/v1/compliance/views

Get the high-level compliance views for all zones.

Request

Response

200 - Successfully returned CSPM v1 Compliance Views.

data

array

List of Compliance Views

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Update favorite view

PUT /api/cspm/v1/compliance/views/favorite

Add view to favorites or remove from favorites.

Request

Request Body

View to add to favorites or remove from favorites.

isFavorite

boolean

Is favorite view.

policyId

integer

Policy ID.

zoneId

integer

Zone ID.

Response

200 - Successfully added or remove view from favorites.

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Accept Posture Risk

POST /api/cspm/v1/compliance/violations/acceptances

Accept a Posture Risk by parameters

Request

Request Body

Risk Accept Parameters

controlId

integer

Posture Control ID to accept

description

string

Acceptance additional description

expiresAt

string

Time to expire the risk accept in unix timestamp (milliseconds), will not expire if not provided.

filter

string

Query language expression for filtering results.

Operators:

  • `in`

List of supported fields:

  • `name`
    • Type: string
    • Example: `name in ("cf-templates-1s951ca3qbh1-us-west-2")`
    • Description: The name of the resource to accept risk for
  • `namespace`
    • Type: string
    • Example: `namespace in ("my-namespace")`
    • Description: The namespace to accept risk for
  • `kind`
    • Type: string
    • Example: `kind in ("AWS_S3_BUCKET")`
    • Description: The resource kind to accept risk for
  • `location`
    • Type: string
    • Example: `location in ("ap-southeast-2")`
    • Description: The cloud location/region to accept risk for
  • `providerType`
    • Type: string
    • Example: `providerType in ("AWS")`
    • Description: The cloud provider to accept risk for (AWS/GCP/Azure)

reason

string

Acceptance reason

sourceId

string

Account ID/Cluster/Host to accept risk for

zoneId

integer

Zone ID to accept the risk in

Response

200 - Successfully accepted a Posture Risk

acceptPeriod

string

Acceptance period in days

acceptanceDate

string

Acceptance date in unix timestamp (milliseconds)

controlId

integer

Posture Control ID

description

string

Acceptance additional description

expiresAt

string

Acceptance expiry date in unix timestamp (milliseconds)

id

string

Acceptance ID

isExpired

boolean

Is acceptance expired

reason

string

Acceptance reason

sourceId

string

Account ID/Cluster/Host

userDisplayName

string

User display name of the user that accepted the risk

username

string

Username of the user that accepted the risk

zoneId

integer

Zone ID

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Search and list Inventory Resources

GET /api/cspm/v1/inventory/resources

Search for Inventory Resources based on a given filter.

Request

Path Parameters

Query Parameters

filter

string

Query language expression for filtering results. Operators:

  • `and`, `or` and `not` logical operators
  • `=`, `!=`
  • `in`
  • `contains` and `startsWith` to check partial values of attributes
  • `exists` to check if a field exists and not empty

List of supported fields:

  • `account`
    • Type: string
    • Example: `account in ("285211435247")`
    • Description: The account that will be included in the results.
  • `cluster`
    • Type: string
    • Example: `cluster in ("cluster1")`
    • Description: The kubernetes cluster that will be included in the results.
  • `externalDNS`
    • Type: string
    • Example: `externalDNS in ("ec2-103-34-15-23.compute-1.amazonaws.com")`
    • Description: The external DNS that will be included in the results.
  • `distribution`
    • Type: string
    • Example: `distribution in ("gke", "vanilla")`
    • Description: The kubernetes distribution that will be included in the results.
  • `integrationName`
    • Type: string
    • Example: `integrationName = "github-integration"`
    • Description: The name of the integration an IaC resource belongs to.
  • `labels`
    • Type: string
    • Example: `not labels exists`
    • Description: The resource labels that will be included in the results.
  • `location`
  • `name`
    • Type: string
    • Example: `name starts with "acl"`
    • Description: The names that will be included in the results.
  • `namespace`
    • Type: string
    • Example: `namespace contains "production"`
    • Description: The namespace that will be included in the results.
  • `nodeType`
    • Type: string
    • Example: `nodeType="Worker"`
    • Description: The nodeType that will be included in the results.
  • `osName`
    • Type: string
    • Example: `osName != "linux"`
    • Description: The operating system that will be included in the results.
  • `osImage`
    • Type: string
    • Example: `osImage = "Ubuntu 18.04.6 LTS"`
    • Description: The operating system image that will be included in the results.
  • `organization`
    • Type: string
    • Example: `organization = "s-xqe92dwe61"`
    • Description: The organization that will be included in the results.
  • `platform`
    • Type: string
    • Example: `platform = "AWS"`
    • Description: The platform that will be included in the results.
  • `control.accepted`
    • Type: string
    • Example: `control.accepted exists`
    • Description: Include (or Exclude) only resources with accepted results. Supported operators: exists and not exists.
  • `policy`
    • Type: string
    • Example: `policy in (“CIS Docker Benchmark”)`
    • Description: Include resources that applied the selected policies. Supported operators: in, not in, exists, not exists.
  • `control.severity`
    • Type: string
    • Example: `control.severity in ("High")`
    • Description: Include resources that have violated risks in the selected severities. Supported operators: in, not in.
  • `control.failed`
    • Type: string
    • Example: `control.failed in ("/etc/default/docker owned by root:root")`
    • Description: Include resources that have violated the selected risks. Supported operators: in, not in, exists, not exists.
  • `policy.failed`
    • Type: string
    • Example: `policy.failed in ("PCI DSS (Payment Card Industry Data Security Standard) v3.2.1")`
    • Description: Include resources that failed the selected policies. Supported operators: in, not in, exists, not exists.
  • `policy.passed` in ("CIS Kubernetes V1.20 Benchmark")
    • Type: string
    • Example: `policy.passed in ("CIS Kubernetes V1.20 Benchmark")`
    • Description: Include resources that passed the selected policies. Supported operators: in, not in, exists, not exists.
  • `project`
    • Type: string
    • Example: `project = "project1"`
    • Description: The project that will be included in the results.
  • `region`
    • Type: string
    • Example: `region in ("europe-west1")`
    • Description: The regions that will be included in the results.
  • `repository`
    • Type: string
    • Example: `repository in ("e2e-repo")`
    • Description: The Repository an IaC resource belongs to.
  • `resourceOrigin`
    • Type: string
    • Example: `resourceOrigin = "Code"`
    • Description: Origin of the resource. Supported values: Code, Deployed.
  • `type`
    • Type: string
    • Example: `type = "Account"`
    • Description: The resource types that will be included in the results.
  • `subscription`
    • Type: string
    • Example: `subscription = "Azure subscription 1"`
    • Description: The Azure subscriptions that will be included in the results.
  • `sourceType`
    • Type: string
    • Example: `sourceType = "YAML"`
    • Description: The source type of an IaC resource. Supported values: YAML, Kustomize, Terraform, Helm.
  • `version`
    • Type: string
    • Example: `version = "1.1"`
    • Description: The versions that will be included in the results.
  • `zone`
    • Type: string
    • Example: `zone in ("zone1")`
    • Description: The zones that will be included in the results.
  • `category`
    • Type: string
    • Example: `category in ("Compute", "IAM")`
    • Description: The category that will be included in the results.

Note: Whenever filtering for values with special characters, the values need to be encoded. When “ or \ are the special characters, they need to be escaped with \ and then encoded.

pageNumber

integer

Page number. Defaults to 1.

pageSize

integer

Page size. Defaults to 20.

fields

string

The desired fields to be returned from the query. Defaults to `hash,name,platform,type,configapiendpoint,labels,lastseen,metadata,zones,posturepolicysummary,resourceorigin,category`. Fields that are not specified will return empty (even if they have values).

Response

200 - Successfully returned Inventory v1 resources.

data

array

Inventory resources

totalCount

integer

Total number of resources matching filter (limited to 1000)

401 - Invalid or missing auth token.

403 - Forbidden access to Inventory v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Retrieve a single Inventory Resource by its hash

GET /api/cspm/v1/inventory/resources/{hash}

Retrieve an Inventory Resource by its hash

Request

Path Parameters

hash

Required *

string

The resource’s hash

Query Parameters

fields

string

The desired fields to be returned from the query. Defaults to `hash,name,platform,type,configapiendpoint,labels,lastseen,metadata,zones,posturepolicysummary,resourceorigin,category`. Fields that are not specified will return empty (even if they have values).

Response

200 - Successfully returned an Inventory v1 resource.

data

object

401 - Invalid or missing auth token.

403 - Forbidden access to Inventory v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Kuberenetes Resources

GET /api/cspm/v1/kube/resources

Gets the list of Kubernetes resources and their compliance data for a specific control

Request

Path Parameters

Query Parameters

controlId

Required *

string

Control ID

resourceKind

Required *

string

Resource kind ('workload', 'subject', 'role' or 'group')

filter

string

Query language expression for filtering results. Operators:

  • `and`, `or` and `not` logical operators
  • `=`, `!=`
  • `in`
  • `contains` and `startsWith` to check partial values of attributes

List of supported fields:

  • `zones.id`
    • Type: integer
    • Example: `zones.id=1`
    • Description: Evaluated zone ID.
  • `zoneName`
    • Type: string
    • Description: Zone name
  • `policyId`
    • Type: integer
    • Example: `policyId=1`
    • Description: Evaluated policy ID.
  • `policyName`
    • Type: string
    • Description: Policy name
  • `pass`
    • Type: boolean
    • Example: `pass=true`
    • Description: Passing status of resource.
  • `accepted`
    • Type: boolean
    • Example: `accepted=true`
    • Description: Return accepted resources.
  • `clusterName`
    • Type: string
    • Description: Cluster name.
  • `name`
    • Type: string
    • Description: Resource name.
  • `namespace`
    • Type: string
    • Description: Resource namespace.
  • `type`
    • Type: string
    • Example: `type="DaemonSet"`
    • Description: Resource k8s type.
  • `labelValues`
    • Type: string
    • Description: Resource labels.
  • `distributionName`
    • Type: string
    • Description: Kubernetes Distribution Name.
    • Example: distributionName in ("Vanilla")
  • `distributionVersion`
    • Type: string
    • Description: Kubernetes Distribution Version.
    • Example: distributionVersion in (1.23, 1.25)
  • `platformAccountId`
    • Type: string
    • Description: Cloud Account ID
    • Example: 012345678901

Note: Whenever filtering for values with special characters, the values need to be encoded. When “ or \ are the special characters, they need to be escaped with \ and then encoded.

pageNumber

integer

Page number. Defaults to 1.

pageSize

integer

Page size. Defaults to 50.

Response

200 - Successfully returned CSPM v1 Kubernetes resources.

data

array

totalCount

integer

Total number of resources matching filter (limited to 1000)

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Save Control

POST /api/cspm/v1/policy/controls

Create or update a CSPM control.

Request

Request Body

description

string

Control description.

id

string

Control id.

name

string

Control name.

rego

string

Control rego.

remediationDetails

string

Control remediation details.

resourceKind

string

Resource kind.

severity

string

Control severity.

Response

200 - Successfully saved control.

data

object

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Get Resource Kinds

GET /api/cspm/v1/policy/controls/resource-template/kinds

Get the list of resource kinds for controls.

Request

Response

200 - Successfully retrieved resource kinds.

resourceKinds

array

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Get Resource Example

GET /api/cspm/v1/policy/controls/resource-template/view/{resource_kind}

Get the resource example for a specific resource kind.

Request

Path Parameters

resource_kind

Required *

string

Query Parameters

Response

200 - Successfully retrieved resource example.

data

string

Resource example.

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Test Rego

POST /api/cspm/v1/policy/controls/test-rego

Test a rego policy.

Request

Request Body

rego

string

Control rego.

resourceKind

string

Resource kind.

Response

200 - Successfully tested rego policy.

message

string

Test rego error message.

passed

boolean

Test rego result.

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Get Control Configurations

GET /api/cspm/v1/policy/controls/{controlId}/configuration

Get control configurations for a specific control ID.

Request

Response

200 - Successfully retrieved control configurations.

default

object

system

object

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Update Control Configurations

PUT /api/cspm/v1/policy/controls/{controlId}/configuration

Update control configurations for a specific control ID.

Request

Request Body

default

Required *

object

severity

integer

Control severity. (1=low, 2=medium, 3=high)

violationValue

array

Control evaluation value, which may consist of multiple values.

Response

200 - Successfully updated control configurations.

default

object

system

object

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Get Policies

GET /api/cspm/v1/policy/policies/list

Gets the list of policies for a given filter.

Request

Response

200 - Successfully returned CSPM v1 policies.

data

array

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Get Zones

GET /api/cspm/v1/policy/zones

Gets the list of zones. This endpoint is deprecated. For more information, see the release notes.

Request

Path Parameters

Query Parameters

filter

string

Query language expression for filtering results.

Operators:

  • `and`, `or` and `not` logical operators
  • `=`, `!=`
  • `>`, `>=`, `<`, `<=`
  • `in`
  • `contains` and `startsWith` to check partial values of attributes

Note: Whenever filtering for values with special characters, the values need to be encoded. When “ or \ are the special characters, they need to be escaped with \ and then encoded.

pageNumber

integer

Page number. Defaults to 1.

pageSize

integer

Page size. Defaults to 50.

Response

200 - Successfully returned CSPM v1 zones.

data

array

totalCount

integer

Total number of zones matching filter (limited to 1000)

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Save Zone

POST /api/cspm/v1/policy/zones

Create a new zone or update an existing one. This endpoint is deprecated. For more information, see the release notes.

Request

Request Body

Zone to create

description

string

Zone description

id

integer

Zone ID, if provided will update the existing Zone with the given ID.

name

string

Zone name

policyIds

array

Zone policy IDs

scopes

array

Zone scopes

Response

200 - Successfully created or updated CSPM v1 zone.

data

object

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Delete Zone

DELETE /api/cspm/v1/policy/zones/delete/{id}

Deletes a zone. This endpoint is deprecated. For more information, see the release notes.

Request

Path Parameters

id

Required *

integer

Zone ID

Query Parameters

Response

200 - Successfully deleted CSPM v1 zone.

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Search and list CSPM Tasks

GET /api/cspm/v1/tasks

Search and list CSPM Tasks.

Request

Path Parameters

Query Parameters

filter

string

Query language expression for filtering results.

Operators:

  • `and`, `or` and `not` logical operators
  • `=`, `!=`
  • `>`, `>=`, `<`, `<=`
  • `in`
  • `contains` and `startsWith` to check partial values of attributes

List of supported fields:

  • `type`
    • Type: string
    • Description: Task type.
    • Kubernetes Host Scan - Scans and evaluates the Linux, Docker, and Kubernetes configurations on Kubernetes hosts.
    • Kubernetes Scan - Scans and evaluates Kubernetes resource manifests.
    • Git Integration Scan - Scans and evaluates Infrastructure-as-Code (IAC) files from a Git integration.
    • Init Cloud Scan - Initiates Cloud Scan tasks for connected cloud accounts.
    • Cloud Scan - Scans and evaluates cloud resources.
    • Host Benchmark Scan - Scans and evaluates Linux and Docker configurations on a Linux host.
    • Supported operators: `=`, `!=`, `in`, `not in`
    • Example: `type="kuberenetes scan"`
  • `parameters`:
    • Type: string
    • Description: Task parameters:
    • Benchmark Type
      Description: The type of requested scan - 0=Linux, 1=Docker, 2=Kubernetes. A benchmark scan collects Linux\Docker\Kubernetes configuration per this parameter.
      Related Task Types: Kubernetes Host Scan, Kubernetes Scan, Host Benchmark Scan
    • Cluster
      Description: The kubernetes cluster name.
      Related Task Types: Kubernetes Host Scan, Kubernetes Scan
    • Host
      Description: The linux host name to run Linux\Docker benchmark scan on.
      Related Task Types: Host Benchmark Scan
    • GitIntegration:
      Description: The Git Integration Id to run a scan on.
      Related Task Types: Git Integration Scan
    • Account
      Description: The Cloud Account Id. Related Task Types: Init Cloud Scan, Cloud Scan
    • ProviderType
      Description: The Cloud Account provider type. Possible values are "AWS", "GCP", or "Azure". Related Task Types: Init Cloud Scan, Cloud Scan
    • example: `parameters contains 'providertype: aws'`
  • `startDate`
    • Type: string
    • Description: Task created at in UTC. Format: "YYYY-MM-DD HH:mm:ss"
    • Supported operators: `=`,`!=`,`>`, `>=`, `<`,`<=`
    • Example: `startDate > "2023-05-28 10:00:00"`
  • `endDate`
    • Type: string
    • Description: Task ended at in UTC. Format: "YYYY-MM-DD HH:mm:ss"
    • Supported operators: `=`,`!=`,`>`, `>=`, `<`,`<=`
    • Example: `endDate <= "2023-05-28 10:00:00"`
  • `status`
    • Type: string
    • Description: Task status.
    • Pending
    • Running
    • Completed
    • Failed
    • Canceled
    • CompletedWithWarning
    • Supported operators: `=`, `!=`, `in`, `not in`
    • Example: `status in ("running", "pending")`

Note: Whenever filtering for values with special characters, the values need to be encoded. When “ or \ are the special characters, they need to be escaped with \ and then encoded.

pageNumber

integer

Page number. Defaults to 1.

pageSize

integer

Page size. Defaults to 20.

Response

200 - Successfully returned CSPM v1 tasks.

data

array

totalCount

integer

Total number of tasks matching filter (limited to 1000)

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Task

GET /api/cspm/v1/tasks/{taskId}

Gets the CSPM task for a given task Id.

Request

Path Parameters

taskId

Required *

integer

Task ID

Query Parameters

Response

200 - Successfully returned CSPM v1 tasks.

endDate

string

Task when the task ended in UTC.

id

integer

Task ID.

logs

object

parameters

array

Task parameter:

  • Benchmark Type
    Description: The type of requested scan - 0=Linux, 1=Docker, 2=Kubernetes. A benchmark scan collects Linux\Docker\Kubernetes configuration per this parameter.
    Related Task Types: Kubernetes Host Scan, Kubernetes Scan, Host Benchmark Scan
  • Cluster
    Description: The kubernetes cluster name.
    Related Task Types: Kubernetes Host Scan, Kubernetes Scan
  • Host
    Description: The linux host name to run Linux\Docker benchmark scan on.
    Related Task Types: Host Benchmark Scan
  • GitIntegration:
    Description: The Git Integration Id to run a scan on.
    Related Task Types: Git Integration Scan
  • Account
    Description: The Cloud Account Id.
    Related Task Types: Init Cloud Scan, Cloud Scan
  • ProviderType
    Description: The Cloud Account provider type. Possible values are "AWS", "GCP", or "Azure".
    Related Task Types: Init Cloud Scan, Cloud Scan"

startDate

string

Time when the task created in UTC.

status

string

Task status. - Pending - Running - Completed - Failed - Canceled - CompletedWithWarning

type

string

Task type. - Kubernetes Host Scan - Scans and evaluates the Linux, Docker, and Kubernetes configurations on Kubernetes hosts. - Kubernetes Scan - Scans and evaluates Kubernetes resource manifests. - Git Integration Scan - Scans and evaluates Infrastructure-as-Code (IAC) files from a Git integration. - Init Cloud Scan - Initiates Cloud Scan tasks for connected cloud accounts. - Cloud Scan - Scans and evaluates cloud resources. - Host Benchmark Scan - Scans and evaluates Linux and Docker configurations on a Linux host.

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Rerun Task

POST /api/cspm/v1/tasks/{taskId}/rerun

Rerun task by task Id.

Request

Path Parameters

taskId

Required *

integer

Task ID

Query Parameters

Response

200 - Successfully reran CSPM task.

taskId

integer

Task ID.

401 - Invalid or missing auth token.

403 - Forbidden access to CSPM v1.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

503 - Service is unavailable.

Retrieve a group of all rules matching a list of given names

GET /api/policies/v3/rules/groups

Retrieve a group of all rules matching a list of given names. This is used to show how a base rule is modified by later rules that override/append to the rule. This API would be faster than making calls to "#/api/secure/rules/groups" with one rule name at a time

Request

Path Parameters

Query Parameters

names

Required *

array

Response

200 - A wrapper object containing array of rule groups, where outside array size will be the same size as the valid rule names passed in query params and these will be sorted by the name. Each rule group will contain base rule followed by appends and will be ordered by rule origin ["Secure UI", "Sysdig", "Profiling", "Tuner"]

400 - Indicates the names field is either missing or is empty

Download a previously generated report

GET /api/reporting/v1/{domain}/reports/{fileId}

Request

Response

200 - Report content

307 - Requested report available for download at another location

404 - Requested report not found

List all the saved schedules for report generation

GET /api/reporting/v1/{domain}/schedules

Request

Response

200 - The list of all saved schedules for report generation

Create a new schedule for report generation

POST /api/reporting/v1/{domain}/schedules

Request

Request Body

configuration

Required *

object

Configuration of a report generation

columns

Required *

array

The columns to be included in the generated report, in the order desired

queryFilters

object

Set of additional filter conditions on the generated reports. Filters are defined as map with filter names as key.

scope

Required *

object

Filter the results based on the given scope

sorting

Required *

array

Sorting criteria

createdAt

integer

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

Required *

boolean

Whether the report generation is active or not

id

Required *

string

Unique opaque identifier of the report generation schedule.

name

Required *

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report along with the chosen report format

onDemandGenerationEnabled

boolean

Whether the on-demand report generation is enabled or not

reportType

string

The kind of report to generate

resources

object

The download link of the last generated report for each configured format

schedule

Required *

string

A cron-like expression representing the generation frequency of the reports.

status

object

Schedule, start and completion timestamps for the latest report

lastCompletedAt

integer

The timestamp when the generation of the scheduled report completed the last time

lastScheduledAt

integer

The timestamp when a new generation of the scheduled report was last queued

lastStartedAt

integer

The timestamp when the generation of the scheduled report started the last time

updatedAt

integer

The timestamp when the schedule was last updated

Response

200 - The created schedule for report generation

configuration

object

Configuration of a report generation

createdAt

integer

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

boolean

Whether the report generation is active or not

id

string

Unique opaque identifier of the report generation schedule.

name

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report along with the chosen report format

onDemandGenerationEnabled

boolean

Whether the on-demand report generation is enabled or not

reportType

string

The kind of report to generate

resources

object

The download link of the last generated report for each configured format

schedule

string

A cron-like expression representing the generation frequency of the reports.

status

object

Schedule, start and completion timestamps for the latest report

updatedAt

integer

The timestamp when the schedule was last updated

400 - Bad Request

Remove the requested schedule for report generation

DELETE /api/reporting/v1/{domain}/schedules/{scheduleId}

Request

Response

204 - Schedule for report generation removed

Get the configuration of the requested schedule for report generation

GET /api/reporting/v1/{domain}/schedules/{scheduleId}

Request

Response

200 - Configuration for the requested schedule for report generation

configuration

object

Configuration of a report generation

createdAt

integer

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

boolean

Whether the report generation is active or not

id

string

Unique opaque identifier of the report generation schedule.

name

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report along with the chosen report format

onDemandGenerationEnabled

boolean

Whether the on-demand report generation is enabled or not

reportType

string

The kind of report to generate

resources

object

The download link of the last generated report for each configured format

schedule

string

A cron-like expression representing the generation frequency of the reports.

status

object

Schedule, start and completion timestamps for the latest report

updatedAt

integer

The timestamp when the schedule was last updated

404 - Requested report generation schedule not found

Edit the configuration of the requested schedule for report generation

PUT /api/reporting/v1/{domain}/schedules/{scheduleId}

Request

Request Body

configuration

Required *

object

Configuration of a report generation

columns

Required *

array

The columns to be included in the generated report, in the order desired

queryFilters

object

Set of additional filter conditions on the generated reports. Filters are defined as map with filter names as key.

scope

Required *

object

Filter the results based on the given scope

sorting

Required *

array

Sorting criteria

createdAt

integer

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

Required *

boolean

Whether the report generation is active or not

id

Required *

string

Unique opaque identifier of the report generation schedule.

name

Required *

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report along with the chosen report format

onDemandGenerationEnabled

boolean

Whether the on-demand report generation is enabled or not

reportType

string

The kind of report to generate

resources

object

The download link of the last generated report for each configured format

schedule

Required *

string

A cron-like expression representing the generation frequency of the reports.

status

object

Schedule, start and completion timestamps for the latest report

lastCompletedAt

integer

The timestamp when the generation of the scheduled report completed the last time

lastScheduledAt

integer

The timestamp when a new generation of the scheduled report was last queued

lastStartedAt

integer

The timestamp when the generation of the scheduled report started the last time

updatedAt

integer

The timestamp when the schedule was last updated

Response

200 - Updated configuration for the requested schedule for report generation

configuration

object

Configuration of a report generation

createdAt

integer

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

boolean

Whether the report generation is active or not

id

string

Unique opaque identifier of the report generation schedule.

name

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report along with the chosen report format

onDemandGenerationEnabled

boolean

Whether the on-demand report generation is enabled or not

reportType

string

The kind of report to generate

resources

object

The download link of the last generated report for each configured format

schedule

string

A cron-like expression representing the generation frequency of the reports.

status

object

Schedule, start and completion timestamps for the latest report

updatedAt

integer

The timestamp when the schedule was last updated

400 - Bad Request

404 - Requested report generation schedule not found

Generate an on-demand report using the configuration of the requested schedule

POST /api/reporting/v1/{domain}/schedules/{scheduleId}/run

Request

Response

202 - Generation of requested report accepted

400 - Bad Request

403 - Generation of requested report is either forbidden or disabled

404 - Requested report generation schedule not found

429 - Report generation is either already running or will be running shortly

Get all the options available to define a report configuration

GET /api/reporting/v1/{domain}/{reportType}/config

Request

Response

200 - Options available to define a report configuration

availableColumns

array

The available columns that can be chosen and included in a generated report

availableFilters

array

The available conditions that can be set to filter the results in a generated report

Get a result preview of a report with the given configuration

POST /api/reporting/v1/{domain}/{reportType}/preview

Request

Request Body

columns

Required *

array

The columns to be included in the generated report, in the order desired

queryFilters

object

Set of additional filter conditions on the generated reports. Filters are defined as map with filter names as key.

scope

Required *

object

Filter the results based on the given scope

imageId

string

restrict the report generation on the given image ID

registry

string

Docker registry

repository

string

Docker image repository

runtimeEnabled

boolean

whether the report should be filtered using a runtime scope

runtimeScope

string

An AND-composed string of predicates that restrict the scope of the generated report

tag

string

Docker image tag

sorting

Required *

array

Sorting criteria

Response

200 - The result preview for the requested report configuration

400 - Bad Request

List all the saved schedules for report generation

GET /api/scanning/reporting/v2/schedules

Note This API is compatible only with new scanning engine

Request

Response

200 - The list of all saved schedules for report generation

Create a new schedule for report generation

POST /api/scanning/reporting/v2/schedules

Note This API is compatible only with new scanning engine

Request

Request Body

createdAt

object

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

Required *

boolean

Whether the report generation is active or not

entityType

object

The kind of entity the report is generated from

filters

object

Filters for the report.<br><br> To retrieve available filters for a given report type, please call the config endpoint first.

conditionFilters

object

Set of additional filter conditions on the generated reports. Filters are defined as map with filter names as key.

scopeFilter

string

Scope Filters for the Report

id

object

ID of the schedule linked to the report generation

name

Required *

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report

reportFormat

Required *

string

Format of the generated report

reportLastCompletedAt

object

The timestamp when the generation of the scheduled report completed the last time

reportLastScheduledAt

object

The timestamp when a new generation of the scheduled report was last queued

reportLastStartedAt

object

The timestamp when the generation of the scheduled report started the last time

reportType

Required *

string

The kind of data the report contains

schedule

Required *

string

A cron-like expression representing the generation frequency of the reports.

updatedAt

object

The timestamp when the schedule was last updated

Response

200 - The created schedule for report generation

createdAt

object

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

boolean

Whether the report generation is active or not

entityType

object

The kind of entity the report is generated from

filters

object

Filters for the report.<br><br> To retrieve available filters for a given report type, please call the config endpoint first.

id

object

ID of the schedule linked to the report generation

name

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report

reportFormat

string

Format of the generated report

reportLastCompletedAt

object

The timestamp when the generation of the scheduled report completed the last time

reportLastScheduledAt

object

The timestamp when a new generation of the scheduled report was last queued

reportLastStartedAt

object

The timestamp when the generation of the scheduled report started the last time

reportType

string

The kind of data the report contains

schedule

string

A cron-like expression representing the generation frequency of the reports.

updatedAt

object

The timestamp when the schedule was last updated

400 - Bad Request

Disable all schedules for a given customer

POST /api/scanning/reporting/v2/schedules/disable

Note This API is compatible only with new scanning engine

Request

Response

200 - Request completed successfully

400 - Bad Request

403 - Disable is either forbidden or disabled

Remove the requested schedule for report generation

DELETE /api/scanning/reporting/v2/schedules/{scheduleId}

Note This API is compatible only with new scanning engine

Request

Response

204 - Schedule for report generation removed

404 - Schedule not found

Get the configuration of the requested schedule for report generation

GET /api/scanning/reporting/v2/schedules/{scheduleId}

Note This API is compatible only with new scanning engine

Request

Response

200 - Configuration for the requested schedule for report generation

createdAt

object

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

boolean

Whether the report generation is active or not

entityType

object

The kind of entity the report is generated from

filters

object

Filters for the report.<br><br> To retrieve available filters for a given report type, please call the config endpoint first.

id

object

ID of the schedule linked to the report generation

name

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report

reportFormat

string

Format of the generated report

reportLastCompletedAt

object

The timestamp when the generation of the scheduled report completed the last time

reportLastScheduledAt

object

The timestamp when a new generation of the scheduled report was last queued

reportLastStartedAt

object

The timestamp when the generation of the scheduled report started the last time

reportType

string

The kind of data the report contains

schedule

string

A cron-like expression representing the generation frequency of the reports.

updatedAt

object

The timestamp when the schedule was last updated

404 - Requested report generation schedule not found

Edit the configuration of the requested schedule for report generation

PUT /api/scanning/reporting/v2/schedules/{scheduleId}

Note This API is compatible only with new scanning engine

Request

Request Body

createdAt

object

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

Required *

boolean

Whether the report generation is active or not

entityType

object

The kind of entity the report is generated from

filters

object

Filters for the report.<br><br> To retrieve available filters for a given report type, please call the config endpoint first.

conditionFilters

object

Set of additional filter conditions on the generated reports. Filters are defined as map with filter names as key.

scopeFilter

string

Scope Filters for the Report

id

object

ID of the schedule linked to the report generation

name

Required *

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report

reportFormat

Required *

string

Format of the generated report

reportLastCompletedAt

object

The timestamp when the generation of the scheduled report completed the last time

reportLastScheduledAt

object

The timestamp when a new generation of the scheduled report was last queued

reportLastStartedAt

object

The timestamp when the generation of the scheduled report started the last time

reportType

Required *

string

The kind of data the report contains

schedule

Required *

string

A cron-like expression representing the generation frequency of the reports.

updatedAt

object

The timestamp when the schedule was last updated

Response

200 - Updated configuration for the requested schedule for report generation

createdAt

object

The timestamp when the schedule was defined the first time

description

string

A human-readable description for the report content.

enabled

boolean

Whether the report generation is active or not

entityType

object

The kind of entity the report is generated from

filters

object

Filters for the report.<br><br> To retrieve available filters for a given report type, please call the config endpoint first.

id

object

ID of the schedule linked to the report generation

name

string

The title for the generated reports.

notificationChannels

array

Notification channels where to notify the generation of a new report

reportFormat

string

Format of the generated report

reportLastCompletedAt

object

The timestamp when the generation of the scheduled report completed the last time

reportLastScheduledAt

object

The timestamp when a new generation of the scheduled report was last queued

reportLastStartedAt

object

The timestamp when the generation of the scheduled report started the last time

reportType

string

The kind of data the report contains

schedule

string

A cron-like expression representing the generation frequency of the reports.

updatedAt

object

The timestamp when the schedule was last updated

400 - Bad Request

404 - Requested report generation schedule not found

Download the last generated report of the given schedule

GET /api/scanning/reporting/v2/schedules/{scheduleId}/download

Note This API is compatible only with new scanning engine

Request

Response

200 - Requested report available for download at another location

404 - Requested report not found

Return headers of the download request

HEAD /api/scanning/reporting/v2/schedules/{scheduleId}/download

Note This API is compatible only with new scanning engine

Request

Response

307 - Requested report available for download at another location

404 - Requested report not found

Get the list of reports generated by a schedule

GET /api/scanning/reporting/v2/schedules/{scheduleId}/reports

Note This API is compatible only with new scanning engine

Request

Response

200 - Configuration for the requested schedule for report generation

404 - Requested schedule not found

Get a specific report

GET /api/scanning/reporting/v2/schedules/{scheduleId}/reports/{reportId}

Note This API is compatible only with new scanning engine

Request

Response

200 - Configuration for the requested schedule for report generation

id

object

ID of the generated report

scheduleId

object

ID of the schedule that generated the report

completedAt

object

The timestamp when the generation of the scheduled report completed the last time

entityType

string

The kind of entity the report is generated from

error

string

Error message

reportFormat

string

Format of the generated report

reportType

string

The kind of data the report contains

scheduledAt

object

The timestamp when a new generation of the scheduled report was last queued

startedAt

object

The timestamp when the generation of the scheduled report started the last time

status

string

Status of the current report execution

404 - Requested schedule not found

Download a specific report

GET /api/scanning/reporting/v2/schedules/{scheduleId}/reports/{reportId}/download

Note This API is compatible only with new scanning engine

Request

Response

307 - Requested report available for download at another location

404 - Requested report not found

Get the download headers

HEAD /api/scanning/reporting/v2/schedules/{scheduleId}/reports/{reportId}/download

Note This API is compatible only with new scanning engine

Request

Response

200 - Requested report available for download at another location

404 - Requested report not found

Generate an on-demand report using the configuration of the requested schedule

POST /api/scanning/reporting/v2/schedules/{scheduleId}/run

Note This API is compatible only with new scanning engine

Request

Response

202 - Generation of requested report accepted

400 - Bad Request

403 - Generation of requested report is either forbidden or disabled

404 - Requested report generation schedule not found

409 - Report generation is either already running or will be running shortly

Get the status of the current and last completed reports generated by the schedule

GET /api/scanning/reporting/v2/schedules/{scheduleId}/status

Note This API is compatible only with new scanning engine

Request

Response

200 - Status of a given schedule

currentReport

object

Status of a given report

lastCompletedReport

object

Status of a given report

scheduleId

object

ID of the schedule that generated the report

404 - Requested report generation schedule not found

Get all the options available to define a report configuration

GET /api/scanning/reporting/v2/{reportType}/config

Note This API is compatible only with new scanning engine

Request

Response

200 - Options available to define a report configuration

availableConditionFilters

array

The available conditions that can be set to filter the results in a generated report

availableScopeFilters

array

The available scope filters that can be used to select the scope

Get all the options available to define a report configuration

GET /api/scanning/reporting/v2/{reportType}/entities/{entityType}/config

Note This API is compatible only with new scanning engine

Request

Response

200 - Options available to define a report configuration

availableConditionFilters

array

The available conditions that can be set to filter the results in a generated report

availableScopeFilters

array

The available scope filters that can be used to select the scope

Get a result preview of a report with the given configuration

POST /api/scanning/reporting/v2/{reportType}/entities/{entityType}/preview

Note This API is compatible only with new scanning engine

Request

Request Body

filters

object

Filters for the report.<br><br> To retrieve available filters for a given report type, please call the config endpoint first.

conditionFilters

object

Set of additional filter conditions on the generated reports. Filters are defined as map with filter names as key.

scopeFilter

string

Scope Filters for the Report

Path Parameters

Query Parameters

limit

number

Response

200 - The result preview for the requested report configuration

400 - Bad Request

Get a result preview of a report with the given configuration

POST /api/scanning/reporting/v2/{reportType}/preview

Note This API is compatible only with new scanning engine

Request

Request Body

filters

object

Filters for the report.<br><br> To retrieve available filters for a given report type, please call the config endpoint first.

conditionFilters

object

Set of additional filter conditions on the generated reports. Filters are defined as map with filter names as key.

scopeFilter

string

Scope Filters for the Report

Path Parameters

Query Parameters

limit

number

Response

200 - The result preview for the requested report configuration

400 - Bad Request

Create a new falco list

POST /api/secure/falco/lists

Save a new falcolist

Request

Request Body

createdOn

Required *

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

Required *

string

The name of a Falco rules file

id

Required *

integer

A unique identifier representing a specific rule

modifiedOn

Required *

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

Required *

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

Required *

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

Required *

number

The version is incremented when the update is successful.

versionId

Required *

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

Required *

object

components

Required *

array

an array containing the broken-up components of this falco list&#x27;s items field

items

Required *

array

the array of items as represented in the yaml List

Response

200 - The saved falco list

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

object

400 - The provided falco list is not valid

Retrieve a group of falco lists having a given name

GET /api/secure/falco/lists/groups

Retrieve a group of all falco lists having the given name. This is used to show how a base list is modified by later lists that override/append to the list.

Request

Path Parameters

Query Parameters

name

Required *

string

Response

200 - An array of lists

Retrieve a list of summary falco list information, grouped by list name

GET /api/secure/falco/lists/summaries

Returns the list of falco lists in the system. These are grouped by name and do not necessarily represent individual falco list objects, as multiple falco lists can have the same name.

Request

Response

200 - An array of falco lists grouped by name.

Delete a Falco list

DELETE /api/secure/falco/lists/{listId}

Request

Path Parameters

listId

Required *

integer

Query Parameters

Response

200 - The falco list that was just deleted

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

object

Retrieve a Falco list

GET /api/secure/falco/lists/{listId}

Request

Path Parameters

listId

Required *

integer

Query Parameters

Response

200 - The falco list with the given id

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

object

Update a Falco list

PUT /api/secure/falco/lists/{listId}

Request

Request Body

createdOn

Required *

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

Required *

string

The name of a Falco rules file

id

Required *

integer

A unique identifier representing a specific rule

modifiedOn

Required *

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

Required *

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

Required *

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

Required *

number

The version is incremented when the update is successful.

versionId

Required *

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

Required *

object

components

Required *

array

an array containing the broken-up components of this falco list&#x27;s items field

items

Required *

array

the array of items as represented in the yaml List

Path Parameters

listId

Required *

integer

Query Parameters

Response

200 - The falco list with the given id

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

object

400 - The provided falcolist is not valid

404 - Resource with the specified ID could not be found. More information about 404 can be found at https://httpstatuses.com/404

409 - The user must first perform a GET request to get the current version of the resource. The user must then compare the remote version with the local expected version and merge any updates from remote if needed and then update the local version to match the remote version. More information about 409 can be found at https://httpstatuses.com/409

Create a new Falco macro

POST /api/secure/falco/macros

Save a new macro

Request

Request Body

createdOn

Required *

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

Required *

string

The name of a Falco rules file

id

Required *

integer

A unique identifier representing a specific rule

modifiedOn

Required *

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

Required *

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

Required *

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

Required *

number

The version is incremented when the update is successful.

versionId

Required *

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

condition

Required *

object

components

Required *

array

an array containing the broken-up components of this falco rule&#x27;s condition field

condition

Required *

string

the full condition text exactly as represented in the yaml file

Response

200 - The saved FalcoMacro

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

condition

object

400 - The provided FalcoMacro was invalid

Retrieve a group of all falco macros having a given name

GET /api/secure/falco/macros/groups

Retrieve a group of all falco macros having the given name. This is used to show how a base macro is modified by later macros that override/append to the macro.

Request

Path Parameters

Query Parameters

name

Required *

string

Response

200 - An array of macros

Retrieve a list of summary macro information, grouped by macro name

GET /api/secure/falco/macros/summaries

Returns the list of macros in the system. These are grouped by name and do not necessarily represent individual macro objects, as multiple macros can have the same name.

Request

Response

200 - An array of macros grouped by name.

Delete a Falco macro

DELETE /api/secure/falco/macros/{macroId}

Request

Path Parameters

macroId

Required *

integer

Query Parameters

Response

200 - The macro that was just deleted

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

condition

object

Retrieve a Falco macro

GET /api/secure/falco/macros/{macroId}

Request

Path Parameters

macroId

Required *

integer

Query Parameters

Response

200 - The macro with the given id

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

condition

object

Update a Falco macro

PUT /api/secure/falco/macros/{macroId}

Request

Request Body

createdOn

Required *

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

Required *

string

The name of a Falco rules file

id

Required *

integer

A unique identifier representing a specific rule

modifiedOn

Required *

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

Required *

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

Required *

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

Required *

number

The version is incremented when the update is successful.

versionId

Required *

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

condition

Required *

object

components

Required *

array

an array containing the broken-up components of this falco rule&#x27;s condition field

condition

Required *

string

the full condition text exactly as represented in the yaml file

Path Parameters

macroId

Required *

integer

Query Parameters

Response

200 - The macro with the given id

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

condition

object

400 - The updated macro is not valid

404 - Resource with the specified ID could not be found. More information about 404 can be found at https://httpstatuses.com/404

409 - The user must first perform a GET request to get the current version of the resource. The user must then compare the remote version with the local expected version and merge any updates from remote if needed and then update the local version to match the remote version. More information about 409 can be found at https://httpstatuses.com/409

Get the last 10 versions of a list.

GET /api/secure/lists/groups/versions

Request

Path Parameters

Query Parameters

name

Required *

string

Response

200 - Structure representing 10 latest versions of a list.

versions

array

Compares two list versions

GET /api/secure/lists/groups/versions/diff/{version1}/{version2}

Request

Path Parameters

version1

Required *

integer

version2

Required *

integer

Query Parameters

name

Required *

string

Response

200 - Structure representing comparison between 2 lists.

Gets latest version of a list.

GET /api/secure/lists/groups/versions/latest

Request

Path Parameters

Query Parameters

name

Required *

string

Response

200 - Structure representing latest version of a list.

significance

string

versions

array

Get the last 10 versions of a macro.

GET /api/secure/macros/groups/versions

Request

Path Parameters

Query Parameters

name

Required *

string

Response

200 - Structure representing 10 latest versions of a macro.

versions

array

Compares two macro versions

GET /api/secure/macros/groups/versions/diff/{version1}/{version2}

Request

Path Parameters

version1

Required *

integer

version2

Required *

integer

Query Parameters

name

Required *

string

Response

200 - Structure representing comparison between 2 macros.

versions

array

Gets latest version of a macro.

GET /api/secure/macros/groups/versions/latest

Request

Path Parameters

Query Parameters

name

Required *

string

Response

200 - Structure representing latest version of a rule.

significance

string

versions

array

Get the connection status

GET /api/secure/onboarding/v2/connectionStatus/{environment}

Gets the connection status (cloud account or agent installation) based on the user's primary environment selection.

Request

Path Parameters

environment

Required *

string

Environment to check connection status.

Query Parameters

Response

200 - OK

isConnected

boolean

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

Get the list of available environments.

GET /api/secure/onboarding/v2/environments

Gets the list of available environments that customers can connect.

Request

Response

200 - OK

primary

array

secondary

array

Get the selected environments.

GET /api/secure/onboarding/v2/environments/selection

Gets the list of selected environments that the customer wishes to connect.

Request

Response

200 - OK

additionalEnvironments

array

primaryEnvironment

string

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

Register the selected environment.

POST /api/secure/onboarding/v2/environments/selection

Registers the selected environment that the customer wishes to connect.

Request

Request Body

environment

string

Response

200 - Environment has been successfully selected

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

500 - The server encountered an unexpected condition.

Skips the onboarding feature per customer

PUT /api/secure/onboarding/v2/feature/customer/skip

Skips the onboarding feature per customer which results in hiding the first two screen of first time onboarding.

Request

Request Body

onboardingSkipped

boolean

Response

200 - OK

customerID

integer

Customer Id of the connected user

falcoCloudBetaFlows

boolean

If Falco Cloud Betaflows are enabled for the customer

falcoCloudEnabled

boolean

If Falco Cloud is enabled for the customer

newOnboardingWizard

boolean

If new onboarding wizard is enabled for the customer

onboardingEnabled

boolean

If onboarding is enabled for the customer/setup

onboardingSkipped

boolean

If onboarding is to be skipped for the customer

403 - Account is forbidden (inactive/expired customer).

500 - The server encountered an unexpected condition.

Check the onboarding feature status

GET /api/secure/onboarding/v2/feature/status

Checks the feature status for the user/customer.

Request

Response

200 - OK

customerID

integer

Customer Id of the connected user

falcoCloudBetaFlows

boolean

If Falco Cloud Betaflows are enabled for the customer

falcoCloudEnabled

boolean

If Falco Cloud is enabled for the customer

newOnboardingWizard

boolean

If new onboarding wizard is enabled for the customer

onboardingEnabled

boolean

If onboarding is enabled for the customer/setup

onboardingSkipped

boolean

If onboarding is to be skipped for the customer

403 - Account is forbidden (inactive/expired customer).

500 - The server encountered an unexpected condition.

Get all compliance frameworks.

GET /api/secure/onboarding/v2/frameworks

Gets all compliance frameworks across all supported environments.

Request

Response

200 - OK

Get the list of compliance frameworks.

GET /api/secure/onboarding/v2/frameworks/{environment}

Gets the compliance frameworks for the specified environment.

Request

Path Parameters

environment

Required *

string

Query Parameters

Response

200 - OK

commonComplianceFrameworks

array

industryBestPractice

array

requiredFrameworks

array

400 - The given request is invalid.

Create compliance tasks

POST /api/secure/onboarding/v2/frameworks/{environment}

Creates the set of compliance tasks for the specified environment.

Request

Request Body

Path Parameters

environment

Required *

string

Query Parameters

Response

200 - OK

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

Get the install action.

GET /api/secure/onboarding/v2/installActions/{installType}

Gets the appropriate install action for the specified installation type.

Request

Path Parameters

installType

Required *

string

Query Parameters

accountType

string

Cloud provider account type. Only applies to AWS, GCP, or Azure.

installOption

string

Install option for agent. Only applies to Kubernetes, Linux, or Docker.

Response

200 - OK

installAction

string

tokens

object

400 - The given request is invalid.

500 - The server encountered an unexpected condition.

Get values.yaml content

GET /api/secure/onboarding/v2/installActions/{installType}/values

Gets the values.yaml content to install the agent on Kubernetes

Request

Path Parameters

installType

Required *

string

Query Parameters

Response

200 - The string literal to copy and paste into a values.yaml file

400 - The given request is invalid.

Check the onboarding status

GET /api/secure/onboarding/v2/status

Checks if this is the first user ever in the account to login/ if it is this user's first login.

Request

Response

200 - OK

onboardingCompleted

boolean

primaryEnvConnnected

boolean

If any user of the customer has connected a primary environment

403 - Account is forbidden (inactive/expired customer).

500 - The server encountered an unexpected condition.

Get a user profile

GET /api/secure/onboarding/v2/userProfile

Gets a user's profile.

Request

Response

200 - OK

additionalEnvironments

array

agentConnected

boolean

cicdTool

string

complianceFrameworks

array

iacManifestStore

string

notificationChannels

array

onboardingCompleted

boolean

primaryEnvironment

string

scanningOnly

boolean

userId

integer

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

Get the user profile questionnaire

GET /api/secure/onboarding/v2/userProfile/questionnaire

Gets the user profile questionnaire.

Request

Response

200 - OK

Submit the user profile questionnaire

POST /api/secure/onboarding/v2/userProfile/questionnaire

Submits the user profile questionnaire.

Request

Request Body

Response

200 - OK

400 - The given request is invalid.

403 - Account is forbidden (inactive/expired customer).

404 - The cloud info could not be found.

500 - The server encountered an unexpected condition.

Get the install action.

GET /api/secure/onboarding/v3/environments/{environment}/installActions/{installType}

Gets the appropriate install action for the specified installation type and environment.

Request

Path Parameters

environment

Required *

string

Environment in which you are planning to install

installType

Required *

string

Installation type via Terraform or CFT (AWS only).

Query Parameters

accountType

Required *

string

Cloud provider account type, indicating a single account or org account install.

feature

Required *

string

The Sysdig features to install. Multiple features are specified as repeated instances of this query parameter

region

string

The regions to install during a multi region deploy. Multiple regions are specified as repeated instances of this query parameter

Response

200 - OK

accountConfig

object

installAction

string

tokens

array

values

object

400 - The given request is invalid.

500 - The server encountered an unexpected condition.

Create a new rule

POST /api/secure/rules

Save a new rule

Request

Request Body

createdOn

Required *

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

Required *

string

The name of a Falco rules file

id

Required *

integer

A unique identifier representing a specific rule

modifiedOn

Required *

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

Required *

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

Required *

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

Required *

number

The version is incremented when the update is successful.

versionId

Required *

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

tags

Required *

array

The set of tags

description

Required *

string

A description of this rule. No newlines/formatting.

details

Required *

object

Response

200 - The saved rule

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

tags

array

The set of tags

description

string

A description of this rule. No newlines/formatting.

details

object

400 - The provided rule is not valid

Retrieve a group of all rules having a given name

GET /api/secure/rules/groups

Retrieve a group of all rules having the given name. This is used to show how a base rule is modified by later rules that override/append to the rule. If there are multiple rules with the same name of different types, rule type must be specified.

Request

Path Parameters

Query Parameters

name

Required *

string

type

string

Response

200 - An array of rules

Get the last 10 versions of a rule.

GET /api/secure/rules/groups/versions

Request

Path Parameters

Query Parameters

name

Required *

string

type

Required *

string

Response

200 - Structure representing 10 latest versions of a rule.

versions

array

Compares two rules versions

GET /api/secure/rules/groups/versions/diff/{version1}/{version2}

Request

Path Parameters

version1

Required *

string

version2

Required *

string

Query Parameters

name

Required *

string

type

Required *

string

Response

200 - Structure representing comparison between 2 rules.

versions

array

Gets latest version of a rule.

GET /api/secure/rules/groups/versions/latest

Request

Path Parameters

Query Parameters

name

Required *

string

type

Required *

string

Response

200 - Structure representing latest version of a rule.

significance

string

versions

array

Retrieve a map of rule names to their corresponding policies that use them

GET /api/secure/rules/policyMappings

Retrieve a map of rule names to their corresponding policies that use them. The accept header will include "lite" to indicate the lightweight response of the endpoint should be returned e.g. 'application/xhtml+xml; lite' and return the full representation if not requested

Request

Path Parameters

Query Parameters

origin

string

Response

200 - An array of policies

Retrieve a list of summary rule information, grouped by rule name

GET /api/secure/rules/summaries

Returns the list of rules in the system. These are grouped by name and do not necessarily represent individual rule objects, as multiple rules can have the same name.

Request

Path Parameters

Query Parameters

policyType

string

Response

200 - An array of rules grouped by name.

Retrieves every tag associated with a runtime policy rule

GET /api/secure/rules/tags

Retrieves every tag associated with a runtime rule irrespective of whether or not that rule is used by a policy

Request

Response

200 - The array representing all the tags

tags

array

Delete a rule

DELETE /api/secure/rules/{ruleId}

Request

Path Parameters

ruleId

Required *

integer

Query Parameters

Response

200 - The rule that was deleted

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

tags

array

The set of tags

description

string

A description of this rule. No newlines/formatting.

details

object

Retrieve info about a single rule

GET /api/secure/rules/{ruleId}

Request

Path Parameters

ruleId

Required *

integer

Query Parameters

Response

200 - The rule with the given id

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

tags

array

The set of tags

description

string

A description of this rule. No newlines/formatting.

details

object

Update info associated with a rule

PUT /api/secure/rules/{ruleId}

Request

Request Body

createdOn

Required *

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

Required *

string

The name of a Falco rules file

id

Required *

integer

A unique identifier representing a specific rule

modifiedOn

Required *

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

Required *

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

Required *

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

Required *

number

The version is incremented when the update is successful.

versionId

Required *

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

tags

Required *

array

The set of tags

description

Required *

string

A description of this rule. No newlines/formatting.

details

Required *

object

Path Parameters

ruleId

Required *

integer

Query Parameters

Response

200 - The rule with the given id

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

tags

array

The set of tags

description

string

A description of this rule. No newlines/formatting.

details

object

400 - The provided rule is not valid

404 - Resource with the specified ID could not be found. More information about 404 can be found at https://httpstatuses.com/404

409 - The user must first perform a GET request to get the current version of the resource. The user must then compare the remote version with the local expected version and merge any updates from remote if needed and then update the local version to match the remote version. More information about 409 can be found at https://httpstatuses.com/409

Get the custom falco rules files

GET /api/settings/falco/customRulesFiles

Get the custom falco rules files e.g. the set of falco rules managed by a customer.

Request

Response

200 - The custom falco rules files.

customFalcoRulesFiles

object

Set the custom rules files e.g. the set of falco rules managed by a customer.

PUT /api/settings/falco/customRulesFiles

Set the current custom falco rules files. This content is always validated by passing the current default rules files plus the submitted customer rules files and any Secure UI generated rules to the open source falco executable to verify that falco can read the combination of files. The backend should choose the variant that has the greatest required_engine_version for each file, and then run open source falco with the -d option to verify the files. As knowing the current value of the `version` field is required to successfully update the rules file, in order to update the rules content you must first do a GET and update the `content` property. The `version` property in the response will be incremented on success.

Request

Request Body

customFalcoRulesFiles

object

defaultPolicies

array

A list of reference policies that can be created from the provided falco rules. Used by the /v2/policies/default endpoint.

files

Required *

array

A list of files that comprise the set of rules files

tag

Required *

string

An externally provided version identifier (e.g. git tag) that can be used to uniquely identify this set of files.

version

Required *

integer

Version of the object. Incremented on each update and used for optimistic locking

Response

200 - The custom falco rules files

customFalcoRulesFiles

object

400 - The provided falco rules content was either not falco compliant, causes a rule to be deleted that is still used by a policy, or has non null default policies

errors

array

a list of errors

409 - The user must first perform a GET request to get the current version of the resource. The user must then compare the remote version with the local expected version and merge any updates from remote if needed and then update the local version to match the remote version. More information about 409 can be found at https://httpstatuses.com/409

Delete the specified falco rules file

DELETE /api/settings/falco/customRulesFiles/{filename}

Delete the specified falco rules file

Request

Path Parameters

filename

Required *

string

Query Parameters

Response

200 - The deleted policy

content

string

A string containing the yaml contents of a falco rules file variant.

filename

string

The name of a Falco rules file

version

integer

Version of the corresponding CustomRulesFiles object to which the specific file belongs

404 - Resource with the specified ID could not be found. More information about 404 can be found at https://httpstatuses.com/404

409 - The user must first perform a GET request to get the current version of the resource. The user must then compare the remote version with the local expected version and merge any updates from remote if needed and then update the local version to match the remote version. More information about 409 can be found at https://httpstatuses.com/409

Get the custom falco rules file matching the filename

GET /api/settings/falco/customRulesFiles/{filename}

Get the custom falco rules file matching the filename

Request

Path Parameters

filename

Required *

string

Query Parameters

Response

200 - The custom falco rules file

content

string

A string containing the yaml contents of a falco rules file variant.

filename

string

The name of a Falco rules file

version

integer

Version of the corresponding CustomRulesFiles object to which the specific file belongs

404 - Resource with the specified ID could not be found. More information about 404 can be found at https://httpstatuses.com/404

Update the custom falco rules file matching the filename

PUT /api/settings/falco/customRulesFiles/{filename}

Update the custom falco rules file matching the filename

Request

Request Body

content

Required *

string

A string containing the yaml contents of a falco rules file variant.

filename

Required *

string

The name of a Falco rules file

version

integer

Version of the corresponding CustomRulesFiles object to which the specific file belongs

Path Parameters

filename

Required *

string

Query Parameters

Response

200 - The custom falco rules file

content

string

A string containing the yaml contents of a falco rules file variant.

filename

string

The name of a Falco rules file

version

integer

Version of the corresponding CustomRulesFiles object to which the specific file belongs

400 - The provided falco rules content was either not falco compliant, causes a rule to be deleted that is still used by a policy, or has non null default policies

errors

array

a list of errors

409 - The user must first perform a GET request to get the current version of the resource. The user must then compare the remote version with the local expected version and merge any updates from remote if needed and then update the local version to match the remote version. More information about 409 can be found at https://httpstatuses.com/409

Get the default falco rules files

GET /api/settings/falco/defaultRulesFiles

Get the default falco rules files e.g. the set of falco rules managed by sysdig.

Request

Response

200 - The default falco rules files.

defaultFalcoRulesFiles

object

View the available falco filters for a customer

GET /api/settings/falco/filters

Returns what falco filters are available to customer to configure falco rules

Request

Path Parameters

Query Parameters

eventSource

string

when provided only falco filters corresponding to the specified event source will be included in the response

Response

200 - The falco filters available to customer to configure falco rules

Update multiple default falco lists

PUT /api/settings/falco/lists

Updates multiple default falco lists

Request

Request Body

lists

array

Response

200 - The saved falco list

400 - The provided falco list is not valid

Update a default Falco list

PUT /api/settings/falco/lists/{listId}

Updates a default falco list

Request

Request Body

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

Required *

array

Path Parameters

listId

Required *

integer

Query Parameters

Response

200 - The saved falco list

createdOn

number

A timestamp (in milliseconds) of when the rules object was first created.

filename

string

The name of a Falco rules file

id

integer

A unique identifier representing a specific rule

modifiedOn

number

A timestamp (in milliseconds) of when the rules object was last modified.

name

string

A name for this object. For Falco rules/macros/lists, should exactly be the value of the "rule"/"macro"/"list" property of the yaml object.

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

version

number

The version is incremented when the update is successful.

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

append

string

If true, this object should be appended to an object with the same name that has already been loaded. Defaults to false if not present.

items

object

400 - The provided falco list is not valid

Get the newest default falco rules files

GET /api/settings/falco/newestDefaultRulesFiles

Get the newest default falco rules files e.g. the set of falco rules managed by sysdig.

Request

Response

200 - The newest falco rules files.

newestDefaultFalcoRulesFiles

object

Get all integration.

GET /api/ticketing/v1/integrations/{provider}

Fetch all integrations for a customer.

Request

Path Parameters

provider

Required *

string

The ticket management provider.

Query Parameters

Response

200 - List of all integrations for a customer.

401 - Invalid credentials or missing auth token.

message

string

404 - Invalid provider specified.

error

string

message

string

statusCode

integer

500 - The server encountered an unexpected condition.

Create a new Integration

POST /api/ticketing/v1/integrations/{provider}

Creates a new Integration for a customer.

Request

Request Body

access_token

Required *

string

Access Token to use to call Jira API.

atlassian_cloud_url

Required *

string

Jira cloud Url

email

Required *

string

Email of the authorized user to access Jira.

name

Required *

string

Name of your integration.

Path Parameters

provider

Required *

string

The ticket management provider.

Query Parameters

Response

200 - Integration is successfully created.

atlassian_cloud_url

string

Jira cloud url.

created_at

string

creation time of the integration.

email

string

Email of the authorized user to access Jira.

id

integer

Integration index.

modified_at

string

updated time of the integration.

name

string

Name of your integration.

status

string

Whether we can connect to jira using this integration.

400 - Invalid input, integration could not be created.

401 - Invalid credentials or missing auth token.

message

string

403 - Account is forbidden (inactive/expired customer).

error

string

message

string

statusCode

integer

404 - Invalid provider specified.

error

string

message

string

statusCode

integer

409 - Integration already exists.

error

string

message

string

statusCode

integer

500 - The server encountered an unexpected condition.

Delete an Integration.

DELETE /api/ticketing/v1/integrations/{provider}/{integration_id}

Delete an Integration for a customer.

Request

Path Parameters

provider

Required *

string

The ticket management provider.

integration_id

Required *

integer

Query Parameters

Response

200 - Integration is successfully deleted.

atlassian_cloud_url

string

Jira cloud url.

created_at

string

creation time of the integration.

email

string

Email of the authorized user to access Jira.

id

integer

Integration index.

modified_at

string

updated time of the integration.

name

string

Name of your integration.

status

string

Whether we can connect to jira using this integration.

401 - Invalid credentials or missing auth token.

message

string

404 - Integration could not be found.

500 - The server encountered an unexpected condition.

Get an Integration.

GET /api/ticketing/v1/integrations/{provider}/{integration_id}

Fetch a single integration Information by id.

Request

Path Parameters

provider

Required *

string

The ticket management provider.

integration_id

Required *

integer

Query Parameters

Response

200 - Description of a specific integration.

atlassian_cloud_url

string

Jira cloud url.

created_at

string

creation time of the integration.

email

string

Email of the authorized user to access Jira.

id

integer

Integration index.

modified_at

string

updated time of the integration.

name

string

Name of your integration.

status

string

Whether we can connect to jira using this integration.

401 - Invalid credentials or missing auth token.

message

string

404 - Integration could not be found.

error

string

message

string

statusCode

integer

500 - The server encountered an unexpected condition.

Update an Integration.

PUT /api/ticketing/v1/integrations/{provider}/{integration_id}

Update an Integration for a customer.

Request

Request Body

access_token

Required *

string

Access Token to use to call Jira API.

atlassian_cloud_url

Required *

string

Jira cloud Url

email

Required *

string

Email of the authorized user to access Jira.

name

Required *

string

Name of your integration.

Path Parameters

provider

Required *

string

The ticket management provider.

integration_id

Required *

integer

Query Parameters

Response

200 - Integration is successfully updated.

atlassian_cloud_url

string

Jira cloud url.

created_at

string

creation time of the integration.

email

string

Email of the authorized user to access Jira.

id

integer

Integration index.

modified_at

string

updated time of the integration.

name

string

Name of your integration.

status

string

Whether we can connect to jira using this integration.

400 - Integration could not be modified.

401 - Invalid credentials or missing auth token.

message

string

404 - Integration could not be found.

500 - The server encountered an unexpected condition.

Pull all jira project metadata.

GET /api/ticketing/v1/integrations/{provider}/{integration_id}/project/{project_id}/projectMeta

Fetches the projects information needed for creating a ticket. The list of assignable and issue types users are fetched to help create a ticket.

Request

Path Parameters

provider

Required *

string

The ticket management provider.

integration_id

Required *

integer

index of the integration

project_id

Required *

integer

index of jira project id

Query Parameters

assignee

string

A query string that is matched against user attributes, such as displayName, and emailAddress, to find relevant assignable users.

Response

200 - Project metadata

assignableUsers

array

issueTypes

array

projectId

string

400 - Project could not be fetched.

403 - Account is forbidden (inactive/expired customer).

error

string

message

string

statusCode

integer

404 - Integration could not be found.

500 - The server encountered an unexpected condition.

Pull all jira projects.

GET /api/ticketing/v1/integrations/{provider}/{integration_id}/projects

Fetches the projects information needed for creating a ticket. The projectIDs, issueIDs, and list of assignable users are fetched for a valid integration.

Request

Path Parameters

provider

Required *

string

The ticket management provider.

integration_id

Required *

integer

index of the integration

Query Parameters

Response

200 - List all jira projects for an integration.

400 - Project could not be fetched.

403 - Account is forbidden (inactive/expired customer).

error

string

message

string

statusCode

integer

404 - Integration could not be found.

500 - The server encountered an unexpected condition.

Delete captures

DELETE /api/v1/captures

Delete captures

Request

Path Parameters

Query Parameters

ids

integer

Represents the id of a particular capture. Can be used multiple times in the same request to delete multiple captures

source

string

Indicates that only captures belonging to either the monitor or secure product should be considered for deletion. Defaults to SDC if not specified

statuses

string

Indicates that only captures with a particular status should be considered for deletion. Can be used multiple times in the same request

Response

200 - The number of captures deleted

deleted

integer

Retrieve the list of captures

GET /api/v1/captures

Retrieve the list of captures

Request

Path Parameters

Query Parameters

ids

integer

Represents the id of a particular capture. Can be used multiple times in the same request to fetch multiple captures

offset

integer

Indicates the distance between the true starting point and the index of the first returned capture

limit

integer

sort

string

dir

string

filter

string

from

integer

Unix time of when to start looking for captures in microseconds

to

integer

Unix time of when to stop looking for captures in microseconds

source

string

scopeFilter

string

Limit the results to only captures matching a scope expression

metrics

string

aggregations

string

forceSync

boolean

annotations

string

token

string

Uniquely identifies a capture and correlates the capture to a request. Must match the following regex ([a-z0-9]){8}-([a-z0-9]){4}-([a-z0-9]){4}-([a-z0-9]){4}-([a-z0-9]){12}

Response

200 - The array representing the captures

canLoadMore

boolean

Indicates whether the number of captures returned had some limit applied

captures

array

offset

integer

Indicates the distance between the true starting point and the index of the first returned capture. Corresponds to the offset query param that was provided in the original request.

total

integer

Indicates how many captures would have been returned if no limit query param was specified. It does not represent the number of captures returned in the request.

400 - Indicates a query param was invalid

errors

array

A list of errors

Create a capture

POST /api/v1/captures

Create a capture

Request

Request Body

agent

object

Describes a Sysdig agent running on a machine

attributes

object

customer

integer

The ID of a particular customer

hostName

string

The name of the host the agent is running on

id

integer

Uniquely identifies an agent

machineId

string

Uniquely identifies a machine

annotations

object

A map of assorted metadata

bucketName

string

The name of the s3 bucket to which the capture will be saved. May be null

containerId

integer

Uniquely identifies a container

duration

integer

The range in time from when the capture began to when it ended in seconds. The maximum value is 86400

filters

string

A way to only capture a subset of the data

folder

string

The name of a folder in an s3 bucket

name

string

A way to reference a capture. Must not be empty

source

string

An enum of Sysdig products

Response

200 - Successfully created a capture

capture

object

Metadata to create a capture

400 - Indicates the request body was invalid

errors

array

A list of errors

Get a capture

GET /api/v1/captures/{captureId}

Get a capture

Request

Path Parameters

captureId

Required *

integer

Query Parameters

Response

200 - Successfully retrieved a capture

capture

object

Metadata to create a capture

404 - The capture could not be found

error

string

message

string

path

string

The path used by the corresponding request

status

integer

The http status

timestamp

integer

Update a capture

PUT /api/v1/captures/{captureId}

Update a capture

Request

Request Body

agent

object

Describes a Sysdig agent running on a machine

attributes

object

customer

integer

The ID of a particular customer

hostName

string

The name of the host the agent is running on

id

integer

Uniquely identifies an agent

machineId

string

Uniquely identifies a machine

annotations

object

A map of assorted metadata

bucketName

string

The name of the s3 bucket to which the capture will be saved. May be null

containerId

integer

Uniquely identifies a container

duration

integer

The range in time from when the capture began to when it ended in seconds. The maximum value is 86400

filters

string

A way to only capture a subset of the data

folder

string

The name of a folder in an s3 bucket

name

string

A way to reference a capture. Must not be empty

source

string

An enum of Sysdig products

accessKey

string

The key that allows an agent to communicate with a collector

bytesReceived

integer

The number of bytes the Sysdig backend has received from the agent

bytesStored

integer

The number of bytes the Sysdig backend has pushed to a storage provider

dateReceived

integer

The unx timestamp of when the Sysdig backend received the capture from the agent in milliseconds

dateRequested

integer

The unix timestamp of when the capture was requested in milliseconds

downloadUrl

string

The url to download the capture

id

integer

uniquely identifies the capture

machineId

string

Uniquely identifies a machine

maxSize

integer

The maximum number of bytes allowed to be in this capture

metrics

array

A list of metrics

pastDuration

integer

The range in time from when the capture began to when the event that triggered the capture occurred in seconds. The maximum value is 86400

pastSize

integer

The amount of bytes in the capture that occurred in the pastDuration interval

scope

string

A scope expression that limits where the capture could have been taken

size

integer

The number of bytes in the capture

status

string

An enum of the different statuses a capture can have

storageId

integer

Uniquely identifies a storage configuration

token

string

Uniquely identifies a capture and correlates the capture to a request. Must match the following regex ([a-z0-9]){8}-([a-z0-9]){4}-([a-z0-9]){4}-([a-z0-9]){4}-([a-z0-9]){12}

type

string

An enum of the different types of storage to which captures can be saved

Path Parameters

captureId

Required *

integer

Query Parameters

Response

200 - Successfully updated a capture

agent

object

Describes a Sysdig agent running on a machine

annotations

object

A map of assorted metadata

bucketName

string

The name of the s3 bucket to which the capture will be saved. May be null

containerId

integer

Uniquely identifies a container

duration

integer

The range in time from when the capture began to when it ended in seconds. The maximum value is 86400

filters

string

A way to only capture a subset of the data

folder

string

The name of a folder in an s3 bucket

name

string

A way to reference a capture. Must not be empty

source

string

An enum of Sysdig products

accessKey

string

The key that allows an agent to communicate with a collector

bytesReceived

integer

The number of bytes the Sysdig backend has received from the agent

bytesStored

integer

The number of bytes the Sysdig backend has pushed to a storage provider

dateReceived

integer

The unx timestamp of when the Sysdig backend received the capture from the agent in milliseconds

dateRequested

integer

The unix timestamp of when the capture was requested in milliseconds

downloadUrl

string

The url to download the capture

id

integer

uniquely identifies the capture

machineId

string

Uniquely identifies a machine

maxSize

integer

The maximum number of bytes allowed to be in this capture

metrics

array

A list of metrics

pastDuration

integer

The range in time from when the capture began to when the event that triggered the capture occurred in seconds. The maximum value is 86400

pastSize

integer

The amount of bytes in the capture that occurred in the pastDuration interval

scope

string

A scope expression that limits where the capture could have been taken

size

integer

The number of bytes in the capture

status

string

An enum of the different statuses a capture can have

storageId

integer

Uniquely identifies a storage configuration

token

string

Uniquely identifies a capture and correlates the capture to a request. Must match the following regex ([a-z0-9]){8}-([a-z0-9]){4}-([a-z0-9]){4}-([a-z0-9]){4}-([a-z0-9]){12}

type

string

An enum of the different types of storage to which captures can be saved

400 - Indicates the request body was invalid

errors

array

A list of errors

Download a capture

GET /api/v1/captures/{captureId}/download

Download a capture

Request

Path Parameters

captureId

Required *

integer

Query Parameters

Response

302 - Redirects to a location for downloading

404 - The capture could not be found

error

string

message

string

path

string

The path used by the corresponding request

status

integer

The http status

timestamp

integer

Stop a capture

POST /api/v1/captures/{captureId}/stop

Stop a capture

Request

Path Parameters

captureId

Required *

integer

Query Parameters

Response

200 - Successfully stopped the capture

capture

object

Metadata to create a capture

404 - The capture could not be found

error

string

message

string

path

string

The path used by the corresponding request

status

integer

The http status

timestamp

integer

Retrieve a list of the supported channels.

GET /api/v1/eventsForwarding/channels

Retrieves a list of all the supported forwarding channels.

Request

Response

200 - List of supported forwarding channels.

400 - The request is invalid.

Retrieve a list of integrations for the customer.

GET /api/v1/eventsForwarding/integrations

Retrieves a list of forwarding integrations for the customer making the request.

Request

Response

200 - The list of integrations.

400 - The request is invalid.

Create an integration for the customer.

POST /api/v1/eventsForwarding/integrations

Creates a forwarding integration for the customer.

Request

Request Body

The content of the integration to create.

channels

Required *

array

The channels for which the integration must forward data from.

connectionInfo

Required *

object

enabled

boolean

name

Required *

string

type

Required *

string

The integration type.

Response

201 - The creation of the integration was successful.

400 - The request is invalid.

Delete an integration given its id.

DELETE /api/v1/eventsForwarding/integrations/{integrationId}

Delete an integration given its id.

Request

Path Parameters

integrationId

Required *

integer

The forwarding integration id.

Query Parameters

Response

201 - The integration was successfully deleted.

404 - The integration could not be found.

Retrieve an integration given its id.

GET /api/v1/eventsForwarding/integrations/{integrationId}

Retrieves a forwarding rule given its id.

Request

Path Parameters

integrationId

Required *

integer

The forwarding integration id.

Query Parameters

Response

200 - The forwarding integration with a given id.

channels

array

The channels for which the integration must forward data from.

connectionInfo

object

customerId

number

enabled

boolean

id

number

name

string

type

string

The integration type.

404 - The integration could not be found.

Update an integration given its id.

PATCH /api/v1/eventsForwarding/integrations/{integrationId}

Updates an integration given its id. The `PATCH` payload can be any combination of the following fields having the value to change. None of the `connectionInfo` fields are required for patching.

Request

Request Body

The content of the integration to update.

channels

array

The channels for which the integration must forward data from.

connectionInfo

object

enabled

boolean

Enable/disable the integration.

name

string

Change the name of the integration.

Path Parameters

integrationId

Required *

integer

The forwarding integration id.

Query Parameters

Response

204 - The integration was successfully updated.

404 - The integration could not be found.

Retrieve a list of the supported targets.

GET /api/v1/eventsForwarding/supported

Retrieves a list of all the supported forwarding targets.

Request

Response

200 - List of supported forwarding targets.

400 - The request is invalid.

Creates a Kubernetes Network Policy

POST /api/v1/networkSecurity/namespaces/{namespaceName}/simulatedPolicies

Creates a Kubernetes Network Policy

Request

Request Body

spec

object

egress

array

List of egress rules to be applied to the selected pods

ingress

array

List of ingress rules to be applied to the selected pods

podSelector

object

Selects the pods to which this NetworkPolicy object applies. An empty podSelector matches all pods in this namespace.

policyTypes

array

List of rule types that the NetworkPolicy relates to

Path Parameters

namespaceName

Required *

string

The name of a kubernetes namespace

Query Parameters

Response

200 - Indicates the requested KNP was successfully created

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Creates a communication topology graph around the specified owner

POST /api/v1/networkSecurity/networkPolicyOverlayOwnerTopology

Creates a communication topology graph around the specified owner; if KNP spec is provided, marks communication edges as 'blocked' if they are blocked by the KNP

Request

Request Body

spec

object

egress

array

List of egress rules to be applied to the selected pods

ingress

array

List of ingress rules to be applied to the selected pods

podSelector

object

Selects the pods to which this NetworkPolicy object applies. An empty podSelector matches all pods in this namespace.

policyTypes

array

List of rule types that the NetworkPolicy relates to

Path Parameters

Query Parameters

namespace

Required *

string

The name of a kubernetes namespace

cluster

Required *

string

The name of a kubernetes cluster

name

Required *

string

The name of a pod owner

kind

Required *

string

Specifies how to group pods

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested topology graph is sucessfully created

graph

object

Communication topology graph

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Ping the status

GET /api/v1/networkSecurity/status

Retrieves a 200 to double check if the network security feature on the backend is available.

Request

Response

200 - Indicates the network security feature is available

status

string

The status.

Returns all cluster names for the customer

GET /api/v1/networkTopology/clusters

Returns all cluster names for the customer

Request

Path Parameters

Query Parameters

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested cluster names were successfully returned

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Returns an overview of egress networking traffic

GET /api/v1/networkTopology/egressSummaries

Returns an overview of egress networking traffic

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

namespace

Required *

string

The name of a kubernetes namespace

name

Required *

string

The name of a pod owner

kind

Required *

string

Specifies how to group pods

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested overview of egress networking traffic was successfully returned

connections

array

metadata

object

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Returns the unresolved ips for a time range and pod owner

GET /api/v1/networkTopology/egressUnresolvedIps

Returns the unresolved ips for a time range and pod owner

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

namespace

Required *

string

The name of a kubernetes namespace

name

Required *

string

The name of a pod owner

kind

Required *

string

Specifies how to group pods

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested egress unresolved ips were successfully returned

clusterSubnetsComplete

boolean

If false, the FE will display the warning “Cluster subnet list is incomplete. IPs not mapping to known subnets will be marked as external”.

unresolveds

array

Collection of unresolved ingress IPs

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Returns an overview of ingress networking traffic

GET /api/v1/networkTopology/ingressSummaries

Returns an overview of ingress networking traffic

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

namespace

Required *

string

The name of a kubernetes namespace

name

Required *

string

The name of a pod owner

kind

Required *

string

Specifies how to group pods

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested overview of ingress networking traffic was successfully returned

connections

array

metadata

object

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Returns the unresolved ips for a time range and pod owner

GET /api/v1/networkTopology/ingressUnresolvedIps

Returns the unresolved ips for a time range and pod owner

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

namespace

Required *

string

The name of a kubernetes namespace

name

Required *

string

The name of a pod owner

kind

Required *

string

Specifies how to group pods

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested ingress unresolved ips were successfully returned

clusterSubnetsComplete

boolean

If false, the FE will display the warning “Cluster subnet list is incomplete. IPs not mapping to known subnets will be marked as external”.

unresolveds

array

Collection of unresolved egress IPs

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Returns sorted list of unique namespace label key values

GET /api/v1/networkTopology/namespaceLabelKeys

Returns sorted list of unique namespace label key values

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

Response

200 - Indicates the requested list was returned

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Returns all namespace names for the cluster

GET /api/v1/networkTopology/namespaces

Returns all namespace names for the cluster

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested namespaces were successfully returned

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Creates a communication topology graph around the specified owner

GET /api/v1/networkTopology/ownerTopology

Creates a communication topology graph around the specified owner

Request

Path Parameters

Query Parameters

namespace

Required *

string

The name of a kubernetes namespace

cluster

Required *

string

The name of a kubernetes cluster

name

Required *

string

The name of a pod owner

kind

Required *

string

Specifies how to group pods

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested topology graph is sucessfully created

graph

object

Communication topology graph

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Returns all pod owners for a cluster, namespace, and time range

GET /api/v1/networkTopology/owners

Returns a map of owner type to a list of owner selectors

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

namespace

Required *

string

The name of a kubernetes namespace

from

Required *

integer

A unix timestamp in seconds of specifying the initial time of a range

to

Required *

integer

A unix timestamp in seconds of specifying the end time of a range

Response

200 - Indicates the requested map of owner type to a list of owner selectors were successfully returned

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Ping the status

GET /api/v1/networkTopology/status

Retrieves a 200 to double check if the topology feature on the backend is available.

Request

Response

200 - Indicates the topology feature is available

status

string

The status.

Returns sorted list of unique workload label key values

GET /api/v1/networkTopology/workloadLabelKeys

Returns sorted list of unique workload label key values

Request

Path Parameters

Query Parameters

cluster

Required *

string

The name of a kubernetes cluster

Response

200 - Indicates the requested list was returned

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

403 - The user successfully authenticated but has insufficient permissions. More information about 403 can be found at https://httpstatuses.com/403

message

string

a human readable description of the error

referenceId

string

Reference id for error tracking

Get info about profile groups for a customer

GET /api/v1/profiling/profileGroups

This endpoint returns the profile groups for a customer

Request

Response

200 - An array of profile groups for a customer

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

Get info about a profile group with a specific id for a customer

GET /api/v1/profiling/profileGroups/{profileGroupId}

This endpoint returns the profile group given a id for a customer

Request

Path Parameters

profileGroupId

Required *

integer

The id of the profile group

Query Parameters

Response

200 - The profile group for the given profileGroupId

aggregationKeys

array

List of metrics used to identify the entity to be profiles (e.g. ["container.image"].

id

integer

Identifier of this profile group.

lastTimestampUs

number

profileCount

integer

Number of profiles computed within the profileGroup.

type

string

Specify whether the profile engine aggregates data at the container or host level.

uniqueIdKeys

array

List of metrics used to identify a sub-entity inside an entity (e.g. ["container.id"].

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

Get all profiles for a given profileGroupId

GET /api/v1/profiling/profileGroups/{profileGroupId}/profiles

This endpoint returns the profiles for a given profileGroupId

Request

Path Parameters

profileGroupId

Required *

integer

The id of the profile group

Query Parameters

scoreMin

integer

If specified, only profiles with a confidence score at least this amount will be retrieved. Defaults to `0`

status

string

A comma-separated list of statuses. If specified, only profiles with these statuses will be retrieved. Defaults to `['FINALIZED','LEARNING']`

filter

string

If specified, filter to only include profiles where the profile name or image name (registry/repository:tag@hash) contains this string. Defaults to empty string

sortBy

string

Field used to sort. Defaults to `score`. Profiles with `status:'FINALIZED'` will always appear above `status:'LEARNING'`, for all values of `sortBy` except `sortBy:'status', sortMethod:'asc'`.

limit

integer

If specified, a limit on the number of entries retrieved. If any filters are also specified, the limit will be applied on the filtered list. `limit` must be >= `1` and if it overflows the list all entries will be retrieved. Defaults to length of list

offset

integer

If specified, a 0-based index on the profiles list. Only entries >= `offset` will be retrieved. Defaults to `0`. If any filters are also specified, this index will be applied on the filtered list. An empty list will be retrieved if this index overflows the list.

sortMethod

string

Sorting method. Defaults to `desc`.

Response

200 - The profiles for a given profileGroupId

canLoadMore

boolean

True if more results can be fetched.

limit

integer

The limit used. 0 for no limit.

offset

integer

The start offset used

profiles

array

The profiles retrieved

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

Get profile matching given profileId

GET /api/v1/profiling/profiles/{profileId}

This endpoint returns the profile matching a given profileId

Request

Path Parameters

profileId

Required *

string

Query Parameters

Response

200 - The profile for a given profileId

id

string

UUID of this profile.

mainKeyValues

array

Values for the ProfileGroup.aggregationKeys.

name

string

Name of the profile inside the profileGroup.

profileGroupId

integer

Identifier of the related profile group.

profileLifeTracker

object

keep track of the life of an entity

proposedPolicy

object

proposedRules

array

Array of rules referred to by the proposed policy in `proposedPolicy`, that have not yet been created. Each of the `ruleNames` in `proposedPolicy` must refer to a rule's `name` of either a proposed rule in this array or a rule that already exists.

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

404 - The requested resource was not found. More information about 404 can be found at https://httpstatuses.com/404

500 - Generic error from API

Remove a profile given the profileId

POST /api/v1/profiling/profiles/{profileId}/actions/remove

This endpoint can be used to remove a profile given a profileId

Request

Path Parameters

profileId

Required *

string

Query Parameters

Response

200 - The ActionsProfileResponse containing time when profile was removed

resetTimeUs

integer

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

500 - Generic error from API

Reset a profile given the profileId

POST /api/v1/profiling/profiles/{profileId}/actions/reset

This endpoint can be used to reset a profile given a profileId

Request

Path Parameters

profileId

Required *

string

Query Parameters

Response

200 - The ActionsProfileResponse containing time when profile was reset

resetTimeUs

integer

400 - Indicates a parameter, header or another quality of the request was malformed. More information about 400 can be found at https://httpstatuses.com/400

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

500 - Generic error from API

Get status of Profiling API

GET /api/v1/profiling/status

This endpoint can be used to get status of Profiling API

Request

Response

200 - The ActionsProfileResponse containing time when profile was removed

401 - The user failed to authenticate. More information about 401 can be found at https://httpstatuses.com/401

403 - API Access Forbidden

The policy tuner service records this customer as disabled such that a tune will not be run for this customer during the next run cycle

POST /api/v1/secure/policyTuner/disable

The policy tuner service records this customer as disabled such that a tune will not be run for this customer during the next run cycle

Request

Response

200 - Success

The policy tuner service records this customer as enabled such that a tune will be run for this customer during the next run cycle

POST /api/v1/secure/policyTuner/enable

The policy tuner service records this customer as enabled such that a tune will be run for this customer during the next run cycle

Request

Response

200 - Success

400 - Sysdig has not enabled tuning for this customer

Adds a provided set of exceptions to the tuner file

POST /api/v1/secure/policyTuner/exceptions

Adds a provided set of exceptions to the tuner file

Request

Request Body

exclusionProposals

array

totalEvents

integer

Response

200 - Indicates the new exceptions were successfully added to the tuner file

400 - Indicates one of the fields in the request body was missing, the wrong data type, or the exception values did not match the expected form of the exception

Returns a list of exceptions to exclude the events matching a set of parameters

POST /api/v1/secure/policyTuner/excludeEvents

Returns a list of exceptions to exclude the events matching a set of parameters

Request

Path Parameters

Query Parameters

filter

string

start

Required *

integer

The timestamp in seconds in which the events to be excluded begin

end

Required *

integer

The timestamp in seconds in which the events to be excluded end

limit

integer

The number of suggested exclusion proposals to return in the responses. The request will be rejected if it is greater than 10 or less than 1.

Response

200 - Indicates the service was able to successfully find a list of exceptions to exclude the provided events

exclusionProposals

array

totalEvents

integer

400 - Returned if the start param occurs after the end or if the parameters are of the wrong data type or the limit is out of range

Ping the status

GET /api/v1/secure/policyTuner/status

Retrieves a 200 to double check if the policy tuner feature on the backend is available.

Request

Response

200 - Indicates the policy tuner feature is available

status

string

The status.

The policy tuner immediately runs tuning for the customer

POST /api/v1/secure/policyTuner/tuneNow

The policy tuner immediately runs tuning for the customer

Request

Response

200 - The generated tuner FalcoRulesFile

name

string

A name for this file. Should be used in UI to distinguish between files.

variants

array

An array of alternate versions for the given file. An agent should choose the highest version that is compatible with its included falco engine.

400 - Sysdig has not enabled tuning for this customer

Checks if tuning is enabled

GET /api/v1/secure/policyTuner/tuningEnabled

Checks if tuning is enabled

Request

Response

200 - Indicates whether tuning is enabled or disabled

enabledStatus

boolean

returns True if tuning is enabled, False if tuning is disabled

Retrieves a secure events feed

GET /api/v1/secureEvents

Retrieves the list of events that match a filter given a specified time range or cursor. The pair `from` and `to` and the `cursor` parameter are mutually exclusive. If you supply a `from` and `to` you must not supply a `cursor` and vice-versa. If you supply a `cursor` then the `prev` field inside the response is set if and only if there are events before the first event returned, while the `next` field inside the response is set if and only if there are events after the last event returned. If, instead, you supply the `from` and `to` pair then the `prev` and `next` fields inside the response are always set, because in that case there is no efficient way for the backend to verify if `next` and `prev` events actually exist. For this reason, the best way to use this API is to supply the `from` and `to` pair at the first request and then use the `prev` and `next` cursors to fetch events before and after the events returned. Please, do note that if you supply `from` and `to` and receive the `prev` and `next` cursors, any subsequent request made by supplying that `next` or `prev` cursor will return results that are not filtered by the `from` and `to` you provided in the first request. Finally, the difference between `from` and `to` cannot be greater than 2 weeks.

Request

Path Parameters

Query Parameters

from

number

From, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

to

number

To, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

cursor

string

Cursor is a string used to retrieve data given a specific context. The context can either be events feed before a certain event, after it or its surrounding. See the `prev`, `next` and `cursor` fields inside the response for further details.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring. Operators:

  • `and`, `or` and `not` logical operators (i.e. `pid = 1 and ppid = 2`)
  • `=`, `!=`, `>`, `>=`, `<` and `<=` comparison operators (i.e. `pid = 1`)
  • `in` to check inclusion in a list of values (i.e. `pid in (1, 2)` or `clientipv4 in ("127.0.0.1", "192.168.0.1")`) This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each audit events type. The list of supported fields can be retrieved through the `api/v1/secureEvents/scopeFilters` endpoint. In addition to those fields, also these fields are supported:
  • `severity` as numeric value in the `[0, 7]` range
  • `category` as string value
  • `originator` as string value (either `policy` or `scanning`)
  • `name` as string value
  • `freeText` as string value
  • `source` as string value
  • `agentId` as numeric value
  • `containerId` as string value
  • `machineId` as string value
  • `ruleName` as string value
  • `ruleType` as numeric value
  • `ruleSubType` as numeric value
  • `policyId` as numeric value
  • `alertName` as string value
  • `trigger` as string value
  • `image.id` as string value
  • `image.registry` as string value
  • `image.repo` as string value
  • `image.tag` as string value
  • `image.digest` as string value

limit

number

Limit the number of events to return.

specialCategory

string

How to handle special events categories, like the policy simulation (advisor).

  • `exclude_simulation` excludes events with category `simulation`
  • `only_simulation` returns only events with category `simulation`

Response

200 - The secure events feed.

data

array

page

object

400 - The request is invalid.

message

string

The error message.

requestId

string

The request ID.

422 - Attempting to retrieve a secure events feed by using a filter that

contains unsupported metrics.

message

string

The error message.

requestId

string

The request ID.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

message

string

The error message.

requestId

string

The request ID.

Retrieves the supported events feed scope filters

GET /api/v1/secureEvents/filters

Retrieves the whitelist of supported secure events scope filters that can be used inside the `filter` parameter while retrieving the secure events feed.

Request

Response

200 - The supported secure events scope filters.

labelDescriptors

array

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

message

string

The error message.

requestId

string

The request ID.

Verify presence of old events

GET /api/v1/secureEvents/hasEvents

Verify if there are new/legacy events in the store.

Request

Response

200 - Whether or not there are new/legacy events.

hasLegacyEvents

boolean

This is `true` if and only if there are no new events (i.e. events in the new indices) in the time range from 30 days ago to 29 days ago. This assumes that once the Secure Events feature is deployed, all the events are written in the new indices only; therefore, there are legacy events only if there are no events in the new indices for that time range.

hasNewEvents

boolean

This is `true` if and only if there is at least a new event in the time range from 1 day ago to now.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

message

string

The error message.

requestId

string

The request ID.

Ping the status

GET /api/v1/secureEvents/status

Retrieves a 200 to double check if the `secureEvents` feature on the backend is available.

Request

Response

200 - The supported secure events filters.

status

string

The status.

Retrieves an event given its id

GET /api/v1/secureEvents/{eventId}

Retrieves an event with a given id.

Request

Path Parameters

eventId

Required *

string

The event id.

Query Parameters

Response

200 - Event with the given id.

actions

array

agentId

number

The agent id.

category

string

The event category.

containerId

string

The container id.

content

object

Body of the specific event. It contains fields that are specific to a single event and are not shared among different event types.

cursor

string

The cursor that can be used to fetch a set of events surrounding this same event. By providing this value as `cursor` in a GET `secureEvents` request, you will get the set of events surrounding this current event.

customerId

number

The customer id.

description

string

The event description.

id

string

The event id.

label

object

Key value pairs of labels.

machineId

string

The machine id (i.e. hostname).

name

string

The event name.

originator

string

Type of the event (i.e. policy, scanning etc.).

severity

number

The event severity.

source

string

Source of the event.

timestamp

string

Timestamp the event occured.

404 - The event could not be found.

500 - The server encountered an unexpected condition that prevented it from

fulfilling the request.

message

string

The error message.

requestId

string

The request ID.

Retrieves a list of audit events

GET /api/v2/activityAudit/events

Retrieves a list of audit events in a time range filters. The pair `from` and `to` and the `cursor` parameter are mutually exclusive. If you supply a `from` and `to` you must not supply a `cursor` and vice-versa.

Request

Path Parameters

Query Parameters

from

number

From, expressed in nanoseconds.

to

number

To, expressed in nanoseconds.

cursor

string

Cursor is a string used to retrieve data given a specific context. The context can either be audit events before a certain event, after it or its surrounding.

limit

number

Limit the number of results to return.

scopeFilter

string

Metrics query language expression for filtering results based on the scope. In order the events to be filtered by this attributes, this attributes should be present on the labels field of the event. If the attributes are not present, it will not be possible to filter the event.

This are the supported scope filters where applicable are:

  • `agent.tag.*`
  • `container.image.id`
  • `container.image.repo`
  • `container.image.tag`
  • `container.image.digest`
  • `container.label.io.kubernetes.container.name`
  • `container.label.io.kubernetes.pod.name`
  • `container.label.io.kubernetes.pod.namespace`
  • `container.label.maintainer`
  • `container.name`
  • `host.hostName`
  • `host.mac`
  • `kubernetes.workload.name`
  • `kubernetes.workload.type`
  • `kubernetes.cluster.name`
  • `kubernetes.cronJob.name`
  • `kubernetes.daemonSet.name`
  • `kubernetes.deployment.name`
  • `kubernetes.job.name`
  • `kubernetes.namespace.label.field.cattle.io/projectId`
  • `kubernetes.namespace.label.project`
  • `kubernetes.namespace.name`
  • `kubernetes.node.name`
  • `kubernetes.pod.name`
  • `kubernetes.replicaSet.name`
  • `kubernetes.service.name`
  • `kubernetes.statefulSet.name`
  • `aws.region`
  • `aws.fargate.task.arn`
  • `aws.fargate.cluster.arn`
  • `aws.availabilityZone`
  • `aws.accountId`
  • `aws.user`
  • `gcp.user`
  • `gcp.projectId`

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Operators:

  • `and`, `or` and `not` logical operators (i.e. `pid = 1 and ppid = 2`)
  • `=`, `!=`, `>`, `>=`, `<` and `<=` comparison operators (i.e. `pid = 1`)
  • `in` to check inclusion in a list of values (i.e. `pid in (1, 2)` or `clientipv4 in ("127.0.0.1", "192.168.0.1")`)

This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each audit events type.

These are the supported fields:

  • `id`
  • `agentid`
  • `clientipv4`
  • `clientport`
  • `cmdline`
  • `comm`
  • `command`
  • `container`
  • `containerid`
  • `container.id`
  • `count`
  • `cwd`
  • `direction`
  • `directory`
  • `errorcode`
  • `filename`
  • `groups`
  • `l4protocol`
  • `loginshelldistance`
  • `loginshellid`
  • `name`
  • `namespace`
  • `permissions`
  • `pid`
  • `ppid`
  • `processname`
  • `resource`
  • `rxtimestamp`
  • `serveripv4`
  • `serverport`
  • `sourceaddresses`
  • `stages`
  • `subresource`
  • `timestamp`
  • `tty`
  • `uid`
  • `user`
  • `useragent`
  • `anomaly`

types

string

The event types to filter. A comma separated list of one or more of the following supported values: - kubernetes - commands - connections - fileaccesses

Response

200 - The list of audit events.

data

array

page

object

400 - The request is invalid.

Retrieves an audit event given its type and id

GET /api/v2/activityAudit/events/{type}/{eventId}

Retrieves an audit event of a specified type with a given id.

Request

Path Parameters

type

Required *

string

The event type.

eventId

Required *

string

The audit event id.

Query Parameters

metrics

string

JSON list of metrics used to enrich results. If no `metrics` is passed the audit events returned will not have a `metrics` field populated. The metrics attributes are directly fetched from the metadata service, so please refer to it for the full list of supported metrics.

Response

200 - Audit event with the given type and id.

404 - The event could not be found.

Retrieves the trace of an audit event

GET /api/v2/activityAudit/events/{type}/{eventId}/trace

Retrieves a trace of all the audit events related to the traceable event in case it is a long running task. The audit events returned are all the commands, connections etc collected during the duration of the traceable event. If the event has not completed yet, the time range considered is up until the current time.

Request

Path Parameters

type

Required *

string

The event type.

eventId

Required *

string

The audit event id.

Query Parameters

limit

number

Limit the number of results to return.

zoneIds

string

The zones to apply as an additional filter. It is a comma separated list of zone ids

Response

200 - All the events associated with this traceable event.

data

array

page

object

400 - The request is invalid.

404 - The event could not be found.

422 - The audit event requested does not support tracing.

Retrieve a summary of the audit events

GET /api/v2/activityAudit/summary

Retrieves a summary of the audit events in a time range grouped by a series of metrics.

Request

Path Parameters

Query Parameters

from

number

From, expressed in nanoseconds.

to

number

To, expressed in nanoseconds.

scopeFilter

string

Metrics query language expression for filtering results based on the scope. In order the events to be filtered by this attributes, this attributes should be present on the labels field of the event. If the attributes are not present, it will not be possible to filter the event.

This are the supported scope filters where applicable are:

  • `agent.tag.*`
  • `container.image.id`
  • `container.image.repo`
  • `container.image.tag`
  • `container.image.digest`
  • `container.label.io.kubernetes.container.name`
  • `container.label.io.kubernetes.pod.name`
  • `container.label.io.kubernetes.pod.namespace`
  • `container.label.maintainer`
  • `container.name`
  • `host.hostName`
  • `host.mac`
  • `kubernetes.workload.name`
  • `kubernetes.workload.type`
  • `kubernetes.cluster.name`
  • `kubernetes.cronJob.name`
  • `kubernetes.daemonSet.name`
  • `kubernetes.deployment.name`
  • `kubernetes.job.name`
  • `kubernetes.namespace.label.field.cattle.io/projectId`
  • `kubernetes.namespace.label.project`
  • `kubernetes.namespace.name`
  • `kubernetes.node.name`
  • `kubernetes.pod.name`
  • `kubernetes.replicaSet.name`
  • `kubernetes.service.name`
  • `kubernetes.statefulSet.name`
  • `aws.region`
  • `aws.fargate.task.arn`
  • `aws.fargate.cluster.arn`
  • `aws.availabilityZone`
  • `aws.accountId`
  • `aws.user`
  • `gcp.user`
  • `gcp.projectId`

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Operators:

  • `and`, `or` and `not` logical operators (i.e. `pid = 1 and ppid = 2`)
  • `=`, `!=`, `>`, `>=`, `<` and `<=` comparison operators (i.e. `pid = 1`)
  • `in` to check inclusion in a list of values (i.e. `pid in (1, 2)` or `clientipv4 in ("127.0.0.1", "192.168.0.1")`)

This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each audit events type.

These are the supported fields:

  • `id`
  • `agentid`
  • `clientipv4`
  • `clientport`
  • `cmdline`
  • `comm`
  • `command`
  • `container`
  • `containerid`
  • `container.id`
  • `count`
  • `cwd`
  • `direction`
  • `directory`
  • `errorcode`
  • `filename`
  • `groups`
  • `l4protocol`
  • `loginshelldistance`
  • `loginshellid`
  • `name`
  • `namespace`
  • `permissions`
  • `pid`
  • `ppid`
  • `processname`
  • `resource`
  • `rxtimestamp`
  • `serveripv4`
  • `serverport`
  • `sourceaddresses`
  • `stages`
  • `subresource`
  • `timestamp`
  • `tty`
  • `uid`
  • `user`
  • `useragent`
  • `anomaly`

types

string

The event types to filter. A comma separated list of one or more of the following supported values: - kubernetes - commands - connections - fileaccesses

zoneIds

string

The zones to apply as an additional filter. It is a comma separated list of zone ids

segment

boolean

Whether or not to segment the results with a distance between points depending on the distance between `from` and `to`.

Response

200 - The summary of audit events.

step

number

If segmented data has been requested, the distance between points in values expressed in nanoseconds.

values

object

400 - The request is invalid.

Retrieve security policies

GET /api/v2/policies

Returns information about policies configured by the current customer. Policies can be filtered by priority and scope.

Request

Path Parameters

Query Parameters

offset

number

limit

number

filter

string

string to look for in policy names/descriptions

severity

number

finds policies that correspond to a numeric value representing a severity. The query param can be repeated to look for multiple severities

policyType

string

finds policies of a certain type

managed

boolean

finds policies and rulesets that are managed by Sysdig. Returns custom policies when set to false

managedType

string

allows filtering by managed type - managed_policy/managed_ruleset/custom_policy

Response

200 - An array of policies

Create a new security policy

POST /api/v2/policies

Save a new security policy.

Request

Request Body

actions

array

description

string

Description of policy

enabled

boolean

True if the policy should be considered

name

string

A short name for the policy

ruleNames

array

Array of rule names. (They must be names instead of ids, as the rules list view is by name, to account for multiple rules having the same name).

rules

array

Array of PolicyRules representing each Rule referenced by this policy

scope

string

Where the policy is being applied- Container, Host etc..

severity

integer

How severe is this policy when violated. Range from 0 to 7 included.

type

string

A name for a non overlapping subset of policies that share common characteristics. The enums falco and list_matching correspond to the FalcoSource enum syscall, k8s_audit corresponds to k8s_audit, and the others will map to a future enum value once OSS Falco decides a name

createdOn

integer

A timestamp (in milliseconds) of when the rules object was first created.

id

integer

Unique identifier representing a specific policy.

isDefault

boolean

is this a default policy

modifiedOn

integer

A timestamp (in milliseconds) of when the rules object was last modified.

notificationChannelIds

array

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

profile

object

imageId

Required *

string

UUID of the image, based on a SHA256 of the image content.

imageName

Required *

string

Name of the image, as registry/repository:tag.

profileId

Required *

string

UUID of the profile, based on a SHA of (imageId + profileVersion).

profileName

Required *

string

Name of the profile, which includes registry/repository:tag@hash.

profileVersion

Required *

integer

Version of the profile, incremented when the model is updated.

runbook

string

runbook url

templateId

integer

id of the template this policy was birthed from. For unmanaged policies this value is nil

templateVersion

integer

version of the template this policy was most recently updated from.

version

integer

Version of the object. Incremented on each update and used for optimistic locking

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

Response

200 - The newly created policy

actions

array

description

string

Description of policy

enabled

boolean

True if the policy should be considered

name

string

A short name for the policy

ruleNames

array

Array of rule names. (They must be names instead of ids, as the rules list view is by name, to account for multiple rules having the same name).

rules

array

Array of PolicyRules representing each Rule referenced by this policy

scope

string

Where the policy is being applied- Container, Host etc..

severity

integer

How severe is this policy when violated. Range from 0 to 7 included.

type

string

A name for a non overlapping subset of policies that share common characteristics. The enums falco and list_matching correspond to the FalcoSource enum syscall, k8s_audit corresponds to k8s_audit, and the others will map to a future enum value once OSS Falco decides a name

createdOn

integer

A timestamp (in milliseconds) of when the rules object was first created.

id

integer

Unique identifier representing a specific policy.

isDefault

boolean

is this a default policy

modifiedOn

integer

A timestamp (in milliseconds) of when the rules object was last modified.

notificationChannelIds

array

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

profile

object

runbook

string

runbook url

templateId

integer

id of the template this policy was birthed from. For unmanaged policies this value is nil

templateVersion

integer

version of the template this policy was most recently updated from.

version

integer

Version of the object. Incremented on each update and used for optimistic locking

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

400 - The submitted policy was invalid

Create a new security policy and rules in a transaction

POST /api/v2/policies/batch

Save a new security policy and rules in a transaction. If the policy or any of the rules fail validation, the operation is canceled (no policy or rule is created) and an error response is returned.

Request

Request Body

policy

Required *

object

actions

array

description

string

Description of policy

enabled

boolean

True if the policy should be considered

name

string

A short name for the policy

ruleNames

array

Array of rule names. (They must be names instead of ids, as the rules list view is by name, to account for multiple rules having the same name).

rules

array

Array of PolicyRules representing each Rule referenced by this policy

scope

string

Where the policy is being applied- Container, Host etc..

severity

integer

How severe is this policy when violated. Range from 0 to 7 included.

type

string

A name for a non overlapping subset of policies that share common characteristics. The enums falco and list_matching correspond to the FalcoSource enum syscall, k8s_audit corresponds to k8s_audit, and the others will map to a future enum value once OSS Falco decides a name

createdOn

integer

A timestamp (in milliseconds) of when the rules object was first created.

id

integer

Unique identifier representing a specific policy.

isDefault

boolean

is this a default policy

modifiedOn

integer

A timestamp (in milliseconds) of when the rules object was last modified.

notificationChannelIds

array

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

profile

object

runbook

string

runbook url

templateId

integer

id of the template this policy was birthed from. For unmanaged policies this value is nil

templateVersion

integer

version of the template this policy was most recently updated from.

version

integer

Version of the object. Incremented on each update and used for optimistic locking

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

rules

Required *

array

Array of rules to create. If no rules need to be created, this will be an empty array

Response

200 - The newly created policy and rules

policy

object

rules

array

Array of newly created rules. If no rules were created, this will be an empty array

400 - A submitted policy or rule was invalid

Delete a security policy.

DELETE /api/v2/policies/{id}

Request

Path Parameters

id

Required *

string

Query Parameters

Response

200 - The deleted policy

actions

array

description

string

Description of policy

enabled

boolean

True if the policy should be considered

name

string

A short name for the policy

ruleNames

array

Array of rule names. (They must be names instead of ids, as the rules list view is by name, to account for multiple rules having the same name).

rules

array

Array of PolicyRules representing each Rule referenced by this policy

scope

string

Where the policy is being applied- Container, Host etc..

severity

integer

How severe is this policy when violated. Range from 0 to 7 included.

type

string

A name for a non overlapping subset of policies that share common characteristics. The enums falco and list_matching correspond to the FalcoSource enum syscall, k8s_audit corresponds to k8s_audit, and the others will map to a future enum value once OSS Falco decides a name

createdOn

integer

A timestamp (in milliseconds) of when the rules object was first created.

id

integer

Unique identifier representing a specific policy.

isDefault

boolean

is this a default policy

modifiedOn

integer

A timestamp (in milliseconds) of when the rules object was last modified.

notificationChannelIds

array

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

profile

object

runbook

string

runbook url

templateId

integer

id of the template this policy was birthed from. For unmanaged policies this value is nil

templateVersion

integer

version of the template this policy was most recently updated from.

version

integer

Version of the object. Incremented on each update and used for optimistic locking

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

Retrieve a security policy

GET /api/v2/policies/{id}

Request

Path Parameters

id

Required *

string

Query Parameters

Response

200 - The requested policy

actions

array

description

string

Description of policy

enabled

boolean

True if the policy should be considered

name

string

A short name for the policy

ruleNames

array

Array of rule names. (They must be names instead of ids, as the rules list view is by name, to account for multiple rules having the same name).

rules

array

Array of PolicyRules representing each Rule referenced by this policy

scope

string

Where the policy is being applied- Container, Host etc..

severity

integer

How severe is this policy when violated. Range from 0 to 7 included.

type

string

A name for a non overlapping subset of policies that share common characteristics. The enums falco and list_matching correspond to the FalcoSource enum syscall, k8s_audit corresponds to k8s_audit, and the others will map to a future enum value once OSS Falco decides a name

createdOn

integer

A timestamp (in milliseconds) of when the rules object was first created.

id

integer

Unique identifier representing a specific policy.

isDefault

boolean

is this a default policy

modifiedOn

integer

A timestamp (in milliseconds) of when the rules object was last modified.

notificationChannelIds

array

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

profile

object

runbook

string

runbook url

templateId

integer

id of the template this policy was birthed from. For unmanaged policies this value is nil

templateVersion

integer

version of the template this policy was most recently updated from.

version

integer

Version of the object. Incremented on each update and used for optimistic locking

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

Update a security policy

PUT /api/v2/policies/{id}

Request

Request Body

actions

array

description

string

Description of policy

enabled

boolean

True if the policy should be considered

name

string

A short name for the policy

ruleNames

array

Array of rule names. (They must be names instead of ids, as the rules list view is by name, to account for multiple rules having the same name).

rules

array

Array of PolicyRules representing each Rule referenced by this policy

scope

string

Where the policy is being applied- Container, Host etc..

severity

integer

How severe is this policy when violated. Range from 0 to 7 included.

type

string

A name for a non overlapping subset of policies that share common characteristics. The enums falco and list_matching correspond to the FalcoSource enum syscall, k8s_audit corresponds to k8s_audit, and the others will map to a future enum value once OSS Falco decides a name

createdOn

integer

A timestamp (in milliseconds) of when the rules object was first created.

id

integer

Unique identifier representing a specific policy.

isDefault

boolean

is this a default policy

modifiedOn

integer

A timestamp (in milliseconds) of when the rules object was last modified.

notificationChannelIds

array

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

profile

object

imageId

Required *

string

UUID of the image, based on a SHA256 of the image content.

imageName

Required *

string

Name of the image, as registry/repository:tag.

profileId

Required *

string

UUID of the profile, based on a SHA of (imageId + profileVersion).

profileName

Required *

string

Name of the profile, which includes registry/repository:tag@hash.

profileVersion

Required *

integer

Version of the profile, incremented when the model is updated.

runbook

string

runbook url

templateId

integer

id of the template this policy was birthed from. For unmanaged policies this value is nil

templateVersion

integer

version of the template this policy was most recently updated from.

version

integer

Version of the object. Incremented on each update and used for optimistic locking

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

Path Parameters

id

Required *

string

Query Parameters

Response

200 - The requested policy

actions

array

description

string

Description of policy

enabled

boolean

True if the policy should be considered

name

string

A short name for the policy

ruleNames

array

Array of rule names. (They must be names instead of ids, as the rules list view is by name, to account for multiple rules having the same name).

rules

array

Array of PolicyRules representing each Rule referenced by this policy

scope

string

Where the policy is being applied- Container, Host etc..

severity

integer

How severe is this policy when violated. Range from 0 to 7 included.

type

string

A name for a non overlapping subset of policies that share common characteristics. The enums falco and list_matching correspond to the FalcoSource enum syscall, k8s_audit corresponds to k8s_audit, and the others will map to a future enum value once OSS Falco decides a name

createdOn

integer

A timestamp (in milliseconds) of when the rules object was first created.

id

integer

Unique identifier representing a specific policy.

isDefault

boolean

is this a default policy

modifiedOn

integer

A timestamp (in milliseconds) of when the rules object was last modified.

notificationChannelIds

array

origin

string

A string naming the entity that created this rule. This, combined with the version identifier, corresponds to the "Published by" field in the UI. The origin should be "Secure UI" for objects created by the Secure UI, "Sysdig" for objects provided by Sysdig, and "Customer" for objects provided programmatically by the customer.

profile

object

runbook

string

runbook url

templateId

integer

id of the template this policy was birthed from. For unmanaged policies this value is nil

templateVersion

integer

version of the template this policy was most recently updated from.

version

integer

Version of the object. Incremented on each update and used for optimistic locking

versionId

string

A string representing the version of the file that contained this rule. This, combined with the origin, corresponds to the "Published by" field in the UI. For rules with origin == Sysdig/Customer, the version identifier should come from the version property of the FalcoRulesFiles object that originally contained the rule. For rules with origin == Secure UI, the version should be a constant string "current".

400 - The updated policy was invalid

404 - Resource with the specified ID could not be found. More information about 404 can be found at https://httpstatuses.com/404

409 - The user must first perform a GET request to get the current version of the resource. The user must then compare the remote version with the local expected version and merge any updates from remote if needed and then update the local version to match the remote version. More information about 409 can be found at https://httpstatuses.com/409

Retrieves bubbleChart stats of runtime policy events and vulnerabilities with severities.

GET /api/vi/secureEvents/bubbleChart

Retrieves bubbleChart stats which are useful for understanding events and vulnerabilities with their severity. They that match a `filter`, specified time range (`from` <= `to`), and number of rows to return for all columns. Parameters `from`, `to`, and `metric` are required.

Request

Path Parameters

Query Parameters

from

number

From, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

to

number

To, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring. Operators:

  • `and`, `or` and `not` logical operators (i.e. `pid = 1 and ppid = 2`)
  • `=`, `!=`, `>`, `>=`, `<` and `<=` comparison operators (i.e. `pid = 1`)
  • `in` to check inclusion in a list of values (i.e. `pid in (1, 2)` or `clientipv4 in ("127.0.0.1", "192.168.0.1")`) This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each audit events type. The list of supported fields can be retrieved through the `api/v1/secureEvents/scopeFilters` endpoint. In addition to those fields, also these fields are supported:
  • `severity` as numeric value in the `[0, 7]` range
  • `category` as string value
  • `originator` as string value (either `policy` or `scanning`)
  • `name` as string value
  • `freeText` as string value
  • `source` as string value
  • `agentId` as numeric value
  • `containerId` as string value
  • `machineId` as string value
  • `ruleName` as string value
  • `ruleType` as numeric value
  • `ruleSubType` as numeric value
  • `policyId` as numeric value
  • `alertName` as string value
  • `trigger` as string value
  • `image.id` as string value
  • `image.registry` as string value
  • `image.repo` as string value
  • `image.tag` as string value
  • `image.digest` as string value

Response

200 - The bubbleChart stats of runtime policy events and vulnerabilities with severities.

data

array

400 - The query parameters are missing or invalid

403 - The provided access token is invalid

Retrieves the count of scanning and policy events.

GET /api/vi/secureEvents/count

Retrieves the count of events that match a `filter` given a specified time range (`from <= to`). Parameters `from` and `to` are required.

Request

Path Parameters

Query Parameters

from

number

From, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

to

number

To, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring. Operators:

  • `and`, `or` and `not` logical operators (i.e. `pid = 1 and ppid = 2`)
  • `=`, `!=`, `>`, `>=`, `<` and `<=` comparison operators (i.e. `pid = 1`)
  • `in` to check inclusion in a list of values (i.e. `pid in (1, 2)` or `clientipv4 in ("127.0.0.1", "192.168.0.1")`) This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each audit events type. The list of supported fields can be retrieved through the `api/v1/secureEvents/scopeFilters` endpoint. In addition to those fields, also these fields are supported:
  • `severity` as numeric value in the `[0, 7]` range
  • `category` as string value
  • `originator` as string value (either `policy` or `scanning`)
  • `name` as string value
  • `freeText` as string value
  • `source` as string value
  • `agentId` as numeric value
  • `containerId` as string value
  • `machineId` as string value
  • `ruleName` as string value
  • `ruleType` as numeric value
  • `ruleSubType` as numeric value
  • `policyId` as numeric value
  • `alertName` as string value
  • `trigger` as string value
  • `image.id` as string value
  • `image.registry` as string value
  • `image.repo` as string value
  • `image.tag` as string value
  • `image.digest` as string value

Response

200 - The scanning and secure events count by severity.

policyEvents

object

profilingDetectionEvents

object

scanningEvents

object

400 - The query parameters are missing or invalid

403 - The provided access token is invalid

Retrieves timeseries counts of events by severity or user.

GET /api/vi/secureEvents/timeSeries

Retrieves the top column value and counts of policy events that match a `filter`, specified time range (`from` <= `to`), and number of rows to return for all columns. Parameters `from`, `to`, and `metric` are required.

Request

Path Parameters

Query Parameters

from

number

From, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

to

number

To, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring. Operators:

  • `and`, `or` and `not` logical operators (i.e. `pid = 1 and ppid = 2`)
  • `=`, `!=`, `>`, `>=`, `<` and `<=` comparison operators (i.e. `pid = 1`)
  • `in` to check inclusion in a list of values (i.e. `pid in (1, 2)` or `clientipv4 in ("127.0.0.1", "192.168.0.1")`) This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each audit events type. The list of supported fields can be retrieved through the `api/v1/secureEvents/scopeFilters` endpoint. In addition to those fields, also these fields are supported:
  • `severity` as numeric value in the `[0, 7]` range
  • `category` as string value
  • `originator` as string value (either `policy` or `scanning`)
  • `name` as string value
  • `freeText` as string value
  • `source` as string value
  • `agentId` as numeric value
  • `containerId` as string value
  • `machineId` as string value
  • `ruleName` as string value
  • `ruleType` as numeric value
  • `ruleSubType` as numeric value
  • `policyId` as numeric value
  • `alertName` as string value
  • `trigger` as string value
  • `image.id` as string value
  • `image.registry` as string value
  • `image.repo` as string value
  • `image.tag` as string value
  • `image.digest` as string value

rows

number

Describes how many rows of counts should be returned for each column category. Will be either 5 or 10.

metric

Required *

string

The metric to query timeseries for. Valid values are either `user` or `severity`.

Response

200 - The time series stats of runtime policy events for the specified columns.

data

object

step

number

This is the distance between points from and to in values expressed in nanoseconds.

400 - The query parameters are missing or invalid

403 - The provided access token is invalid

Retrieves top column value and counts of events by cluster, compliance, mitre, namespace, node, rule name, workload.

GET /api/vi/secureEvents/topStats

Retrieves the top column value and counts of policy events that match a `filter`, specified time range (`from` <= `to`), and number of rows to return for all columns. Parameters `from` and `to` are required.

Request

Path Parameters

Query Parameters

from

number

From, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

to

number

To, expressed in nanoseconds. The difference between `from` and `to` cannot be greater than 2 weeks.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring. Operators:

  • `and`, `or` and `not` logical operators (i.e. `pid = 1 and ppid = 2`)
  • `=`, `!=`, `>`, `>=`, `<` and `<=` comparison operators (i.e. `pid = 1`)
  • `in` to check inclusion in a list of values (i.e. `pid in (1, 2)` or `clientipv4 in ("127.0.0.1", "192.168.0.1")`) This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each audit events type. The list of supported fields can be retrieved through the `api/v1/secureEvents/scopeFilters` endpoint. In addition to those fields, also these fields are supported:
  • `severity` as numeric value in the `[0, 7]` range
  • `category` as string value
  • `originator` as string value (either `policy` or `scanning`)
  • `name` as string value
  • `freeText` as string value
  • `source` as string value
  • `agentId` as numeric value
  • `containerId` as string value
  • `machineId` as string value
  • `ruleName` as string value
  • `ruleType` as numeric value
  • `ruleSubType` as numeric value
  • `policyId` as numeric value
  • `alertName` as string value
  • `trigger` as string value
  • `image.id` as string value
  • `image.registry` as string value
  • `image.repo` as string value
  • `image.tag` as string value
  • `image.digest` as string value

rows

number

Describes how many rows of counts should be returned for each column category. Will be either 5 or 10.

Response

200 - The count stats of policy events for all columns.

container.image.repo

array

Array of the count of events per compliance tag, sorted by count.

kubernetes.cluster.name

array

Array of the count of events per cluster, sorted by count.

kubernetes.namespace.name

array

Array of the count of events per namespace, sorted by count.

kubernetes.node.name

array

Array of the count of nodes, sorted by count.

mitre

array

Array of the count of events per mitre sub-tag, sorted by count.

ruleName

array

Array of the count of events per rule name, sorted by count.

workload

array

Array of the count of workloads per workload type and name, sorted by count.

400 - The query parameters are missing or invalid

403 - The provided access token is invalid

Get a list of pipeline scan results

GET /secure/vulnerability/v1beta1/pipeline-results

Retrieves a list of scan results produced by pipelines that match a filter given a specified cursor. No sorting is supported.

Request

Path Parameters

Query Parameters

cursor

string

Cursor is a string used to retrieve a particular page of data. The page is composed of the vulnerabilities after a certain one. 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.

limit

integer

Limit sets the maximum quantity of vulnerabilities returned in the response. A page is never guaranteed to contain this exact number of vulnerabilities, but it will never contain more. The maximum value is 1000, and the minimum value is 1. The default value is 1000 because little calls are discouraged.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Only the freeText parameter is supported:

  • `freeText` as string value (note that it will search on the full image name)

Response

200 - A successful response

data

array

page

object

400 - Bad Request

401 - Unauthorized

403 - Forbidden

404 - The requested resource could not be found

409 - Conflict

422 - Unprocessable entity

429 - Too many requests

500 - Internal error processing the request

503 - The service is unavailable

Get a list of registry scan results

GET /secure/vulnerability/v1beta1/registry-results

Retrieves a list of registry scan results discovered by the registry scanner that match a filter given a specified cursor.

Request

Path Parameters

Query Parameters

cursor

string

Cursor is a string used to retrieve a particular page of data. The page is composed of the vulnerabilities after a certain one. 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.

limit

integer

Limit for pagination. The maximum value is 100, and the minimum value is 1. The default value is 1000.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Operators:

  • `and`, `or` logical operators (i.e. `registry.vendor = "artifactory" and registry.name = "docker.internal.sysdig.tools"`)

  • `=` and `!=` comparison operators (i.e. `registry.vendor = "ecr"`)

This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each Scan Result type.

The list of supported fields is:

  • `repository.name` as string value
  • `registry.vendor` as string value
  • `scope` as string value

Response

200 - A successful response

data

array

page

object

400 - Bad Request

401 - Unauthorized

403 - Forbidden

404 - The requested resource could not be found

409 - Conflict

422 - Unprocessable entity

429 - Too many requests

500 - Internal error processing the request

503 - The service is unavailable

Get full scan result

GET /secure/vulnerability/v1beta1/results/{resultId}

Retrieve a full scan result produced by any scanner that match a given ID

Request

Path Parameters

resultId

Required *

string

The ID of a single scan result. Could be retrieved by one of the listing endpoints.

Query Parameters

Response

200 - A successful response

result

object

400 - Bad Request

401 - Unauthorized

403 - Forbidden

404 - The requested resource could not be found

409 - Conflict

422 - Unprocessable entity

429 - Too many requests

500 - Internal error processing the request

503 - The service is unavailable

Get a list of runtime scan results

GET /secure/vulnerability/v1beta1/runtime-results

Retrieves a list of runtime scan results discovered by the runtime scanner that match a filter given a specified cursor.

Request

Path Parameters

Query Parameters

cursor

string

Cursor is a string used to retrieve a particular page of data. The page is composed of the vulnerabilities after a certain one. 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.

limit

integer

Limit for pagination. The maximum value is 1000, and the minimum value is 1. The default value is 1000.

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Operators:

  • `and`, `or` logical operators (i.e. `kubernetes.cluster.name=production and kubernetes.pod.container.name = docker.internal.sysdig.tools`)

  • `=` and `!=` comparison operators (i.e. `kubernetes.cluster.name=staging`)

This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each Scan Result type.

The list of supported fields is:

  • `asset.type` as string value
  • `kubernetes.cluster.name` as string value
  • `kubernetes.namespace.name` as string value
  • `kubernetes.workload.name` as string value
  • `kubernetes.workload.type` as string value
  • `kubernetes.pod.container.name` as string value
  • `agent.tag.env` as string value
  • `hasRunningVulns` as boolean value
  • `policyStatus` as enum, allowed values are `passed`, `failed`, `accepted` and `noPolicy`
  • `freeText` as string value (note that it will search on the full image name)

sort

string

Allowed values for sorting are "vulnTotalBySeverity" and "runningVulnTotalBySeverity" the default is "vulnTotalBySeverity". Only one sorting at a time is supported Ordering is also supported along with sorting. Allowed values are "asc" and "desc", and the default value is "desc"

Response

200 - A successful response

data

array

page

object

400 - Bad Request

401 - Unauthorized

403 - Forbidden

404 - The requested resource could not be found

409 - Conflict

422 - Unprocessable entity

429 - Too many requests

500 - Internal error processing the request

503 - The service is unavailable

Get sbom

GET /secure/vulnerability/v1beta1/sboms

Retrieve the SBOM of a recently scanned image

Request

Path Parameters

Query Parameters

assetId

string

The ID of the asset for which we want to retrive the sbom. It's the imageId for container-image and the hostId for hosts Provide this with assetType if not providing bomIdentifier

assetType

string

The type of the asset for which we want to retrive the sbom. Provide this with assetId if not providing bomIdentifier

bomIdentifier

string

The ID of a single sbom. Either provide this or both assetId and assetType

Response

200 - A successful response

bomFormat

string

components

array

compositions

array

dependencies

array

metadata

object

serialNumber

string

specVersion

string

version

integer

400 - Bad Request

401 - Unauthorized

403 - Forbidden

404 - The required resource could not be found

406 - Server can't produce a response in the content-type requested by the client

429 - Too many requests

500 - Internal error processing the request

503 - The service is unavailable

Get a list of runtime scan results

GET /secure/vulnerability/v1/runtime-results

Retrieves a list of runtime scan results discovered by the runtime scanner that match a filter given a specified cursor.

Request

Path Parameters

Query Parameters

cursor

string

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.

limit

integer

Limit for pagination

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Operators:

  • `and`, `or` logical operators (i.e. `kubernetes.cluster.name="production" and kubernetes.pod.container.name = "docker.internal.sysdig.tools"`)

  • `=` and `!=` comparison operators (i.e. `kubernetes.cluster.name="staging"`)

This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each Scan Result type.

The supported fields are the all the fields of the `Scope`, plus: `freeText`, `hasRunningVulns` and `hasRunningVulns`.

sort

string

Field used to sort the results vulnTotalBySeverity: sort by total number of running vulnerabilities weighted by severity runningVulnTotalBySeverity: sort by total number of running vulnerabilities weighted by severity for running assets

order

string

Ordering of the results for the sort field

Response

200 - A successful response

data

array

page

VulnerabilityManagementPage

API paging response

400 -

401 -

403 -

409 -

429 -

500 -

Get a list of registry scan results

GET /secure/vulnerability/v1/registry-results

Retrieves a list of registry scan results discovered by the registry scanner that match a filter given a specified cursor.

Request

Path Parameters

Query Parameters

cursor

string

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.

limit

integer

Limit for pagination

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Operators:

  • `and`, `or` logical operators (i.e. `freeText = "alpine:latest" and vendor = "docker"`)

  • `=` and `!=` comparison operators (i.e. `vendor = "ecr"`)

This query language does not support the full set of metrics supported in the monitor query language, but instead supports a set of fields proper to each Scan Result type.

The supported fields are: `freeText`, `vendor`.

  • `vendor` as string value
  • `freeText` as string value (note that it will search on the full image name)

Response

200 - A successful response

data

array

page

VulnerabilityManagementPage

API paging response

400 -

401 -

403 -

409 -

429 -

500 -

Get a list of pipeline scan results

GET /secure/vulnerability/v1/pipeline-results

Retrieves a list of scan results produced by pipelines that match a filter given a specified cursor. No sorting is supported, the items are sorted in a stable way by their ID.

Request

Path Parameters

Query Parameters

cursor

string

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.

limit

integer

Limit for pagination

filter

string

Query language expression for filtering results. It is a subset of the full metrics query language used in monitoring.

Only the freeText parameter is supported:

  • `freeText` as string value (note that it will search on the full image name)

Response

200 - A successful response

data

array

page

VulnerabilityManagementPage

API paging response

400 -

401 -

403 -

409 -

429 -

500 -

Get full scan result

GET /secure/vulnerability/v1/results/{resultId}

Retrieve a full scan result produced by any scanner that match a given ID

Request

Path Parameters

resultId

Required *

string

The ID of a single scan result. Could be retrieved by one of the listing endpoints.

Query Parameters

Response

200 - A successful response

assetType

string

scan result asset type

baseImages

object

layers

object

metadata

object

metadata of the scan result

packages

object

policies

Policies

producer

Producer

riskAccepts

object

stage

string

scan result stage

vulnerabilities

object

400 -

401 -

403 -

409 -

429 -

500 -

List Zones

GET /platform/v1/zones

Retrieve a paginated list of Zones. This endpoint is deprecated. For more information, see the release notes.

Required permissions: zones.read or teams.edit

Request

Path Parameters

Query Parameters

filter

array

Filters to apply in the form of `key:value`.
Multiple filters can be applied by repeating the `filter` parameter:
`&filter=key1:value1&filter=key2:value2`

limit

integer

The number of items to return

offset

integer

The offset number of items to start with

orderby

array

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:
`&orderby=key1:direction1&orderby=key2:direction2`

Response

200 - A list of Zones

data

array

page

object

Page information.

400 -

401 -

422 -

429 -

500 -

Create Zone

POST /platform/v1/zones

Create a new Zone. This endpoint is deprecated. For more information, see the release notes.

Required permissions: zones.edit

Request

Request Body

CreateZoneRequestV1

Request body for creating a new Zone

description

string

The Zone description. It can be useful for adding extra information

name

Required *

string

The name of the Zone. It must be unique

scopes

Required *

array

Zone attached scopes

Response

200 - A Single Zone

author

string

Email of the user who created this Zone

description

string

The description of the Zone

id

integer

isSystem

boolean

Boolean value indicating if the Zone is a System one

lastModifiedBy

string

Email of the user who last modified the Zone

lastUpdated

object

Timestamp indicating the moment the Zone has been last updated.
It is expressed in milliseconds elapsed since January 1, 1970 UTC.

name

string

The name of the Zone

scopes

array

Attached Zone Scopes

400 -

401 -

409 -

422 -

429 -

500 -

Delete Zone

DELETE /platform/v1/zones/{zoneId}

Delete a Zone by its ID. This endpoint is deprecated. For more information, see the release notes.

Required permissions: zones.edit

Request

Path Parameters

zoneId

Required *

ID of the Zone

Query Parameters

Response

204 - Zone successfully deleted

400 -

401 -

404 - Zone not found

409 -

422 -

429 -

500 -

Get Zone

GET /platform/v1/zones/{zoneId}

Retrieve a single Zone by ID. This endpoint is deprecated. For more information, see the release notes.

Required permissions: zones.read

Request

Path Parameters

zoneId

Required *

ID of the Zone

Query Parameters

Response

200 - A Single Zone

author

string

Email of the user who created this Zone

description

string

The description of the Zone

id

integer

isSystem

boolean

Boolean value indicating if the Zone is a System one

lastModifiedBy

string

Email of the user who last modified the Zone

lastUpdated

object

Timestamp indicating the moment the Zone has been last updated.
It is expressed in milliseconds elapsed since January 1, 1970 UTC.

name

string

The name of the Zone

scopes

array

Attached Zone Scopes

400 -

401 -

404 - Zone not found

422 -

429 -

500 -

Update Zone

PUT /platform/v1/zones/{zoneId}

Update an existing Zone by its ID. This endpoint is deprecated. For more information, see the release notes.

Required permissions: zones.edit

Request

Request Body

CreateZoneRequestV1

Request body for editing an existing zone

description

string

The Zone description. It can be useful for adding extra information

name

Required *

string

The name of the Zone. It must be unique

scopes

Required *

array

Zone attached scopes

Path Parameters

zoneId

Required *

ID of the Zone

Query Parameters

Response

200 - A Single Zone

author

string

Email of the user who created this Zone

description

string

The description of the Zone

id

integer

isSystem

boolean

Boolean value indicating if the Zone is a System one

lastModifiedBy

string

Email of the user who last modified the Zone

lastUpdated

object

Timestamp indicating the moment the Zone has been last updated.
It is expressed in milliseconds elapsed since January 1, 1970 UTC.

name

string

The name of the Zone

scopes

array

Attached Zone Scopes

400 -

401 -

422 -

429 -

500 -

List Report Schedules

GET /platform/reporting/v1/schedules

Retrieve a paginated list of Report Schedules.

Required permissions: platform.reporting.schedules.read

Request

Response

200 - List of Report schedules

data

array

List of Schedules.

400 -

401 -

422 -

429 -

500 -

List Report Job Runs

GET /platform/reporting/v1/jobs

Retrieve a list of Report Job runs.

Required permissions: platform.reporting.report-downloads.read

Request

Path Parameters

Query Parameters

scheduleId

Required *

string

ID of the Schedule

reportId

integer

ID of the Report

isReportTemplate

string

Indicates whether the report is a template.

completedOn

Date the job was completed in epoch milliseconds.

jobType

string

Type of the job.

status

string

Status of the job.

kind

string

Kind of the report.

policies

string

List of policy IDs in string format.

zones

string

List of zone IDs in string format.

Response

200 - List of Report job runs.

data

array

List of Jobs.

400 -

401 -

422 -

429 -

500 -

List Zones

GET /platform/v2/zones

Retrieve a paginated list of Zones.

The endpoint supports complex filtering via the `MultiFilter` query parameter.

Returned items follow `ZoneResponseV2` and the outer envelope is a standard offset-paginated response.

Required permissions: `zones.read` or `teams.edit`

Request

Path Parameters

Query Parameters

filter

array

Filters to apply in the form of `key:value`.
Multiple filters can be applied by repeating the `filter` parameter:
`&filter=key1:value1&filter=key2:value2`

limit

integer

The number of items to return

offset

integer

The offset number of items to start with

orderby

array

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:
`&orderby=key1:direction1&orderby=key2:direction2`

Response

200 - A list of Zones

data

array

A paged list of Zones.

page

object

Page information.

400 -

401 -

403 -

422 -

429 -

500 -

Create Zone

POST /platform/v2/zones

Create a new Zone. Provide a unique `name`, optional `description` and one or more `scopes` describing the resources that belong to this zone.

Each scope is an OR-group of resource filters; each filter targets a `resourceType` and contains one or more filter expressions (field/operator/value). See the examples below for concrete schema definitions and examples.

Use this endpoint when you want to group resources (hosts, cloud accounts, images, etc.) into logical Zones.

Required permissions: `zones.edit`

Request

Request Body

CreateZoneRequestV2

Request body for creating a new Zone

description

string

The Zone description. It can be useful for adding extra information

name

Required *

string

The name of the Zone. It must be unique

scopes

Required *

array

Zone filter definition

Response

201 - Zone successfully created

author

string

Email of the user who created this Zone

description

string

The description of the Zone

id

integer

Zone ID

isSystem

boolean

Boolean value indicating if the Zone is a System one

lastModifiedBy

string

Email of the user who last modified the Zone

lastUpdated

object

Timestamp indicating the moment the Zone has been last updated.
It is expressed in milliseconds elapsed since January 1, 1970 UTC.

name

string

The name of the Zone

scopes

array

Attached Zone Scopes

400 -

401 -

403 -

409 -

422 -

429 -

500 -

Get Zone

GET /platform/v2/zones/{zoneId}

Retrieve a single Zone by ID.

Use the Zone `id` (path parameter) to fetch the full Zone resource including its scopes and metadata.

Required permissions: `zones.read`

Request

Path Parameters

zoneId

Required *

ID of the Zone

Query Parameters

Response

200 - A Single Zone

author

string

Email of the user who created this Zone

description

string

The description of the Zone

id

integer

Zone ID

isSystem

boolean

Boolean value indicating if the Zone is a System one

lastModifiedBy

string

Email of the user who last modified the Zone

lastUpdated

object

Timestamp indicating the moment the Zone has been last updated.
It is expressed in milliseconds elapsed since January 1, 1970 UTC.

name

string

The name of the Zone

scopes

array

Attached Zone Scopes

400 -

401 -

403 -

404 -

422 -

429 -

500 -

Update Zone

PUT /platform/v2/zones/{zoneId}

Replace an existing Zone by its ID. Use this endpoint to update all modifiable fields of a zone. Provide a full `CreateZoneRequestV2`-shaped body; missing required fields may cause validation errors.

Note: Updates are costly; partial updates are not supported.

Required permissions: `zones.edit`

Request

Request Body

CreateZoneRequestV2

Request body for editing an existing zone. Provide the full resource representation.

description

string

The Zone description. It can be useful for adding extra information

name

Required *

string

The name of the Zone. It must be unique

scopes

Required *

array

Zone filter definition

Path Parameters

zoneId

Required *

ID of the Zone

Query Parameters

Response

200 - A Single Zone

author

string

Email of the user who created this Zone

description

string

The description of the Zone

id

integer

Zone ID

isSystem

boolean

Boolean value indicating if the Zone is a System one

lastModifiedBy

string

Email of the user who last modified the Zone

lastUpdated

object

Timestamp indicating the moment the Zone has been last updated.
It is expressed in milliseconds elapsed since January 1, 1970 UTC.

name

string

The name of the Zone

scopes

array

Attached Zone Scopes

400 -

401 -

403 -

404 -

422 -

429 -

500 -

Delete Zone

DELETE /platform/v2/zones/{zoneId}

Delete a Zone by its ID. This operation is irreversible. Ensure the zone is not in use before deletion.

Required permissions: `zones.edit`

Request

Path Parameters

zoneId

Required *

ID of the Zone

Query Parameters

Response

204 - Zone successfully deleted

400 -

401 -

403 -

404 -

409 -

422 -

429 -

500 -

List Report Templates

GET /platform/reporting/v2alpha1/templates

Retrieve the catalog of available report templates.

The catalog is not the same for every customer. Templates gated by controlled availability or by product entitlement are omitted for customers that do not have them enabled, so this listing is the authoritative set of templates the caller may create reports from. Do not hard-code template ids — read them from here. A template absent from this listing also cannot be fetched by id (`404`).

Superseded templates are omitted for everyone. The reporting service still stores templates of an earlier resource-posture generation that the Sysdig UI no longer offers; those have no `kind` in this API and never appear here. Their replacements are the `posture_v2` templates. Reports created from a superseded template before it was retired remain readable through the v1 API and the UI, but are not exposed here — see `GET /reports`.

Required permissions: platform.reporting.reports.read

Request

Response

200 - List of report templates.

data

array

List of templates.

400 -

401 -

403 -

500 -

Get Report Template

GET /platform/reporting/v2alpha1/templates/{templateId}

Retrieve a single report template by its identifier.

Required permissions: platform.reporting.reports.read

Request

Path Parameters

templateId

Required *

string

The report template identifier (slug).

Query Parameters

Response

200 - The report template.

id

string

Template identifier (stable slug). Referenced as `templateId` when creating a report. Legacy identifier format retained for compatibility (pre-existing-identifier exception).

type

string

Resource type. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

kind

string

Report category.

name

string

Human-readable template name.

description

string

Template description.

defaultTimePreset

string

Suggested default reporting window (advisory), in the same rolling `Nd` form a run or schedule accepts — see `Timeframe`. Empty when unset.

timePresets

array

Suggested reporting-window options (advisory; not a hard constraint on runs/schedules), each in the rolling `Nd` form a run or schedule accepts.

This list may be shorter than the equivalent picker in the Sysdig UI. The UI offers a rolling "24 h" option alongside a calendar-aligned "1 d"; because presets here are always rolling, both collapse to `1d` and the duplicate is dropped. A caller wanting the calendar-aligned variant sends `startAt`/`endAt` on a run instead.

availableFilters

array

Filters a report created from this template can apply report-wide — each affects every panel whose query supports it. The per-panel remainder is under `panels[].availableFilters`, and the two lists partition this template's filter surface: no key appears in both.

The split varies by template, so read it rather than assuming. Most templates promote only `zone` here and leave the filterable keys on their panels. Others — typically the summary-style reports whose panels all aggregate the same dataset — promote most of their surface here, because a filter like severity is only meaningful applied to the whole document. Either arrangement is normal.

The split also varies between panels of the same template. Promotion removes a key from every panel that declared it, so a panel whose query supports nothing beyond the promoted set comes back with an empty `availableFilters`, while a panel drawing on a richer query keeps the remainder. Expect one template to contain both kinds, and read each panel's own list.

panels

array

Panel preview — identity, the filters each panel supports (`availableFilters`), and the panel's built-in default `filters`. Use these to decide what to send in a report's `panels`.

An empty array is legitimate. Some report kinds do not build their output from panels at all; for those the whole filter surface is at report level and this list is empty. It means the template has no panels, not that the preview was withheld. Two consequences: a report created from such a template accepts no `panels` on create or update, and its runs cannot use `panelId`, because there is no panel to target.

createdAt

string

Timestamp when the template was created.

updatedAt

string

Timestamp when the template was last updated.

400 -

401 -

403 -

404 -

500 -

List Reports

GET /platform/reporting/v2alpha1/reports

Retrieve the list of reports.

Visibility scope: returns reports belonging to the caller's team within the caller's customer account, not the whole tenant.

Reports of a superseded kind are omitted. A report created from a template of an earlier resource-posture generation has no `kind` this API can express, so it is not listed here and `GET /reports/{reportId}` returns `404` for it. Such reports still exist and stay readable through the v1 API and the Sysdig UI — nothing is deleted — so a report visible in the UI may be absent here.

Required permissions: platform.reporting.reports.read

Request

Response

200 - List of reports.

data

array

List of reports.

400 -

401 -

403 -

500 -

Create Report

POST /platform/reporting/v2alpha1/reports

Create a report from a template. Optionally create a schedule in the same request by including a `schedule` object.

Atomicity: when a `schedule` is included the call is all-or-nothing — if the schedule is invalid or cannot be created, the report is not created either and nothing is left behind. Creating a report and its schedule separately (`POST /reports` then `POST /schedules`) remains supported.

The `201` body's `scheduleIds` holds the id of the schedule created alongside the report, and `Location` points at the report.

Required permissions: platform.reporting.reports.edit, plus `platform.reporting.schedules.edit` when the body includes a `schedule` — that request creates a schedule as well, and is refused as a whole if either permission is missing.

Request

Request Body

CreateReportRequestV2Alpha1

The report to create.

templateId

Required *

string

Identifier (slug) of the template to create the report from.

name

Required *

string

Report name. Leading and trailing whitespace is trimmed; a name that is empty once trimmed is rejected.

description

string

Report description.

filters

array

Report-wide filters, validated against the template's report-level `availableFilters`.

Each applies to every panel whose query supports that key — one filter here is equivalent to setting it on each of those panels, which is what makes the generated document internally consistent. Panels whose queries do not use the key are unaffected.

A compliance report takes exactly one `zone` and one `policy`; any other number is rejected with `422`.

Which keys are accepted here is decided by the template, not fixed across the API: some templates promote most of their filter surface to report level and leave their panels with none, others promote only `zone`. Read the template's `availableFilters` rather than assuming. Keys the template leaves per-panel go in `panels` instead, and the two sets never overlap.

panels

array

Per-panel filters. Sparse — list only the panels you want to scope; omitted panels keep the template's defaults. Panels themselves are never authored via the API; this only sets filters on panels the template already defines.

defaultTimeframe

object

The report's own default reporting window, used when a run created from it does not state one. Defaults to the template's `defaultTimePreset`. `preset` must be one of the template's `timePresets`; any other value is rejected with `422`.

Relative only, and advisory: a run may always report over a different window. Set it so that the report carries the period it is meant to be read over, rather than every caller having to remember.

preset

Required *

string

Relative window as whole days, `Nd` with 1 ≤ N ≤ 30 (e.g. `1d`, `7d`, `30d`). Values outside this pattern or range are rejected.

The accepted subset depends on the schedule's `cron`: `1d` for a daily recurrence; `1d` or `7d` for a weekly one; `1d`, `7d` or `30d` for a monthly one; unrestricted for any other cron. A preset the `cron` does not allow is rejected with `422`.

schedule

ScheduleRequestV2Alpha1

A schedule's settings. Embedded as-is in `POST /reports`, where the report is implicit. `POST /schedules` uses `CreateScheduleRequest`, which requires `reportId`; `PUT /schedules/{scheduleId}` uses `UpdateScheduleRequest`, which omits it.

A schedule describes only when and in what form a report is produced, never what it covers. Scope is not part of this payload and cannot be set per schedule — to report on a different scope, create a second report.

A schedule has no scope of its own at all. Every run covers the scope its report has when the run fires, so editing a report's `filters` changes what all of that report's existing schedules deliver, from their next run onwards — and nothing in this payload or in the schedule response reflects that change. Two schedules on the same report therefore always deliver the same scope as each other.

reportId

integer

The report this schedule belongs to, as assigned by the reporting service. Required for `POST /schedules`; omit when embedded in `POST /reports`.

name

string

Optional schedule name (a report may have multiple named schedules).

description

string

Optional free-text note describing what this schedule is for and who consumes it.

cron

Required *

string

Cron expression defining the recurrence, as six fields — `second minute hour dayOfMonth month dayOfWeek`. The common five-field form is not accepted and is rejected with `422`.

Always evaluated in UTC, whatever `timezone` says. To fire at a local wall-clock time, convert it to UTC yourself before building the expression — the Sysdig UI does exactly this, which is why a schedule created here and one created there behave the same way. Converting means three things, and the second is the one that is easy to miss:

  1. Convert the local time to UTC; that gives `hour` and `minute`.
  2. If that conversion crosses midnight, shift the day as well. Monday 22:00 in `America/New_York` is Tuesday 02:00 UTC, so `dayOfWeek` becomes `TUE` — a schedule that converts only the time fires on the wrong day.
  3. Leave a `dayOfMonth` of `28-31` alone. That is the "last day of the month" form, and it is the one case where `timezone` affects firing: the service uses it to decide whether today is that month's last day.

Which `timeframe.preset` values are accepted depends on the recurrence this describes — see `timeframe`.

timezone

Required *

string

IANA timezone the `cron` expression was composed in — a record of the caller's intent, so a UI can render the schedule back as a local time.

It does not shift when the schedule fires. `cron` is evaluated in UTC regardless, so convert a local wall-clock time to UTC yourself when building the expression. Its one effect on firing is for a cron whose day-of-month selects the end of the month (e.g. `28-31`), where it decides whether today is that month's last day in this zone.

format

Required *

string

Output format of each generated run. Not every format is valid for every report — the permitted set is determined by the `kind` of the template the report was created from (see `Template.kind`):
\

  • `posture_v2` — `csv` only\
  • `compliance` — `pdf` only\
  • `vulnerability_management` — `csv`, `pdf` or `json`

    An unsupported combination is rejected with `422`.

    Where a report's kind permits `csv` or `json`, that holds whatever its panels look like — including panels that are charts rather than tables: they export each panel's underlying result rows.
timeframe

Required *

object

Window each run reports over. Required: a schedule does not fall back to the report's `defaultTimeframe`, because which presets are accepted depends on `cron` (below).

Which presets are accepted depends on `cron`: a daily recurrence takes `1d`; a weekly one `1d` or `7d`; a monthly one `1d`, `7d` or `30d`; any other cron is unrestricted. A `cron`/`preset` combination outside that is rejected with `422`, naming `/timeframe/preset`.

compression

string

Compression of the produced file. Defaults to `gzip` on create, which is what the Sysdig UI sends. On update an omitted value keeps the schedule's current compression rather than resetting it, so a password-protected `zip` schedule is not silently turned into a `gzip` one its password cannot protect. `delivery.password` requires `zip`. Changing a password-protected schedule to `gzip` is rejected with `422` unless the same request also removes the password — see `delivery.password`.

enabled

boolean

Whether the schedule is active. Defaults to true.

delivery

object

How a scheduled report's output is delivered and protected.

`isSecureDownload` and `password` are two independent protections and may be used separately or together:

  • `isSecureDownload` gates who may fetch the file (a Sysdig login is required).
  • `password` encrypts the file itself (zip password). `isPasswordProtected` reports whether one is set.

Response

201 - Report created.

id

integer

Report identifier, assigned by the reporting service. Legacy integer identifier retained for compatibility (pre-existing-identifier exception; not UUIDv7).

templateId

string

Identifier (slug) of the template this report was created from. Immutable — a report cannot be moved to another template. Fetch the template to see the full filter and panel catalog this report's own `availableFilters` are drawn from.

type

string

Resource type, derived from the template. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

kind

string

Report category, derived from the template.

name

string

Report name.

description

string

Report description.

availableFilters

array

Filters this report can apply report-wide, inherited from its template. Present here so that editing a report does not require fetching the template as well; the per-panel remainder is under `panels[].availableFilters`, and the two lists never share a key.

The contents are template-specific — do not assume a fixed set of report-level keys.

filters

array

Applied report-wide filters (echoed back with template defaults applied). Each affects every panel whose query supports the key. Filters applied to a single panel are echoed under `panels[].filters`, and no key appears in both.

defaultTimeframe

object

The report's default reporting window, applied to runs created from it that do not state their own. Seeded from the template's `defaultTimePreset` when the report is created.

panels

array

Panel preview — identity, the filters each panel supports (`availableFilters`), and the filters this report applies to it (`filters`). A per-panel run's `panelId` must be one of these.

scheduleCount

integer

Count of schedules attached to this report. Fetch the schedules via `GET /schedules?reportId=`.

scheduleIds

array

Identifiers of the schedules attached to this report, the same set `scheduleCount` counts. On the response to a `POST /reports` that embedded a `schedule`, this holds the id of the schedule that request created. Fetch a schedule with `GET /schedules/{scheduleId}`.

createdBy

string

Email of the user who created the report.

createdAt

string

Timestamp when the report was created.

updatedAt

string

Timestamp when the report was last updated.

400 -

401 -

403 -

409 -

415 -

422 -

500 -

Get Report

GET /platform/reporting/v2alpha1/reports/{reportId}

Retrieve a report by its identifier.

Required permissions: platform.reporting.reports.read

Request

Response

200 - The report.

id

integer

Report identifier, assigned by the reporting service. Legacy integer identifier retained for compatibility (pre-existing-identifier exception; not UUIDv7).

templateId

string

Identifier (slug) of the template this report was created from. Immutable — a report cannot be moved to another template. Fetch the template to see the full filter and panel catalog this report's own `availableFilters` are drawn from.

type

string

Resource type, derived from the template. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

kind

string

Report category, derived from the template.

name

string

Report name.

description

string

Report description.

availableFilters

array

Filters this report can apply report-wide, inherited from its template. Present here so that editing a report does not require fetching the template as well; the per-panel remainder is under `panels[].availableFilters`, and the two lists never share a key.

The contents are template-specific — do not assume a fixed set of report-level keys.

filters

array

Applied report-wide filters (echoed back with template defaults applied). Each affects every panel whose query supports the key. Filters applied to a single panel are echoed under `panels[].filters`, and no key appears in both.

defaultTimeframe

object

The report's default reporting window, applied to runs created from it that do not state their own. Seeded from the template's `defaultTimePreset` when the report is created.

panels

array

Panel preview — identity, the filters each panel supports (`availableFilters`), and the filters this report applies to it (`filters`). A per-panel run's `panelId` must be one of these.

scheduleCount

integer

Count of schedules attached to this report. Fetch the schedules via `GET /schedules?reportId=`.

scheduleIds

array

Identifiers of the schedules attached to this report, the same set `scheduleCount` counts. On the response to a `POST /reports` that embedded a `schedule`, this holds the id of the schedule that request created. Fetch a schedule with `GET /schedules/{scheduleId}`.

createdBy

string

Email of the user who created the report.

createdAt

string

Timestamp when the report was created.

updatedAt

string

Timestamp when the report was last updated.

400 -

401 -

403 -

404 -

500 -

Update Report

PUT /platform/reporting/v2alpha1/reports/{reportId}

Replace a report's mutable fields — `name`, `description`, `filters`, and per-panel `filters`. `templateId` and `kind` are immutable. Omitted mutable fields are reset to their defaults; use `PATCH` to change a subset.

`If-Match` is required — supply the report's current `ETag` so a concurrent change cannot be silently overwritten.

Required permissions: platform.reporting.reports.edit

Request

Request Body

UpdateReportRequestV2Alpha1

The updated report.

name

Required *

string

Report name. Leading and trailing whitespace is trimmed; a name that is empty once trimmed is rejected.

description

string

Report description.

filters

array

Report-wide filters, validated against the template's report-level `availableFilters`. Each applies to every panel whose query supports that key. Keys the template leaves per-panel go in `panels` instead; the two sets never overlap, and a report-level key sent under `panels` is rejected with `422`.

A compliance report takes exactly one `zone` and one `policy`; any other number is rejected with `422`.

panels

array

Per-panel filters. Sparse — list only the panels you want to change; omitted panels keep their current filters. Panels cannot be added, removed, or reordered.

Omitting `panels` altogether is the same as listing every panel with an empty `filters`: each panel's optional filters are cleared, and its required filters keep their current values.

defaultTimeframe

object

The report's default reporting window. Omitted resets it to the template's `defaultTimePreset`, as with every other mutable field on a `PUT`. `preset` must be one of the template's `timePresets`; any other value is rejected with `422`.

preset

Required *

string

Relative window as whole days, `Nd` with 1 ≤ N ≤ 30 (e.g. `1d`, `7d`, `30d`). Values outside this pattern or range are rejected.

The accepted subset depends on the schedule's `cron`: `1d` for a daily recurrence; `1d` or `7d` for a weekly one; `1d`, `7d` or `30d` for a monthly one; unrestricted for any other cron. A preset the `cron` does not allow is rejected with `422`.

Path Parameters

Query Parameters

Response

200 - Report updated.

id

integer

Report identifier, assigned by the reporting service. Legacy integer identifier retained for compatibility (pre-existing-identifier exception; not UUIDv7).

templateId

string

Identifier (slug) of the template this report was created from. Immutable — a report cannot be moved to another template. Fetch the template to see the full filter and panel catalog this report's own `availableFilters` are drawn from.

type

string

Resource type, derived from the template. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

kind

string

Report category, derived from the template.

name

string

Report name.

description

string

Report description.

availableFilters

array

Filters this report can apply report-wide, inherited from its template. Present here so that editing a report does not require fetching the template as well; the per-panel remainder is under `panels[].availableFilters`, and the two lists never share a key.

The contents are template-specific — do not assume a fixed set of report-level keys.

filters

array

Applied report-wide filters (echoed back with template defaults applied). Each affects every panel whose query supports the key. Filters applied to a single panel are echoed under `panels[].filters`, and no key appears in both.

defaultTimeframe

object

The report's default reporting window, applied to runs created from it that do not state their own. Seeded from the template's `defaultTimePreset` when the report is created.

panels

array

Panel preview — identity, the filters each panel supports (`availableFilters`), and the filters this report applies to it (`filters`). A per-panel run's `panelId` must be one of these.

scheduleCount

integer

Count of schedules attached to this report. Fetch the schedules via `GET /schedules?reportId=`.

scheduleIds

array

Identifiers of the schedules attached to this report, the same set `scheduleCount` counts. On the response to a `POST /reports` that embedded a `schedule`, this holds the id of the schedule that request created. Fetch a schedule with `GET /schedules/{scheduleId}`.

createdBy

string

Email of the user who created the report.

createdAt

string

Timestamp when the report was created.

updatedAt

string

Timestamp when the report was last updated.

400 -

401 -

403 -

404 -

409 -

412 -

415 -

422 -

428 -

500 -

Patch Report

PATCH /platform/reporting/v2alpha1/reports/{reportId}

Partially update a report using JSON Merge Patch (RFC 7386). Send only the fields you want to change; omitted fields keep their current values. `templateId` and `kind` are immutable.

Array-valued fields (`filters`, `panels`) are replaced wholesale, not merged element-wise — that is what Merge Patch specifies. To clear a report's filters send `"filters": null`.

`If-Match` is required — supply the report's current `ETag` so a concurrent change cannot be silently overwritten.

Required permissions: platform.reporting.reports.edit

Request

Request Body

The fields to change.

Path Parameters

Query Parameters

Response

200 - Report updated.

id

integer

Report identifier, assigned by the reporting service. Legacy integer identifier retained for compatibility (pre-existing-identifier exception; not UUIDv7).

templateId

string

Identifier (slug) of the template this report was created from. Immutable — a report cannot be moved to another template. Fetch the template to see the full filter and panel catalog this report's own `availableFilters` are drawn from.

type

string

Resource type, derived from the template. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

kind

string

Report category, derived from the template.

name

string

Report name.

description

string

Report description.

availableFilters

array

Filters this report can apply report-wide, inherited from its template. Present here so that editing a report does not require fetching the template as well; the per-panel remainder is under `panels[].availableFilters`, and the two lists never share a key.

The contents are template-specific — do not assume a fixed set of report-level keys.

filters

array

Applied report-wide filters (echoed back with template defaults applied). Each affects every panel whose query supports the key. Filters applied to a single panel are echoed under `panels[].filters`, and no key appears in both.

defaultTimeframe

object

The report's default reporting window, applied to runs created from it that do not state their own. Seeded from the template's `defaultTimePreset` when the report is created.

panels

array

Panel preview — identity, the filters each panel supports (`availableFilters`), and the filters this report applies to it (`filters`). A per-panel run's `panelId` must be one of these.

scheduleCount

integer

Count of schedules attached to this report. Fetch the schedules via `GET /schedules?reportId=`.

scheduleIds

array

Identifiers of the schedules attached to this report, the same set `scheduleCount` counts. On the response to a `POST /reports` that embedded a `schedule`, this holds the id of the schedule that request created. Fetch a schedule with `GET /schedules/{scheduleId}`.

createdBy

string

Email of the user who created the report.

createdAt

string

Timestamp when the report was created.

updatedAt

string

Timestamp when the report was last updated.

400 -

401 -

403 -

404 -

409 -

412 -

415 -

422 -

428 -

500 -

Delete Report

DELETE /platform/reporting/v2alpha1/reports/{reportId}

Delete a report. Cascades to its schedules and run history.

`If-Match` is optional here, unlike on `PUT` and `PATCH`: an unconditional delete is accepted. Supply the report's `ETag` to abort the delete if the report has changed since you read it.

Required permissions: platform.reporting.reports.edit

Request

Path Parameters

Query Parameters

Response

204 - Report deleted.

400 -

401 -

403 -

404 -

412 -

500 -

List Report Schedules

GET /platform/reporting/v2alpha1/schedules

Retrieve the list of report schedules, optionally filtered by report.

Visibility scope: returns schedules belonging to the caller's team within the caller's customer account, and only schedules attached to a report. The reporting service also stores schedules of other kinds — ones attached directly to a template, and data-export schedules — which have no representation in this API and are never returned here. A schedule visible in the Sysdig UI may therefore be absent from this listing.

Required permissions: platform.reporting.schedules.read

Request

Path Parameters

Query Parameters

reportId

integer

Filter results to the given report identifier.

Response

200 - List of report schedules.

data

array

List of schedules.

400 -

401 -

403 -

500 -

Create Report Schedule

POST /platform/reporting/v2alpha1/schedules

Create a schedule for an existing report.

Required permissions: platform.reporting.schedules.edit

Request

Request Body

CreateScheduleRequestV2Alpha1

The schedule to create (`reportId` is required here).

reportId

Required *

integer

The report this schedule belongs to, as assigned by the reporting service. Required for `POST /schedules`; omit when embedded in `POST /reports`.

name

Required *

string

Optional schedule name (a report may have multiple named schedules).

description

string

Optional free-text note describing what this schedule is for and who consumes it.

cron

Required *

string

Cron expression defining the recurrence, as six fields — `second minute hour dayOfMonth month dayOfWeek`. The common five-field form is not accepted and is rejected with `422`.

Always evaluated in UTC, whatever `timezone` says. To fire at a local wall-clock time, convert it to UTC yourself before building the expression — the Sysdig UI does exactly this, which is why a schedule created here and one created there behave the same way. Converting means three things, and the second is the one that is easy to miss:

  1. Convert the local time to UTC; that gives `hour` and `minute`.
  2. If that conversion crosses midnight, shift the day as well. Monday 22:00 in `America/New_York` is Tuesday 02:00 UTC, so `dayOfWeek` becomes `TUE` — a schedule that converts only the time fires on the wrong day.
  3. Leave a `dayOfMonth` of `28-31` alone. That is the "last day of the month" form, and it is the one case where `timezone` affects firing: the service uses it to decide whether today is that month's last day.

Which `timeframe.preset` values are accepted depends on the recurrence this describes — see `timeframe`.

timezone

Required *

string

IANA timezone the `cron` expression was composed in — a record of the caller's intent, so a UI can render the schedule back as a local time.

It does not shift when the schedule fires. `cron` is evaluated in UTC regardless, so convert a local wall-clock time to UTC yourself when building the expression. Its one effect on firing is for a cron whose day-of-month selects the end of the month (e.g. `28-31`), where it decides whether today is that month's last day in this zone.

format

Required *

string

Output format of each generated run. Not every format is valid for every report — the permitted set is determined by the `kind` of the template the report was created from (see `Template.kind`):
\

  • `posture_v2` — `csv` only\
  • `compliance` — `pdf` only\
  • `vulnerability_management` — `csv`, `pdf` or `json`

    An unsupported combination is rejected with `422`.

    Where a report's kind permits `csv` or `json`, that holds whatever its panels look like — including panels that are charts rather than tables: they export each panel's underlying result rows.

timeframe

Required *

object

Window each run reports over. Required: a schedule does not fall back to the report's `defaultTimeframe`, because which presets are accepted depends on `cron` (below).

Which presets are accepted depends on `cron`: a daily recurrence takes `1d`; a weekly one `1d` or `7d`; a monthly one `1d`, `7d` or `30d`; any other cron is unrestricted. A `cron`/`preset` combination outside that is rejected with `422`, naming `/timeframe/preset`.

preset

Required *

string

Relative window as whole days, `Nd` with 1 ≤ N ≤ 30 (e.g. `1d`, `7d`, `30d`). Values outside this pattern or range are rejected.

The accepted subset depends on the schedule's `cron`: `1d` for a daily recurrence; `1d` or `7d` for a weekly one; `1d`, `7d` or `30d` for a monthly one; unrestricted for any other cron. A preset the `cron` does not allow is rejected with `422`.

compression

string

Compression of the produced file. Defaults to `gzip` on create, which is what the Sysdig UI sends. On update an omitted value keeps the schedule's current compression rather than resetting it, so a password-protected `zip` schedule is not silently turned into a `gzip` one its password cannot protect. `delivery.password` requires `zip`. Changing a password-protected schedule to `gzip` is rejected with `422` unless the same request also removes the password — see `delivery.password`.

enabled

boolean

Whether the schedule is active. Defaults to true.

delivery

DeliveryV2Alpha1

How a scheduled report's output is delivered and protected.

`isSecureDownload` and `password` are two independent protections and may be used separately or together:

  • `isSecureDownload` gates who may fetch the file (a Sysdig login is required).
  • `password` encrypts the file itself (zip password). `isPasswordProtected` reports whether one is set.
channels

array

Notification channels the produced file is delivered to.

isSecureDownload

boolean

Require a Sysdig login to access the report when it is shared via a notification channel. Gates access to the download; it does not password-protect the file — use `password` for that. Independent of `password` and of `compression`.

isPasswordProtected

boolean

Whether the produced file is password-protected. The password itself is never returned.

password

string

Password protecting the produced file. Only available for `compression: zip`. Independent of `isSecureDownload`. Write-only — accepted on write, never returned; read `isPasswordProtected` to tell whether one is set.

On update, an omitted `password` keeps the current one, even when the rest of `delivery` is replaced. Send a new value to change it, or `null` to remove it.

Response

201 - Schedule created.

id

string

Schedule identifier. Legacy identifier format retained for compatibility (pre-existing-identifier exception).

reportId

integer

The report this schedule belongs to, as assigned by the reporting service. Immutable: a schedule cannot be moved to another report, so `UpdateScheduleRequest` has no `reportId`.

type

string

Resource type, derived from the schedule's report. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

name

string

Schedule name.

description

string

Free-text note describing what this schedule is for and who consumes it.

cron

string

Cron expression defining the recurrence, as six fields — `second minute hour dayOfMonth month dayOfWeek`, evaluated in UTC.

timezone

string

IANA timezone the `cron` expression was composed in — a record of the caller's intent, so a UI can render the schedule back as a local time.

It does not shift when the schedule fires. `cron` is evaluated in UTC regardless, so convert a local wall-clock time to UTC yourself when building the expression. Its one effect on firing is for a cron whose day-of-month selects the end of the month (e.g. `28-31`), where it decides whether today is that month's last day in this zone.

format

string

Output format of each generated run.

timeframe

object

Window each run of this schedule reports over. Omitted for the report kinds that do not take one — read it rather than assuming a window exists.

compression

string

Compression of the produced file.

enabled

boolean

Whether the schedule is active (the user toggle).

status

string

Server-computed effective state of the schedule. Distinct from the `enabled` toggle: a schedule the user has enabled can still be `inactive` or `error`.

`active_limited_data` means active and the most recent run was truncated by the row limit — the schedule is working, but its last delivery was capped. The per-run equivalent is `RunResponse.hasLimitedData`. This value tracks the latest run, so it can change between two reads without the schedule having been edited.

delivery

DeliveryV2Alpha1

How a scheduled report's output is delivered and protected.

`isSecureDownload` and `password` are two independent protections and may be used separately or together:

  • `isSecureDownload` gates who may fetch the file (a Sysdig login is required).
  • `password` encrypts the file itself (zip password). `isPasswordProtected` reports whether one is set.

lastRunAt

string

Timestamp of the last completed run. Omitted until the schedule has run once.

createdBy

string

Email of the user who created the schedule.

createdAt

string

Timestamp when the schedule was created.

updatedAt

string

Timestamp when the schedule was last updated.

400 -

401 -

403 -

409 -

415 -

422 -

500 -

Get Report Schedule

GET /platform/reporting/v2alpha1/schedules/{scheduleId}

Retrieve a schedule by its identifier.

Required permissions: platform.reporting.schedules.read

Request

Response

200 - The report schedule.

id

string

Schedule identifier. Legacy identifier format retained for compatibility (pre-existing-identifier exception).

reportId

integer

The report this schedule belongs to, as assigned by the reporting service. Immutable: a schedule cannot be moved to another report, so `UpdateScheduleRequest` has no `reportId`.

type

string

Resource type, derived from the schedule's report. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

name

string

Schedule name.

description

string

Free-text note describing what this schedule is for and who consumes it.

cron

string

Cron expression defining the recurrence, as six fields — `second minute hour dayOfMonth month dayOfWeek`, evaluated in UTC.

timezone

string

IANA timezone the `cron` expression was composed in — a record of the caller's intent, so a UI can render the schedule back as a local time.

It does not shift when the schedule fires. `cron` is evaluated in UTC regardless, so convert a local wall-clock time to UTC yourself when building the expression. Its one effect on firing is for a cron whose day-of-month selects the end of the month (e.g. `28-31`), where it decides whether today is that month's last day in this zone.

format

string

Output format of each generated run.

timeframe

object

Window each run of this schedule reports over. Omitted for the report kinds that do not take one — read it rather than assuming a window exists.

compression

string

Compression of the produced file.

enabled

boolean

Whether the schedule is active (the user toggle).

status

string

Server-computed effective state of the schedule. Distinct from the `enabled` toggle: a schedule the user has enabled can still be `inactive` or `error`.

`active_limited_data` means active and the most recent run was truncated by the row limit — the schedule is working, but its last delivery was capped. The per-run equivalent is `RunResponse.hasLimitedData`. This value tracks the latest run, so it can change between two reads without the schedule having been edited.

delivery

DeliveryV2Alpha1

How a scheduled report's output is delivered and protected.

`isSecureDownload` and `password` are two independent protections and may be used separately or together:

  • `isSecureDownload` gates who may fetch the file (a Sysdig login is required).
  • `password` encrypts the file itself (zip password). `isPasswordProtected` reports whether one is set.

lastRunAt

string

Timestamp of the last completed run. Omitted until the schedule has run once.

createdBy

string

Email of the user who created the schedule.

createdAt

string

Timestamp when the schedule was created.

updatedAt

string

Timestamp when the schedule was last updated.

400 -

401 -

403 -

404 -

500 -

Update Report Schedule

PUT /platform/reporting/v2alpha1/schedules/{scheduleId}

Update a schedule. `reportId` is immutable; `status` is server-computed (read-only).

Required permissions: platform.reporting.schedules.edit

Request

Request Body

UpdateScheduleRequestV2Alpha1

The updated schedule.

name

string

Optional schedule name (a report may have multiple named schedules).

description

string

Optional free-text note describing what this schedule is for and who consumes it.

cron

Required *

string

Cron expression defining the recurrence, as six fields — `second minute hour dayOfMonth month dayOfWeek`. The common five-field form is not accepted and is rejected with `422`.

Always evaluated in UTC, whatever `timezone` says. To fire at a local wall-clock time, convert it to UTC yourself before building the expression — the Sysdig UI does exactly this, which is why a schedule created here and one created there behave the same way. Converting means three things, and the second is the one that is easy to miss:

  1. Convert the local time to UTC; that gives `hour` and `minute`.
  2. If that conversion crosses midnight, shift the day as well. Monday 22:00 in `America/New_York` is Tuesday 02:00 UTC, so `dayOfWeek` becomes `TUE` — a schedule that converts only the time fires on the wrong day.
  3. Leave a `dayOfMonth` of `28-31` alone. That is the "last day of the month" form, and it is the one case where `timezone` affects firing: the service uses it to decide whether today is that month's last day.

Which `timeframe.preset` values are accepted depends on the recurrence this describes — see `timeframe`.

timezone

Required *

string

IANA timezone the `cron` expression was composed in — a record of the caller's intent, so a UI can render the schedule back as a local time.

It does not shift when the schedule fires. `cron` is evaluated in UTC regardless, so convert a local wall-clock time to UTC yourself when building the expression. Its one effect on firing is for a cron whose day-of-month selects the end of the month (e.g. `28-31`), where it decides whether today is that month's last day in this zone.

format

Required *

string

Output format of each generated run. Not every format is valid for every report — the permitted set is determined by the `kind` of the template the report was created from (see `Template.kind`):
\

  • `posture_v2` — `csv` only\
  • `compliance` — `pdf` only\
  • `vulnerability_management` — `csv`, `pdf` or `json`

    An unsupported combination is rejected with `422`.

    Where a report's kind permits `csv` or `json`, that holds whatever its panels look like — including panels that are charts rather than tables: they export each panel's underlying result rows.

timeframe

Required *

object

Window each run reports over. Required: a schedule does not fall back to the report's `defaultTimeframe`, because which presets are accepted depends on `cron` (below).

Which presets are accepted depends on `cron`: a daily recurrence takes `1d`; a weekly one `1d` or `7d`; a monthly one `1d`, `7d` or `30d`; any other cron is unrestricted. A `cron`/`preset` combination outside that is rejected with `422`, naming `/timeframe/preset`.

preset

Required *

string

Relative window as whole days, `Nd` with 1 ≤ N ≤ 30 (e.g. `1d`, `7d`, `30d`). Values outside this pattern or range are rejected.

The accepted subset depends on the schedule's `cron`: `1d` for a daily recurrence; `1d` or `7d` for a weekly one; `1d`, `7d` or `30d` for a monthly one; unrestricted for any other cron. A preset the `cron` does not allow is rejected with `422`.

compression

string

Compression of the produced file. Defaults to `gzip` on create, which is what the Sysdig UI sends. On update an omitted value keeps the schedule's current compression rather than resetting it, so a password-protected `zip` schedule is not silently turned into a `gzip` one its password cannot protect. `delivery.password` requires `zip`. Changing a password-protected schedule to `gzip` is rejected with `422` unless the same request also removes the password — see `delivery.password`.

enabled

Required *

boolean

Whether the schedule runs. Set `false` to pause it without deleting it.

delivery

DeliveryV2Alpha1

How a scheduled report's output is delivered and protected.

`isSecureDownload` and `password` are two independent protections and may be used separately or together:

  • `isSecureDownload` gates who may fetch the file (a Sysdig login is required).
  • `password` encrypts the file itself (zip password). `isPasswordProtected` reports whether one is set.
channels

array

Notification channels the produced file is delivered to.

isSecureDownload

boolean

Require a Sysdig login to access the report when it is shared via a notification channel. Gates access to the download; it does not password-protect the file — use `password` for that. Independent of `password` and of `compression`.

isPasswordProtected

boolean

Whether the produced file is password-protected. The password itself is never returned.

password

string

Password protecting the produced file. Only available for `compression: zip`. Independent of `isSecureDownload`. Write-only — accepted on write, never returned; read `isPasswordProtected` to tell whether one is set.

On update, an omitted `password` keeps the current one, even when the rest of `delivery` is replaced. Send a new value to change it, or `null` to remove it.

Response

200 - Schedule updated.

id

string

Schedule identifier. Legacy identifier format retained for compatibility (pre-existing-identifier exception).

reportId

integer

The report this schedule belongs to, as assigned by the reporting service. Immutable: a schedule cannot be moved to another report, so `UpdateScheduleRequest` has no `reportId`.

type

string

Resource type, derived from the schedule's report. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

name

string

Schedule name.

description

string

Free-text note describing what this schedule is for and who consumes it.

cron

string

Cron expression defining the recurrence, as six fields — `second minute hour dayOfMonth month dayOfWeek`, evaluated in UTC.

timezone

string

IANA timezone the `cron` expression was composed in — a record of the caller's intent, so a UI can render the schedule back as a local time.

It does not shift when the schedule fires. `cron` is evaluated in UTC regardless, so convert a local wall-clock time to UTC yourself when building the expression. Its one effect on firing is for a cron whose day-of-month selects the end of the month (e.g. `28-31`), where it decides whether today is that month's last day in this zone.

format

string

Output format of each generated run.

timeframe

object

Window each run of this schedule reports over. Omitted for the report kinds that do not take one — read it rather than assuming a window exists.

compression

string

Compression of the produced file.

enabled

boolean

Whether the schedule is active (the user toggle).

status

string

Server-computed effective state of the schedule. Distinct from the `enabled` toggle: a schedule the user has enabled can still be `inactive` or `error`.

`active_limited_data` means active and the most recent run was truncated by the row limit — the schedule is working, but its last delivery was capped. The per-run equivalent is `RunResponse.hasLimitedData`. This value tracks the latest run, so it can change between two reads without the schedule having been edited.

delivery

DeliveryV2Alpha1

How a scheduled report's output is delivered and protected.

`isSecureDownload` and `password` are two independent protections and may be used separately or together:

  • `isSecureDownload` gates who may fetch the file (a Sysdig login is required).
  • `password` encrypts the file itself (zip password). `isPasswordProtected` reports whether one is set.

lastRunAt

string

Timestamp of the last completed run. Omitted until the schedule has run once.

createdBy

string

Email of the user who created the schedule.

createdAt

string

Timestamp when the schedule was created.

updatedAt

string

Timestamp when the schedule was last updated.

400 -

401 -

403 -

404 -

409 -

415 -

422 -

500 -

Patch Report Schedule

PATCH /platform/reporting/v2alpha1/schedules/{scheduleId}

Partially update a schedule using JSON Merge Patch (RFC 7386). Send only the fields you want to change; omitted fields keep their current values. `reportId` is immutable and `status` is server-computed.

Typical use is pausing or resuming without resending the whole definition: `{"enabled": false}`.

Objects and arrays are replaced wholesale rather than merged, so `delivery` and `timeframe` overwrite the current value entirely. Schedules are not versioned and carry no `ETag`, so writes are unconditional.

Required permissions: platform.reporting.schedules.edit

Request

Request Body

The fields to change.

Response

200 - Schedule updated.

id

string

Schedule identifier. Legacy identifier format retained for compatibility (pre-existing-identifier exception).

reportId

integer

The report this schedule belongs to, as assigned by the reporting service. Immutable: a schedule cannot be moved to another report, so `UpdateScheduleRequest` has no `reportId`.

type

string

Resource type, derived from the schedule's report. `report` is the only value returned today. New values MAY be added in a future minor version — treat an unrecognised value as opaque and carry on rather than failing on it.

Never accepted in a request body — supplying it is a `400`.

name

string

Schedule name.

description

string

Free-text note describing what this schedule is for and who consumes it.

cron

string

Cron expression defining the recurrence, as six fields — `second minute hour dayOfMonth month dayOfWeek`, evaluated in UTC.

timezone

string

IANA timezone the `cron` expression was composed in — a record of the caller's intent, so a UI can render the schedule back as a local time.

It does not shift when the schedule fires. `cron` is evaluated in UTC regardless, so convert a local wall-clock time to UTC yourself when building the expression. Its one effect on firing is for a cron whose day-of-month selects the end of the month (e.g. `28-31`), where it decides whether today is that month's last day in this zone.

format

string

Output format of each generated run.

timeframe

object

Window each run of this schedule reports over. Omitted for the report kinds that do not take one — read it rather than assuming a window exists.

compression

string

Compression of the produced file.

enabled

boolean

Whether the schedule is active (the user toggle).

status

string

Server-computed effective state of the schedule. Distinct from the `enabled` toggle: a schedule the user has enabled can still be `inactive` or `error`.

`active_limited_data` means active and the most recent run was truncated by the row limit — the schedule is working, but its last delivery was capped. The per-run equivalent is `RunResponse.hasLimitedData`. This value tracks the latest run, so it can change between two reads without the schedule having been edited.

delivery

DeliveryV2Alpha1

How a scheduled report's output is delivered and protected.

`isSecureDownload` and `password` are two independent protections and may be used separately or together:

  • `isSecureDownload` gates who may fetch the file (a Sysdig login is required).
  • `password` encrypts the file itself (zip password). `isPasswordProtected` reports whether one is set.

lastRunAt

string

Timestamp of the last completed run. Omitted until the schedule has run once.

createdBy

string

Email of the user who created the schedule.

createdAt

string

Timestamp when the schedule was created.

updatedAt

string

Timestamp when the schedule was last updated.

400 -

401 -

403 -

404 -

409 -

415 -

422 -

500 -

Delete Report Schedule

DELETE /platform/reporting/v2alpha1/schedules/{scheduleId}

Delete a schedule. Cascades to its run history.

Required permissions: platform.reporting.schedules.edit

Request

Response

204 - Schedule deleted.

400 -

401 -

403 -

404 -

500 -

List Report Runs

GET /platform/reporting/v2alpha1/runs

Retrieve report runs, optionally filtered by report, schedule, how they were triggered, status, or activity time.

`reportId` and `scheduleId` are mutually exclusive — supply at most one. Sending both is rejected with `400`.

To count or list a report's ad-hoc downloads — for instance to warn a user how many produced files deleting the report would destroy — combine `reportId` with `trigger=on_demand`.

Incremental polling: use `sinceAt` to fetch only runs with activity at or after a given instant. Because this listing is unpaginated, `sinceAt` is the recommended way to avoid re-reading the whole retained history on every poll. `sinceAt` cannot be combined with `status=pending` or `status=running` (`400`).

Retention: this listing is not a complete history. Completed runs — including truncated ones — are returned only while their produced file is still retrievable (a fixed retention window, currently expressed in days); older completed runs are omitted. Runs in any other state, including failed runs, are not subject to this window. Treat the listing as "runs whose output is still available", not "everything that ever ran".

Downloadable files: to list the files currently available for download, filter with `status=completed` — each such run carries its `resultUri` until its file expires.

Visibility scope: returns runs belonging to the caller's team within the caller's customer account, not the whole tenant.

Required permissions: platform.reporting.report-downloads.read

Request

Path Parameters

Query Parameters

reportId

integer

Filter results to the given report identifier.

scheduleId

string

Filter results to the given schedule identifier.

trigger

string

Return only runs started this way:

  • `on_demand` — runs created directly via `POST /runs`. These are the runs a `scheduleId` filter cannot reach, since they have none.
  • `schedule` — runs produced by any schedule.

Omitted returns both. Combining `trigger=on_demand` with `scheduleId` is rejected with `400`, since the two can never both hold. `trigger=schedule` with a `scheduleId` is accepted but redundant.

status

string

Filter runs by status.

sinceAt

string

Return only runs with activity at or after this instant (RFC 3339) — i.e. runs that finished at/after it, plus runs that started at/after it (so in-flight and failed runs are included). Intended for incremental polling: pass the timestamp of your previous poll to fetch only what has changed since.

The name deliberately does not commit to one timestamp: a run matches on either of its two, so neither `finishedAt` nor `startedAt` would describe the filter correctly.

A run that has not started yet has no activity, so it is not returned until it starts. For the same reason `sinceAt` cannot be combined with `status=pending` or `status=running`: either combination returns `400`.

Response

200 - List of report runs.

data

array

List of runs.

400 -

401 -

403 -

500 -

Generate Report Run

POST /platform/reporting/v2alpha1/runs

Generate a report on demand (asynchronous). Poll `GET /runs/{runId}` until the run completes, then download the file from its `resultUri`.

Required permissions: platform.reporting.report-downloads.read

Request

Request Body

CreateRunRequestV2Alpha1

The run to generate.

reportId

Required *

integer

The report to generate, as assigned by the reporting service.

format

Required *

string

Output format. Not every format is valid for every report — the permitted set is determined by the `kind` of the template the report was created from (see `Template.kind`):
\

  • `posture_v2` — `csv` only\
  • `compliance` — `pdf` only\
  • `vulnerability_management` — `csv`, `pdf` or `json`

    An unsupported combination is rejected with `422`.

    Where a report's kind permits `csv` or `json`, that holds whatever its panels look like — including panels that are charts rather than tables: they export each panel's underlying result rows, with the chart type recorded as metadata in the JSON form. (Sysdig's own UI offers only `pdf` for chart-bearing reports, but that is a presentation choice — the data export is not restricted.)

timeframe

object

Window to report over. An absolute `startAt`/`endAt` range may span at most 31 days (note: relative `preset` values cap at 30 days). Omit to use the report's `defaultTimeframe`.

preset

string

Relative window as whole days, `Nd` with 1 ≤ N ≤ 30 (e.g. `1d`, `7d`, `30d`). Values outside this pattern or range are rejected with `422`.

Rolling, ending at the instant the run is created — `1d` is the last 24 hours, not yesterday. Use `startAt`/`endAt` for a calendar-aligned window.

startAt

string

Absolute start of the window (RFC 3339). Runs only. Must be no later than `endAt`, and must fall inside the recency limit described above.

endAt

string

Absolute end of the window (RFC 3339). Runs only. Must fall inside the recency limit described above.

timezone

string

IANA timezone the produced file's dates and day boundaries are rendered in. Defaults to `UTC`.

This affects presentation, not selection: `timeframe` is resolved against absolute instants either way, so two runs of the same report over the same window in different timezones cover the same data and differ only in how dates are formatted and where day boundaries fall in grouped output.

compression

string

Compression of the produced file. Defaults to `gzip`, which is what the Sysdig UI sends; `zip` is the opt-in choice, and the only one a scheduled delivery password can protect.

fileName

string

Base name for the produced file. Defaults to the report's name (or the panel's name for a per-panel export).

This is a base name, not the final file name. The service always appends a UTC timestamp and the format/compression extensions, so `fileName: "prod-runtime-vulns"` with `format: csv` and `compression: gzip` yields `prod-runtime-vulns_2026-07-28T10_05_00.000Z.csv.gz`. With `compression: zip` only the `.zip` extension is appended.

Any path components are stripped and `:` is replaced with `_`, so the value cannot influence the storage location. Send a non-empty string or omit the field entirely; an empty string is rejected with `422`.

On-demand only — a schedule's runs are always named after the report.

panelId

integer

Export only this panel — an id assigned by the reporting service, and one of the report's `panels[].id`. CSV/JSON only; on-demand only.

Not available for every report: a report whose template has no panels (`panels: []`) cannot be exported per panel, and sending `panelId` for one is rejected with `422`. Check the report's `panels` before offering this.

Response

202 - Run accepted and generating. Poll the run resource in the `Location` header.

400 -

401 -

403 -

404 -

415 -

422 -

500 -

Get Report Run

GET /platform/reporting/v2alpha1/runs/{runId}

Retrieve a report run by its identifier (poll for status).

Required permissions: platform.reporting.report-downloads.read

Request

Path Parameters

runId

Required *

string

The report run identifier.

Query Parameters

Response

200 - The report run.

400 -

401 -

403 -

404 -

500 -

Get a list of CVEs

GET /secure/vulnerability/v1beta1/cves

List CVEs in the Sysdig vulnerability catalog, independent of your scan results. Supports free-text search plus dedicated equality filters for severity, CVSS score range, publish date range, and exploit/KEV/fix availability. Filters are combined with AND.

Request

Path Parameters

Query Parameters

query

string

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

componentName

string

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

severity

array

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

cvssMin

number

Restrict results to CVEs with a base CVSS score greater than or equal to this value. Must be less than or equal to `cvssMax` when both are given, otherwise the request is rejected with `400 Bad Request`.

cvssMax

number

Restrict results to CVEs with a base CVSS score less than or equal to this value. Must be greater than or equal to `cvssMin` when both are given, otherwise the request is rejected with `400 Bad Request`.

publishedAfter

string

Restrict results to CVEs published at or after this timestamp. Must be earlier than or equal to `publishedBefore` when both are given, otherwise the request is rejected with `400 Bad Request`.

publishedBefore

string

Restrict results to CVEs published at or before this timestamp. Must be later than or equal to `publishedAfter` when both are given, otherwise the request is rejected with `400 Bad Request`.

hasExploit

boolean

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

hasKev

boolean

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

hasFix

boolean

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

cursor

string

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.

limit

integer

The maximum number of CVEs to return in a single page. The maximum value is 100, and the minimum value is 1. The default value is 25.

Response

200 - A successful response

data

array

page

VulnerabilityManagementPage

API paging response

400 -

401 -

403 -

429 -

500 -

503 -

Get a single CVE

GET /secure/vulnerability/v1beta1/cves/{cveId}

Retrieve the full catalog record for a single CVE, including per-vendor metadata and the affected component ranges across ecosystems.

Request

Path Parameters

cveId

Required *

string

The CVE identifier.

Query Parameters

Response

200 - A successful response

id

string

The CVE identifier.

summary

Cve

Summary fields for a single CVE, common to both the list and detail views.

vendors

array

affected

array

400 -

401 -

403 -

404 -

429 -

500 -

503 -