Anatomy of an Integration
A more technical look into the structure of Pandium and a deeper dive into the workings of how integrations are hosted and run on our platform.
On Pandium, integrations are constructed as a simple Posix compliant command line interface application (CLI). The CLI should read tenant configuration and connector secrets from environment variables. Any logs you wish to display to your end users should be written to stderr
.
One can pass information to the next run by writing a json encoded string to stdout
. On the next run it will be injected in as an environment variable namedPAN_CTX_LAST_RUN_STDOUT
or PAN_CTX_LAST_SUCESSFUL_RUN_STDOUT.
Last updated