File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11stages :
22 - reports
3-
3+
44bearer :
55 stage : reports
66 only :
99 name : bearer/bearer
1010 entrypoint : [ "" ]
1111 script :
12- - bearer scan . --format gitlab-sast --output gl-sast-report.json
12+ - bearer scan . --diff -- format gitlab-sast --output gl-sast-report.json
1313 artifacts :
1414 reports :
1515 sast : gl-sast-report.json
@@ -19,7 +19,5 @@ bearer_mr_check:
1919 only :
2020 - merge_requests
2121 script :
22- - curl -sfL https://raw.githubusercontent.com/Bearer/bearer/main/contrib/install.sh | sh -s -- -b /usr/local/bin
2322 - curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b /usr/local/bin
24- - bearer scan . --format=rdjson --output=rd.json
25- - cat rd.json | reviewdog -f=rdjson -reporter=gitlab-mr-discussion
23+ - ./bearer scan --diff . --debug
You can’t perform that action at this time.
0 commit comments