-
Notifications
You must be signed in to change notification settings - Fork 102
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
Setup CodeQL for SAST #138
base: master
Are you sure you want to change the base?
Conversation
Setup CodeQL for SAST Commit to add CodeQL workflow for Static App Security Testing. Description ----------- Commit to add CodeQL workflow for Static App Security Scanning. Motivation and Context ---------------------- This commit allows us to run Github CodeQl as Github Actions and use CodeQL as a Static Application Security Testing tool to identify security vulnerabilities in code before it gets merged to `master` and deployments made. Acceptance Criteria ------------------- Screenshots (if appropriate) ---------------------------- Types of changes ---------------- <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) Checklist --------- <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> - [x] My pull request addresses exactly one patch/feature. - [x] I have created a branch for this patch/feature. - [x] Each individual commit in the pull request is meaningful. (Please rebase, removing useless commits if not) - [ ] I have added tests to cover my changes. - [ ] All new and existing tests passed. - [x] My code follows the code style of this project. - [ ] My change requires change(s) to the environment. <!--- Describe the environment changes if any--> - [ ] My change requires change(s) to the database. <!--- Describe the database changes if any--> - [ ] Other information.
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we change remove some of the comments that aren't particular to our use-case or at least modify them to suit the use in this repo.
# The branches below must be a subset of the branches above | ||
branches: [ master ] | ||
schedule: | ||
- cron: '35 16 * * 5' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @eyitemi-paystack,
Is there a need to run this on a schedule? I'm asking because all changes to master are setup to be analysed already?
@eyitemi-paystack can you please address the comment on this PR so that we can proceed? |
Setup CodeQL for SAST
Commit to add CodeQL workflow for Static App Security Testing.
Description
Commit to add CodeQL workflow for Static App Security Scanning.
Motivation and Context
This commit allows us to run Github CodeQl as Github Actions and use CodeQL as a Static Application Security Testing tool to identify security vulnerabilities in code before it gets merged to
master
and deployments made.Acceptance Criteria
Screenshots (if appropriate)
Types of changes
Checklist
Fixes #0 (Enter the number for the issue this fixes. If you have not yet created an issue, please do so now or delete this line if you are only submitting a patch)
Changes made by this pull request