Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mlewk committed Mar 1, 2024
1 parent e43f556 commit d56abfd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Amazon Inspector Vulnerability Scan Workflow

[![GitHub Super-Linter](https://github.com/build-failure/starter-workflows/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)
![CI](https://github.com/build-failure/starter-workflows/actions/workflows/ci.yml/badge.svg)

Contains reusable GitHub Actions workflow to generate container image SBOM using
[Amazon Inspector SBOM Generator](https://docs.aws.amazon.com/inspector/latest/user/sbom-generator.html)
and scan it using [Amazon Inspector Scan API].

Resulting [vulnerability report](https://docs.aws.amazon.com/inspector/latest/user/cicd-custom.html#heading:r4h:)
is validated against specified threshold.

[![GitHub Super-Linter](https://github.com/build-failure/starter-workflows/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)
![CI](https://github.com/build-failure/starter-workflows/actions/workflows/ci.yml/badge.svg)

## Inputs

### `docker-image-name`
Expand Down
4 changes: 3 additions & 1 deletion tests/amazon-inspector-image-scan/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FROM alpine:3.19

RUN apk --no-cache add curl~=8.5 unzip~=6.0
RUN apk add --no-cache \
curl~=8.5 \
unzip~=6.0

0 comments on commit d56abfd

Please sign in to comment.