Learn
In this section we are going to present how to utilize each module with easy to follow examples.
Note that some examples might not be 100% reporducable since they relies on your Recorded Future enterprise being correctly set up, having the right modules and permission on the token etc. Those examples will be marked with a warning with possible steps you might need to do to complete the example.
Also note that before running any of the examples you need to have a Recorded Future API token to be passed to PSEngine. This can be done in few ways:
-
set a
RF_TOKENenvironment variable. For example on Linux or MacOS you will do: -
Load the environment variable from a
.envfile using thepython-dotenvmodule https://pypi.org/project/python-dotenv/ -
Get the token from a vault and pass it as argument to each manager. For example:
The Internals page is going to go deeper in some of the internal code of PSEngine in case you need to read through it during troubleshooting/debugging.