pycti.entities.opencti_capability

class pycti.entities.opencti_capability.Capability(opencti)[source]

Represents a role capability on the OpenCTI platform

See the properties attribute to understand which properties are fetched by default from the graphql queries.

Parameters:

opencti (OpenCTIApiClient) – instance of OpenCTIApiClient

__init__(opencti)[source]

Initialize the Capability instance.

Parameters:

opencti (OpenCTIApiClient) – OpenCTI API client instance

list(**kwargs)[source]

Lists all capabilities available on the platform

Parameters:

customAttributes (str, optional) – Custom attributes to retrieve from the GraphQL query.

Returns:

List of capabilities

Return type:

List[Dict]