Skip to content

Commit

Permalink
update trivy config and version (#365)
Browse files Browse the repository at this point in the history
  • Loading branch information
pgvishnuram authored Jul 19, 2022
1 parent d6dbcc5 commit 96a618f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions bin/trivy-scan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ set +exo pipefail
trivy \
--cache-dir /tmp/workspace/trivy-cache \
image \
--config "${GIT_ROOT}/${scan_target}/trivy.yaml" \
--ignorefile "${GIT_ROOT}/ap-${scan_target}/trivyignore" \
--ignorefile "${GIT_ROOT}/${scan_target}/trivyignore" \
--ignore-unfixed -s HIGH,CRITICAL \
Expand Down
2 changes: 2 additions & 0 deletions po-spilo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# https://registry.opensource.zalan.do/v2/acid/spilo-14/tags/list
FROM registry.opensource.zalan.do/acid/spilo-14:2.1-p5
LABEL maintainer="Astronomer <[email protected]>"

Expand Down
3 changes: 3 additions & 0 deletions po-spilo/trivy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
scan:
skip-dirs:
- /etc/ssl/private
2 changes: 1 addition & 1 deletion po-spilo/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.1
14.2.1-p5

0 comments on commit 96a618f

Please sign in to comment.