-
Notifications
You must be signed in to change notification settings - Fork 6
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
*: new workflow org-codeql #490
Conversation
211fdce
to
edcf87f
Compare
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. 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. |
1d7be7e
to
d52e2e7
Compare
d52e2e7
to
2d01480
Compare
[puLL-Merge] - brave/security-action@490 DescriptionThis pull request introduces several changes and additions to the GitHub Actions workflows, as well as creating new files for handling configurations and properties. It seems to cater to code quality and security automation tasks. ChangesChangesUpdated Workflow Files:
Renamed Workflow Files:
New Files:
Security Hotspots
Please make sure to test all changes thoroughly, especially since some of the scripts involve dynamic JavaScript import statements and access properties that may have implications on repository access control and workflow triggers. |
pip_audit_pypi_index_url: ${{ inputs.pip_audit_pypi_index_url }} | ||
pip_audit_pypi_insecure_hosts: ${{ inputs.pip_audit_pypi_insecure_hosts }} | ||
gh_to_slack_user_map: ${{ inputs.gh_to_slack_user_map }} | ||
- uses: ${{ github.action_path }}/actions/codeql |
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.
reported by reviewdog 🐶
[semgrep] An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.
Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/services/brave-third-party-action-not-pinned-to-commit-sha.yaml
Cc @thypon @bcaller
action.yml
Outdated
labels: needs-security-review | ||
- uses: actions-ecosystem/action-add-assignees@a5b84af721c4a621eb9c7a4a95ec20a90d0b88e9 # v1.0.1 | ||
if: ${{ steps.reviewdog-enabled-pr.outputs.result == 'true' && steps.should-trigger.outputs.result == 'true' }} | ||
- uses: ${{ github.action_path }}/actions/reviewdog |
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.
reported by reviewdog 🐶
[semgrep] An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.
Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/services/brave-third-party-action-not-pinned-to-commit-sha.yaml
Cc @thypon @bcaller
action.yml
Outdated
pip_audit_pypi_index_url: ${{ inputs.pip_audit_pypi_index_url }} | ||
pip_audit_pypi_insecure_hosts: ${{ inputs.pip_audit_pypi_insecure_hosts }} | ||
gh_to_slack_user_map: ${{ inputs.gh_to_slack_user_map }} | ||
- uses: ${{ github.action_path }}/actions/unverified-commits |
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.
reported by reviewdog 🐶
[semgrep] An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.
Source: https://github.com/brave/security-action/blob/main/assets/semgrep_rules/services/brave-third-party-action-not-pinned-to-commit-sha.yaml
Cc @thypon @bcaller
No description provided.