Skip to content

Scheduled Trivy Scan #518

Scheduled Trivy Scan

Scheduled Trivy Scan #518

Workflow file for this run

# Copyright 2023 Oracle Corporation and/or its affiliates.
# Licensed under the Universal Permissive License v 1.0 as shown at
# https://oss.oracle.com/licenses/upl.
# ---------------------------------------------------------------------------
# Coherence Python Client GitHub Actions Scheduled Trivy Scan
# ---------------------------------------------------------------------------
name: Scheduled Trivy Scan
on:
workflow_dispatch:
schedule:
# Every day at midnight
- cron: '0 0 * * *'
jobs:
trivy-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner to scan repo
uses: aquasecurity/trivy-action@0.29.0
with:
scan-type: 'fs'
skip-dirs: 'tests/java'