# Semgrep integration with --lint (https://depot.dev/changelog/2023-08-01-semgrep-integration-with-lint)

> Published 2023-08-01

We have integrated the [Semgrep Dockerfile ruleset](https://semgrep.dev/p/dockerfile) into our existing `--lint` flag.

```shell
depot build --lint --lint-fail-on warn .
```

The Semgrep integration is in addition to our existing Hadolint integration. When you run `depot build --lint`, we will run Hadolint and Semgrep and return a combined list of issues. You can also use the `--lint-fail-on` flag to set the severity level at which you want to fail your build.

## For AI Agents

The full site index is at [llms.txt](https://depot.dev/llms.txt). Append `.md` to any documentation, blog, changelog, or customer URL to fetch its markdown source directly.