﻿---
title: stack kb fleet-agentless-policies get-fleet-agentless-policies cli command
description: Deprecated: Get managed integrations Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4083/reference/elastic-cli/cli/stack/kb/fleet-agentless-policies/get-fleet-agentless-policies
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb fleet-agentless-policies get-fleet-agentless-policies cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb fleet-agentless-policies get-fleet-agentless-policies [options]
```

Deprecated: Get managed integrations
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--page number">
    Page number. Defaults to `1`.
  </definition>
  <definition term="--per-page number">
    Number of results per page. Defaults to `20`.
  </definition>
  <definition term="--sort-field string">
    Field to sort results by. Defaults to `updated_at`.
  </definition>
  <definition term="--sort-order enum">
    Sort order, ascending or descending. Defaults to `desc`.
    **Values:** desc, asc
  </definition>
  <definition term="--kuery string">
    A KQL query string to filter results. Filtering is restricted to the following fields: `name`, `namespace`, `package.name`.
  </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>