forked from privateerproj/privateer
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 994 Bytes
/
osps-security-assessment.yml
File metadata and controls
37 lines (31 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: OSPS Security Assessment
on:
schedule:
# Run weekly on Mondays at 9 AM UTC
- cron: "0 9 * * 1"
workflow_dispatch: # Allow manual triggering
jobs:
osps-assessment:
runs-on: ubuntu-latest
name: OSPS Security Assessment
permissions:
contents: read
security-events: write # Required for SARIF upload
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run OSPS Security Assessment
uses: revanite-io/pvtr-github-repo-action@main
with:
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
token: ${{ secrets.GITHUB_TOKEN }}
catalog: "osps-baseline"
upload-sarif: "true"
- name: Upload Assessment Results
if: always()
uses: actions/upload-artifact@v4
with:
name: osps-assessment-results-${{ github.run_number }}
path: evaluation_results/
retention-days: 30