Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Smith <[email protected]>
  • Loading branch information
tas50 committed Aug 8, 2024
1 parent e4658a3 commit 66393a1
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions core/mondoo-dockerfile-security.mql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: BUSL-1.1
policies:
- uid: mondoo-docker-security
name: Docker Container Security
name: Dockerfile Security
version: 1.0.0
license: BUSL-1.1
tags:
Expand All @@ -15,7 +15,7 @@ policies:
desc: |-
## Overview
The Docker Container Security policy by Mondoo provides guidance for establishing secure Docker container configurations and deployments.
The Dockerfile Security policy by Mondoo provides guidance for establishing secure Docker container configurations and deployments by securing Dockerfiles used to build container images.
If you have questions, comments, or have identified ways to improve this policy, please write us at [email protected], or reach out in GitHub Discussions.
Expand All @@ -29,22 +29,12 @@ policies:
cnspec scan --help
```
## Prerequisites
## Scan a Dockerfile
Remote scans of Docker containers require Docker CLI access to the host where the containers are running.
## Scan a Docker environment
Open a terminal and configure Docker CLI access to your Docker environment:
```bash
docker login
```
Run a scan of the Docker environment:
Run a scan of a Dockerfile:
```bash
cnspec scan docker
cnspec scan docker file DOCKERFILE_PATH
```
## Join the community!
Expand Down

0 comments on commit 66393a1

Please sign in to comment.