﻿---
title: stack kb security-exceptions-api read-exception-list-summary cli command
description: Get an exception list summary Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4075/reference/elastic-cli/cli/stack/kb/security-exceptions-api/read-exception-list-summary
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb security-exceptions-api read-exception-list-summary cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb security-exceptions-api read-exception-list-summary [options]
```

Get an exception list summary
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--id string">
    Exception list's identifier generated upon creation.
  </definition>
  <definition term="--list-id string">
    Exception list's human readable identifier.
  </definition>
  <definition term="--namespace-type enum">
    `single` returns summary for a list in the current space; `agnostic` for a space-agnostic list. Must
    line up with `id` / `list_id` used to look up the list.
    **Values:** agnostic, single
  </definition>
  <definition term="--filter string">
    Search filter clause
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>