You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "b4yuan (via GitHub)" <gi...@apache.org> on 2023/10/20 18:07:36 UTC

[PR] Add CodeQL Workflow for Code Security Analysis [mynewt-nimble]

b4yuan opened a new pull request, #1645:
URL: https://github.com/apache/mynewt-nimble/pull/1645

   
           Add CodeQL Workflow for Code Security Analysis
   
           This pull request introduces a CodeQL workflow to enhance the security analysis of our repository. CodeQL is a powerful static analysis tool that helps identify and mitigate security vulnerabilities in our codebase. By integrating this workflow into our GitHub Actions, we can proactively identify and address potential issues before they become security threats.
   
           We added a new CodeQL workflow file (.github/workflows/codeql.yml) that
           - Runs on every pull request (functionality to run on every push to main branches is included as a comment for convenience).
           - Runs daily.
           - Excludes queries with a high false positive rate or low-severity findings.
           - Does not display results for third-party code, focusing only on our own codebase.
   
           Testing:
           To validate the functionality of this workflow, we have run several test scans on the codebase and reviewed the results. The workflow successfully compiles the project, identifies issues, and provides actionable insights while reducing noise by excluding certain queries and third-party code.
   
           Deployment:
           Once this pull request is merged, the CodeQL workflow will be active and automatically run on every push and pull request to the main branch. To view the results of these code scans, please follow these steps:
           1. Under the repository name, click on the Security tab.
           2. In the left sidebar, click Code scanning alerts.
   
           Additional Information:
           - You can further customize the workflow to adapt to your specific needs by modifying the workflow file.
           - For more information on CodeQL and how to interpret its results, refer to the GitHub documentation and the CodeQL documentation.
             https://codeql.github.com/
             https://codeql.github.com/docs/
           


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add CodeQL Workflow for Code Security Analysis [mynewt-nimble]

Posted by "github-advanced-security[bot] (via GitHub)" <gi...@apache.org>.
github-advanced-security[bot] commented on PR #1645:
URL: https://github.com/apache/mynewt-nimble/pull/1645#issuecomment-1773312448

   This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on [this overview](/apache/mynewt-nimble/security/code-scanning?query=pr%3A1645+is%3Aopen). Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out [the documentation](https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/about-code-scanning). 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add CodeQL Workflow for Code Security Analysis [mynewt-nimble]

Posted by "b4yuan (via GitHub)" <gi...@apache.org>.
b4yuan commented on PR #1645:
URL: https://github.com/apache/mynewt-nimble/pull/1645#issuecomment-1779446638

   The answer should be yes for the most part, it is a matter of configuration


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add CodeQL Workflow for Code Security Analysis [mynewt-nimble]

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc merged PR #1645:
URL: https://github.com/apache/mynewt-nimble/pull/1645


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Add CodeQL Workflow for Code Security Analysis [mynewt-nimble]

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc commented on PR #1645:
URL: https://github.com/apache/mynewt-nimble/pull/1645#issuecomment-1779004117

   Hi,
   
   thanks for setting this up!  I've got some questions though,  does CodeQL support non-autotools build systems and cross-compilation?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org