Skip to content

Commit 8b19dfd

Browse files
Create noir-security.yml
1 parent d113908 commit 8b19dfd

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: OWASP Noir Security Scan
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: ["main"]
7+
pull_request:
8+
branches: ["main"]
9+
10+
jobs:
11+
noir-security:
12+
name: Run OWASP Noir
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Checkout repository
17+
- uses: actions/checkout@v4
18+
19+
# --- Escaneo de código fuente ---
20+
- name: Run OWASP Noir - Source Code Scan
21+
uses: owasp-noir/noir@v0.25.0
22+
with:
23+
targets: |
24+
.
25+
26+
# --- Escaneo de API (OpenAPI / Swagger) ---
27+
- name: Start Spring Boot App (background)
28+
run: |
29+
./mvnw -q -DskipTests spring-boot:run &
30+
echo "Waiting for API to start..."
31+
sleep 25

0 commit comments

Comments
 (0)