# `smallforce app security`

Read or replace optional application security controls

This page is generated from the same Commander definition shipped in SmallForce CLI 0.1.7. Run `smallforce app security --help` locally to view the same reference for your installed version.

## Subcommands

- [`smallforce app security get`](/docs/cli/commands/app/security/get): Read the current policy and its machine-readable schema
- [`smallforce app security put`](/docs/cli/commands/app/security/put): Replace the complete policy; the backend validates it

## Complete command help

```text
Usage: smallforce app security [options] [command]

Read or replace optional application security controls

Options:
  -h, --help      display help for command

Commands:
  get [options]   Read the current policy and its machine-readable schema
  put [options]   Replace the complete policy; the backend validates it
  help [command]  display help for command
```

## Related reference

- [`smallforce app`](/docs/cli/commands/app): Parent command and related operations.
- [CLI installation and authentication](/docs/cli/getting-started): Install the CLI and configure an API key.
- [CLI JSON output](/docs/cli/json-output): Use stable machine-readable output in scripts and agents.
