You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
This is a TypeScript library for interacting with OpenCTI. At the time of writing, this library supports OpenCTI version 6.7.7, but this may change.
Local Development
Updating the OpenCTI version
To update the autogenerated client, please clone the OpenCTI repository and check out the version that you need. Then, you can run this command.
pnpm generate$PATH_TO_OPENCTI
Testing
To run the tests, please cloneOpenCTI-Platform/docker and set the API key to00000000-0000-0000-0000-000000000000. After the Docker containers are up, you can run the tests with this command.
pnpmtest
To test this package with another project, make sure the project has apnpm section in thepackage.json. Then, run this command in the other project
pnpm link$PATH_TO_THIS_REPO
Once you're done testing, you can revert the link with this.
pnpm unlink @security-alliance/opencti-clientpnpm i