Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add code scanner workflow #79

Draft
wants to merge 67 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
8a63b9f
Add code scanner workflow
Jul 18, 2022
c184e5c
Add workflows directory
Jul 18, 2022
7f1e7c5
Try to import files
Jul 18, 2022
b79bdea
Try to import files
Jul 18, 2022
4a5836c
Test without ref
Jul 18, 2022
0b391e1
Test without ref
Jul 18, 2022
e776580
Adjust action trigger
Jul 18, 2022
5fff4d7
Adjust action trigger
Jul 18, 2022
d861a83
Adjust action trigger
Jul 18, 2022
a93f5ae
Use main branch
Jul 18, 2022
211f1c2
Test triggering action
Jul 18, 2022
3c4d547
Test triggering action
Jul 18, 2022
d1d2ac2
Test triggering action
Jul 18, 2022
790ce20
default branch should be main
Jul 19, 2022
a56c487
default branch should be main
Jul 19, 2022
4b076fc
Add alert
Jul 19, 2022
4d18f0c
Add alert
Jul 19, 2022
54fab67
Add alert
Jul 19, 2022
3c8fa73
Add alert
Jul 19, 2022
9a55a7f
Add alert
Jul 19, 2022
bfede80
Add alert
Jul 19, 2022
d684c9d
Add alert
Jul 19, 2022
3f81a99
Add alert
Jul 19, 2022
bac336f
Add alert
Jul 19, 2022
dff7c64
Add alert
Jul 19, 2022
7f38b94
Add alert
Jul 19, 2022
976e4a0
Add alert
Jul 19, 2022
90543d6
Add alert
Jul 19, 2022
4625db2
Add alert
Jul 19, 2022
d20ab54
Add alert
Jul 19, 2022
65e974e
Add alert
Jul 19, 2022
43f1741
Add alert
Jul 19, 2022
eb528a5
Add alert
Jul 19, 2022
0599b26
Add alert
Jul 19, 2022
fe29e72
Add alert
Jul 19, 2022
6185c0f
Upload semgrep results to bucket
Jul 20, 2022
5e12dfb
Upload semgrep results to bucket
Jul 20, 2022
7554f0f
Use main branch
Jul 20, 2022
a02c65c
Test secret scanner
Aug 4, 2022
14741f0
Test secret scanner
Aug 4, 2022
1dec5fb
Change job name
Aug 4, 2022
cc3e9d8
Change job name
Aug 4, 2022
06bc1e3
Change job name
Aug 4, 2022
448c4d1
Try another way
Aug 4, 2022
d652b0b
Fix template name
Aug 4, 2022
1a27665
Fix template name
Aug 4, 2022
79252e7
Fix template name
Aug 4, 2022
6aca338
Fix template name
Aug 4, 2022
42b80c6
Fix template name
Aug 4, 2022
004cd00
Fix template name
Aug 4, 2022
92d7f85
Fix template name
Aug 4, 2022
ca1f6f3
Fix template name
Aug 4, 2022
3c8d666
Fix template name
Aug 4, 2022
9f68a33
Fix template name
Aug 4, 2022
f13f245
Test gitleaks
Aug 4, 2022
dd3277f
Upload results to s3
Aug 4, 2022
61b545c
Use one template
Aug 4, 2022
6349468
Use one template
Aug 4, 2022
5a2f87a
Use updated version
Aug 8, 2022
9ef9039
Test gemnasium
Aug 8, 2022
cb71b52
Test gemnasium
Aug 8, 2022
07d7fd0
Remove secret tests
Aug 8, 2022
f77d097
Changing name
Aug 10, 2022
3c52ee2
Removing semgrep rule names
Aug 10, 2022
e401eaf
Removing semgrep rule names
Aug 10, 2022
35b91d3
Fix branch name
Aug 10, 2022
3be37c4
Adding slack channel name
Aug 11, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/scanner.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Code Scanner

on:
push:
branches:
- '*'
jobs:
secScan:
name: Security Template
uses: Zooz/code-scanner/.github/workflows/secTemplate.yml@main
with:
codeScannerRef: main
secrets:
slackUrl: ${{ secrets.SEMGREP_SLACK_ALERT }}
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
AWS_REGION: ${{ secrets.AWS_REGION }}