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

Enable CodeQL Security Scan #12870

Merged
merged 1 commit into from
Oct 24, 2020
Merged

Enable CodeQL Security Scan #12870

merged 1 commit into from
Oct 24, 2020

Conversation

VinodAnandan
Copy link
Contributor

@sberyozkin
Copy link
Member

@VinodAnandan My concern is that we'll start getting a lot of false alarms. Where are the results reported to ?

Copy link
Member

@gsmet gsmet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no idea what the reports look like but I think we can probably give it a try.

TBH, I was considering setting up SonarCloud for pull requests.


- if: matrix.language == 'java'
name: Build Java
run: mvn -B --settings .github/mvn-settings.xml clean install -DskipTests=true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also want -DskipITs

# The branches below must be a subset of the branches above
branches: [master]
schedule:
- cron: '0 16 * * 4'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe let's do it on Sunday when the activity is low.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And every 2nd Sunday for example ?

@VinodAnandan
Copy link
Contributor Author

@sberyozkin @gsmet Thank you very much for reviewing my pull request. The CodeQL only focuses on the security issues unlike the sonarcloud and there are not that many findings. Most of the findings are related to the test code.

I believe the findings access will be restricted based on repo permission. You can access them by visiting this URL " https://github.com/quarkusio/quarkus/security/code-scanning " or navigate to the "Security" tab and then "Code scanning alerts"

I have modified to weekly (Sunday) scan and I think it should be minimum. I am happy to help to enable the sonarcloud scans for the pull requests.

Could you please review it again?

@gsmet gsmet merged commit 5fa5376 into quarkusio:master Oct 24, 2020
@gsmet
Copy link
Member

gsmet commented Oct 24, 2020

Squashed the commits and merged, thanks!

I'll check the report tomorrow.

@gsmet gsmet added the area/infra internal and infrastructure related issues label Oct 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infra internal and infrastructure related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants