-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (44 loc) · 1.29 KB
/
nuclei.yaml
File metadata and controls
54 lines (44 loc) · 1.29 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Nuclei - Vulnerability Scan
on:
workflow_dispatch:
jobs:
amass-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v4.0.0
- name: Amass - Enumeration
uses: hjvoid/amass-action@main
with:
domain: https://example.com
- name: Extract domains from Amass text file
run: sh ./extract_domains.sh amass.txt
- name: GitHub Workflow artifacts
uses: actions/upload-artifact@v3
with:
name: amass_domains.txt
path: amass_domains.txt
nuclei-scan:
runs-on: ubuntu-latest
needs: amass-scan
steps:
- uses: actions/checkout@v2
- uses: actions/download-artifact@v3
with:
name: amass_domains.txt
- name: Display structure of downloaded files
run:
ls -R
- name: Nuclei - Vulnerability Scan
uses: projectdiscovery/nuclei-action@v1.0.7
with:
urls: amass_domains.txt
- name: GitHub Workflow artifacts
uses: actions/upload-artifact@v3
with:
name: nuclei.log
path: nuclei.log
- name: GitHub Security Dashboard Alerts update
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: nuclei.sarif