-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore example private key in the openssl R package documentation.
- Loading branch information
Showing
2 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
12 changes: 3 additions & 9 deletions
12
flavors/standard-EXASOL-7.1.0/flavor_base/security_scan/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
FROM {{release}} | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN mkdir -p /build_info/packages | ||
COPY security_scan/packages /build_info/packages/security_scan | ||
RUN /scripts/install_scripts/install_via_apt.pl --file /build_info/packages/security_scan/apt_get_packages_trivy_deps | ||
RUN curl -s https://aquasecurity.github.io/trivy-repo/deb/public.key | apt-key add - &&\ | ||
/scripts/install_scripts/install_ppa.pl --ppa 'deb https://aquasecurity.github.io/trivy-repo/deb bionic main' --out-file trivy.list | ||
RUN /scripts/install_scripts/install_via_apt.pl --file /build_info/packages/security_scan/apt_get_packages | ||
|
||
ENV SECURITY_SCANNERS="trivy oyster" | ||
COPY /security_scan/.trivyignore /.trivyignore | ||
COPY /security_scan/trivy-secret.yaml /trivy-secret.yaml | ||
|
||
ENV SECURITY_SCANNERS="trivy" | ||
|
||
COPY /security_scan/.oysterignore /.oysterignore | ||
|
||
ENTRYPOINT ["/scripts/security_scan/run.sh"] |
4 changes: 4 additions & 0 deletions
4
flavors/standard-EXASOL-7.1.0/flavor_base/security_scan/trivy-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
allow-rules: | ||
- id: r-open-ssl-samples | ||
description: skip R open ssl sample secrets | ||
path: usr/local/lib/R/site-library/openssl/doc/* |