-
Notifications
You must be signed in to change notification settings - Fork 54
40 lines (36 loc) · 1.04 KB
/
socket-tier1-analysis.yml
File metadata and controls
40 lines (36 loc) · 1.04 KB
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
38
39
40
name: Socket Tier 1 Reachability Analysis
on:
schedule:
# every day at 12 AM
- cron: '0 0 * * *'
workflow_dispatch:
inputs:
tags:
description: 'Manually run vulnerability analysis'
distinct_id:
description: 'Required by the return-dispatch action'
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
socket-vulnerability-analysis:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- name: Check distinct_id
run: |
echo "distinct_id: ${{ github.event.inputs.distinct_id }}"
- name: Checkout code
uses: actions/checkout@v4
- name: Install Socket CLI
run: npm install -g socket
- name: Run Tier 1 reachability scan
env:
SOCKET_SECURITY_API_TOKEN: ${{ secrets.SOCKET_API_KEY }}
run: |
# Full application reachability (Tier 1)
socket scan create . \
--reach \
--org "workos" \
--no-interactive