File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Security Scanning (dockerfile)
2+
3+ on :
4+ schedule :
5+ # Every 2 months on 1st at midnight UTC
6+ - cron : ' 0 0 1 */2 *'
7+ # Manual trigger for testing
8+ workflow_dispatch :
9+
10+ jobs :
11+ security :
12+ runs-on : ["innersource.prod.amr.dind"]
13+ if : ${{ github.repository != 'intel/pcm' }}
14+
15+ permissions :
16+ contents : read
17+ pull-requests : write
18+ steps :
19+ - uses : actions/checkout@v4
20+ with :
21+ fetch-depth : 0
22+ submodules : false
23+
24+ - uses : actions/setup-python@v5
25+ with :
26+ python-version : ' 3.11'
27+
28+ - name : CAS Security Orchestrator (Source Only)
29+ uses : intel-innersource/applications.security.monitoring.cas@v2
30+ with :
31+ sdl-api-key : ${{ secrets.SDL_API_KEY }}
32+ sdl-project-id : ${{ secrets.SDL_PROJECT_ID }}
33+ sdl-idsid-value : ${{ secrets.SDL_IDSID_VALUE }}
34+ # Scan for SDL419 only (workaround), SDL441 has separate scan
35+ sdl-tasks : " SDL419"
36+ # Set branch type to 'release' for scheduled runs and manual trigger on main branch.
37+ # Required for automatic evidence submit. Excludes push events.
38+ branch-type : ${{ github.ref == 'refs/heads/main' && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule') && 'release' || 'dev' }}
You can’t perform that action at this time.
0 commit comments