Skip to content

Commit 9b55b8a

Browse files
markovamariardementi
authored andcommitted
Add SDL419 compliance workflow with CAS integration
1 parent 209bb48 commit 9b55b8a

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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' }}

0 commit comments

Comments
 (0)