2017-09-19 14:47:10 +00:00
|
|
|
---
|
2020-02-06 23:45:31 +00:00
|
|
|
layout: docs
|
|
|
|
page_title: 'Commands: sentinel list'
|
|
|
|
sidebar_title: list
|
|
|
|
description: |
|
2017-09-19 14:47:10 +00:00
|
|
|
The sentinel list command is used to list all installed Sentinel policies.
|
|
|
|
---
|
|
|
|
|
|
|
|
# Command: sentinel list
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
The `sentinel list` command is used to display all the installed Sentinel
|
|
|
|
policies.
|
2017-09-19 14:47:10 +00:00
|
|
|
|
2018-03-22 20:39:18 +00:00
|
|
|
~> Sentinel commands are new in Nomad 0.7 and are only available with Nomad
|
|
|
|
Enterprise.
|
|
|
|
|
2017-09-19 14:47:10 +00:00
|
|
|
## Usage
|
|
|
|
|
2019-10-22 13:44:00 +00:00
|
|
|
```plaintext
|
2017-09-19 14:47:10 +00:00
|
|
|
nomad sentinel list [options]
|
|
|
|
```
|
|
|
|
|
|
|
|
The `sentinel list` command requires no arguments.
|
|
|
|
|
2020-11-19 21:38:08 +00:00
|
|
|
Sentinel commands are only available when ACLs are enabled. This command
|
|
|
|
requires a management token.
|
|
|
|
|
2017-09-19 14:47:10 +00:00
|
|
|
## General Options
|
|
|
|
|
2020-11-19 18:02:48 +00:00
|
|
|
@include 'general_options_no_namespace.mdx'
|
2017-09-19 14:47:10 +00:00
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
List all policies:
|
|
|
|
|
2020-05-18 20:53:06 +00:00
|
|
|
```shell-session
|
|
|
|
$ nomad sentinel list
|
2017-09-19 14:47:10 +00:00
|
|
|
Name Scope Enforcement Level Description
|
|
|
|
foo submit-job advisory my test policy
|
|
|
|
```
|