> For the complete CircleCI developer hub index, see [llms.txt](https://circleci.com/developer/llms.txt)

# snyk/driftctl

Scan your infrastructure with the official driftctl orb. Detect, track and alert on infrastructure drift.


## Commands

### install

This command install a given version of driftctl


| Parameter | Type | Default | Description |
|---|---|---|---|
| `version` | string |  | Which version of driftctl to install |

### scan

Run driftctl scan

## Executors

### default

Default executor

## Examples

### latest

Run driftctl latest version

```yaml
version: '2.1'
orbs:
  driftctl: snyk/driftctl
workflows:
  driftctl:
    jobs:
      - driftctl/run
```

### version

Run driftctl version v0.4.0

```yaml
version: '2.1'
orbs:
  driftctl: snyk/driftctl
workflows:
  driftctl:
    jobs:
      - driftctl/run:
          version: 0.4.0
```