﻿---
title: stack kb cases get-applicable-fields cli command
description: Get the fields applicable to a case Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4089/reference/elastic-cli/cli/stack/kb/cases/get-applicable-fields
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb cases get-applicable-fields cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb cases get-applicable-fields --owner <owner> [options]
```

Get the fields applicable to a case
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--owner string required">
    The application that owns the cases (for example `cases`, `observability`, or `securitySolution`).
  </definition>
  <definition term="--template-id string">
    The identifier of a template to include the template's fields in the response.
  </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>