File tree 2 files changed +8
-10
lines changed
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,11 @@ jobs:
26
26
27
27
- name : compile intercept
28
28
run : |
29
- make build && cp release/intercept playground/intercept
29
+ make build && cp release/intercept .
30
30
31
- - name : Run your analysis tool
31
+ - name : Run intercept tool
32
32
run : |
33
- cd playground/
34
- ./intercept audit --policy policies/nginx_insecure.yaml --target targets/ -vvvv
35
-
33
+ ./intercept audit --policy playground/policies/nginx_insecure.yaml --target playground/targets/ -vvvv
36
34
37
35
- name : Find SARIF file
38
36
id : find-sarif
Original file line number Diff line number Diff line change 1
1
Policies :
2
- - id : " SCAN-001 Server Tokens"
2
+ - id : " I SCAN-001 Server Tokens"
3
3
type : " scan"
4
4
filepattern : " nginx.conf"
5
5
enforcement :
@@ -19,7 +19,7 @@ Policies:
19
19
_regex :
20
20
- " server_tokens\\ s+on;"
21
21
22
- - id : " SCAN-002 SSL Protocols"
22
+ - id : " I SCAN-002 SSL Protocols"
23
23
type : " scan"
24
24
filepattern : " nginx.conf"
25
25
enforcement :
@@ -85,7 +85,7 @@ Policies:
85
85
# _regex:
86
86
# - "^(?!.*ssl_certificate|ssl_certificate_key)"
87
87
88
- - id : " SCAN-005 Weak SSL Ciphers"
88
+ - id : " I SCAN-005 Weak SSL Ciphers"
89
89
type : " scan"
90
90
filepattern : " nginx.conf"
91
91
enforcement :
@@ -127,7 +127,7 @@ Policies:
127
127
# - "listen\\s+80;"
128
128
# - "server\\s*\\{[^\\{]*listen\\s+80[^\\{]*[^#]\\breturn\\s+301\\b.*https;"
129
129
130
- - id : " SCAN-007 Access Logs Disabled"
130
+ - id : " I SCAN-007 Access Logs Disabled"
131
131
type : " scan"
132
132
filepattern : " nginx.conf"
133
133
enforcement :
@@ -167,7 +167,7 @@ Policies:
167
167
_regex :
168
168
- " autoindex\\ s+on;"
169
169
170
- - id : " SCAN-009 Large Buffer Size"
170
+ - id : " I SCAN-009 Large Buffer Size"
171
171
type : " scan"
172
172
filepattern : " nginx.conf"
173
173
enforcement :
You can’t perform that action at this time.
0 commit comments