Skip to content

Commit

Permalink
Ignore example private key in the openssl R package documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tkilias committed Nov 21, 2023
1 parent e32748d commit 32c0982
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
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"]
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/*

0 comments on commit 32c0982

Please sign in to comment.