Extending Sentinel

Sentinel can be extended by writing additional imports. These imports can bring new functionality to Sentinel by allowing access to new data or by the addition of new functions. This section is designed to show you how to accomplish this extensibility and describe how it works.

Currently, the only usable way to add additional imports is via modules. While plugins currently work under the Sentinel CLI, no Sentinel integration currently supports their use.


Modules allow you to re-use Sentinel code as an import. Modules are loaded external of policies and mapped to imports. This is usually configured via a file such as the CLI configuration file.

See the modules section for more details.


Imports can also be implemented as plugins when Sentinel code itself is too restrictive to represent the import, or if you need access to features not normally available to the Sentinel runtime.

See the plugins section for more details.