2017-09-19 14:47:10 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: sentinel Stanza - Agent Configuration
|
|
|
|
description: >-
|
|
|
|
The "sentinel" stanza configures the Nomad agent for Sentinel policies and
|
|
|
|
tune various parameters.
|
2017-09-19 14:47:10 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
# `sentinel` Stanza
|
|
|
|
|
2020-02-06 23:45:31 +00:00
|
|
|
<Placement groups={['sentinel']} />
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
The `sentinel` stanza configures the Sentinel policy engine and tunes various parameters.
|
|
|
|
|
|
|
|
```hcl
|
|
|
|
sentinel {
|
|
|
|
import "custom-plugin" {
|
|
|
|
path = "/usr/bin/sentinel-custom-plugin"
|
|
|
|
args = ["-verbose", "foo"]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
## `sentinel` Parameters
|
|
|
|
|
|
|
|
- `import` <code>([Import](#import-parameters): nil)</code> -
|
|
|
|
Specifies a plugin that should be made available for importing by Sentinel policies.
|
|
|
|
The name of the import matches the name that can be imported.
|
|
|
|
|
|
|
|
### `import` Parameters
|
|
|
|
|
|
|
|
- `path` `(string: "")` - Specifies the path to the import plugin. Must be executable by Nomad.
|
|
|
|
|
|
|
|
- `args` `(array<string>: [])` - Specifies arguments to pass to the plugin when starting it.
|