You are reading the documentation of OpenCTI 7.260309 LTS · 7.260309.0-lts.8, supported until 2027-04.Latest is 7.261119.0 →
How-to guide
Promote to indicator
The OpenCTI API calls that promote an observable now return the created Indicator, through a new GraphQL mutation and a new Python client method.
OpenCTIFor platform engineers and developers
From OpenCTI 6.2, the API calls that promote an observable to an Indicator return the Indicator they create, instead of the observable. The old calls were removed in 6.8. This page lists the replacements, for scripts that call the GraphQL API or the Python client.
- promote → promoteToIndicator: replace with
- promote_to_indicator → promote_to_indicator_v2: replace with
- promoteToIndicator → The new Indicator: returns
- promote_to_indicator_v2 → The new Indicator: returns
- promote → The observable: returned
- promote_to_indicator → The observable: returned
| Version | |
|---|---|
| Deprecated in | OpenCTI 6.2 |
| Removed in | OpenCTI 6.8 |
Replaced calls
| API | Removed | Replaced by |
|---|---|---|
| GraphQL | StixCyberObservableEditMutations.promote | StixCyberObservableEditMutations.promoteToIndicator |
| Python client | client.stix_cyber_observable.promote_to_indicator | client.stix_cyber_observable.promote_to_indicator_v2 |
What to do
Call the new mutation or method in your scripts. If a script uses the value it returns, expect the new Indicator instead of the promoted observable, and adapt the fields it reads.
What's next
- Script OpenCTI in Python, the methods of the client.
- Breaking changes, the other changes per version.