Files
nomad/website/content/docs/configuration/sentinel.mdx
Aimee Ukasick ffb34319d5 Docs SEO: Update Configuration section to improve search (#24759)
* Docs SEO: Update Configuration section to improve search engine opt

CE-775

* Add enterprise only back to audit

* Update descriptions and add intro paragraph

* Fix typo

* replace "below" and "see"

* Apply suggestions from code review

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>

---------

Co-authored-by: Jeff Boruszak <104028618+boruszak@users.noreply.github.com>
2025-01-10 11:05:23 -06:00

52 lines
1.6 KiB
Plaintext

---
layout: docs
page_title: sentinel Block in Agent Configuration
description: >-
Configure Sentinel policy engine behavior in the "sentinel" block of a Nomad agent configuration. Configure the path to the plugin that Nomad uses to import Sentinel policies and specify arguments to pass to that plugin on startup.
---
# `sentinel` Block in Agent Configuration
<Placement groups={['sentinel']} />
<EnterpriseAlert product="nomad"/>
This page provides reference information for configuring the Sentinel policy
engine in the `sentinel` block of a Nomad agent configuration. Configure the
path to the plugin that Nomad uses to import Sentinel policies and specify
arguments to pass to that plugin on startup.
```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.
## Resources
Refer to these resources for details on using Sentinel policies with
Nomad:
- [Governance and policy on
Nomad](/nomad/tutorials/governance-and-policy/governance-and-policy)
- [Sentinel policies](/nomad/tutorials/governance-and-policy/sentinel)
- [Sentinel policy
reference](https://developer.hashicorp.com/nomad/docs/enterprise/sentinel)