Skip to content

Commit 1f9d6ec

Browse files
authored
Add various vulnerability scanning configs (#69)
After recent package updates and other fixes[1][2][3][4], ignore remaining false positives/things of less immediate concern. [1] 37ff3d9 [2] 315596d [3] e2ea148 [4] ef36d7b
1 parent ef36d7b commit 1f9d6ec

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

template/{{app_name}}/.dockleconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# This file is allows you to specify a list of files that is acceptable to Dockle
2+
# To allow multiple files, use a list of names.
3+
# https://github.com/goodwithtech/dockle#accept-suspicious-environment-variables--files--file-extensions
4+
DOCKLE_ACCEPT_FILES=omniauth.rb,rails/config/database.yml

template/{{app_name}}/.hadolint.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# List of settings and ignore or safelist findings for the hadolint scanner
2+
3+
# For more information on any settings you can specify, see the actions' documentation here
4+
# https://github.com/hadolint/hadolint#configure
5+
failure-threshold: warning
6+
ignored:
7+
- DL3008 # ideally we might just pin the docker image itself
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
allow-rules:
2+
- id: jwt-token
3+
description: Skip commented out/example JWT secret embedded in AWS SDK source code
4+
path: .*/aws-sdk-ssooidc/client\.rb

0 commit comments

Comments
 (0)