Call GraphQL API
Action ID:tools.opencti.call_graphql
Return the GraphQL response body (data and any extensions).
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/docs/docs/reference/api.md
Secrets
Required secrets:opencti: required valuesOPENCTI_API_TOKEN.
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).
/graphql is appended.Create incident response case
Action ID:tools.opencti.create_case_incident
Create an incident response case.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_case_incident.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Create indicator
Action ID:tools.opencti.create_indicator
Create an indicator. An existing indicator with the same pattern is updated instead.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_indicator.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Create note
Action ID:tools.opencti.create_note
Create a note and attach it to entities.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_note.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Create observable
Action ID:tools.opencti.create_stix_cyber_observable
Create a STIX cyber observable. An existing observable with the same value is updated instead.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_cyber_observable.py
Input fields
Observable type: IPv4-Addr, IPv6-Addr, Domain-Name, Hostname, Url, Email-Addr, StixFile, Mac-Addr, User-Account or Autonomous-System.
AutonomousSystemAddInput for type AutonomousSystem, e.g.
{value: ...}. Set only the input that matches type.Default: null.DomainNameAddInput for type DomainName, e.g.
{value: ...}. Set only the input that matches type.Default: null.EmailAddrAddInput for type EmailAddr, e.g.
{value: ...}. Set only the input that matches type.Default: null.HostnameAddInput for type Hostname, e.g.
{value: ...}. Set only the input that matches type.Default: null.IPv4AddrAddInput for type IPv4Addr, e.g.
{value: ...}. Set only the input that matches type.Default: null.IPv6AddrAddInput for type IPv6Addr, e.g.
{value: ...}. Set only the input that matches type.Default: null.MacAddrAddInput for type MacAddr, e.g.
{value: ...}. Set only the input that matches type.Default: null.StixFileAddInput for type StixFile, e.g.
{value: ...} or {hashes: [{algorithm: SHA-256, hash: ...}], name}. Set only the input that matches type.Default: null.UrlAddInput for type Url, e.g.
{value: ...}. Set only the input that matches type.Default: null.UserAccountAddInput for type UserAccount, e.g.
{value: ...}. Set only the input that matches type.Default: null.OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Create relationship
Action ID:tools.opencti.create_stix_core_relationship
Create a relationship between two entities.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_core_relationship.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Create report
Action ID:tools.opencti.create_report
Create a report. An existing report with the same name and published date is updated instead.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_report.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Create sighting
Action ID:tools.opencti.create_stix_sighting_relationship
Record a sighting of an entity or indicator, typically by an identity or system.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_sighting_relationship.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Get indicator
Action ID:tools.opencti.get_indicator
Get an indicator by ID.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_indicator.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Get observable
Action ID:tools.opencti.get_stix_cyber_observable
Get a STIX cyber observable by ID.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_cyber_observable.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Get report
Action ID:tools.opencti.get_report
Get a report by ID.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_report.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Get STIX core object
Action ID:tools.opencti.get_stix_core_object
Get an entity or observable by ID.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_core_object.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.List incident response cases
Action ID:tools.opencti.list_case_incidents
List incident response cases.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_case_incident.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.OpenCTI FilterGroup:
{mode, filters: [{key, values, operator, mode}], filterGroups}. See https://docs.opencti.io/latest/reference/filters/.Default: null.List indicators
Action ID:tools.opencti.list_indicators
List indicators.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_indicator.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.OpenCTI FilterGroup:
{mode, filters: [{key, values, operator, mode}], filterGroups}. See https://docs.opencti.io/latest/reference/filters/.Default: null.List observables
Action ID:tools.opencti.list_stix_cyber_observables
List STIX cyber observables (IPs, domains, hashes, URLs and more).
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_cyber_observable.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.OpenCTI FilterGroup:
{mode, filters: [{key, values, operator, mode}], filterGroups}. See https://docs.opencti.io/latest/reference/filters/.Default: null.Observable types to return (e.g. IPv4-Addr, Domain-Name, Url, StixFile, Email-Addr).Default:
null.List relationships
Action ID:tools.opencti.list_stix_core_relationships
List relationships between entities.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_core_relationship.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.OpenCTI FilterGroup:
{mode, filters: [{key, values, operator, mode}], filterGroups}. See https://docs.opencti.io/latest/reference/filters/.Default: null.List reports
Action ID:tools.opencti.list_reports
List reports.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_report.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.OpenCTI FilterGroup:
{mode, filters: [{key, values, operator, mode}], filterGroups}. See https://docs.opencti.io/latest/reference/filters/.Default: null.Promote observable to indicator
Action ID:tools.opencti.promote_stix_cyber_observable_to_indicator
Create an indicator from an observable.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_cyber_observable.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.Search STIX core objects
Action ID:tools.opencti.search_stix_core_objects
Search entities and observables across the OpenCTI knowledge graph.
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_core_object.py
Input fields
OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.OpenCTI FilterGroup:
{mode, filters: [{key, values, operator, mode}], filterGroups}. See https://docs.opencti.io/latest/reference/filters/.Default: null.Entity types to return (e.g. Malware, Intrusion-Set, Threat-Actor-Group, Vulnerability, Attack-Pattern, IPv4-Addr).Default:
null.Update entity fields
Action ID:tools.opencti.update_stix_domain_object_field
Patch fields of an entity (e.g. a case status, severity or description).
Reference: https://github.com/OpenCTI-Platform/opencti/blob/master/client-python/pycti/entities/opencti_stix_domain_object.py
Input fields
List of EditInput objects:
{key, value: [...], operation} where operation is replace (default), add or remove.OpenCTI platform URL, including the base path if any (e.g. https://opencti.example.com).Default:
null.