# strazactl policy validate

Validate PolicySet YAML files locally against the v1beta1 spec


## Synopsis

Validates PolicySet YAML files offline against the v1beta1 spec, with no server
and no token. `strazactl drafts check -f` runs the server's checks against live state.

```
strazactl policy validate [flags]
```

## Options

```
  -f, --file stringArray   PolicySet YAML file (repeatable)
```

## Options inherited from parent commands

```
      --server string   strazad base URL (overrides $STRAZA_SERVER)
```

## See also

* [strazactl policy](https://docs.straza.ai/reference/cli/strazactl/strazactl_policy/index.md): Validate and manage PolicySets



