Update workflow actions to latest versions for improved security and …#152
Merged
Update workflow actions to latest versions for improved security and …#152
Conversation
Dependency ReviewThe following issues were found:
Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. License Issues.github/workflows/IACS-Checkmarx-kics.yml
OpenSSF Scorecard
Scanned Files
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates and standardizes the versions of GitHub Actions used across all workflow files, primarily by switching to commit-pinned references for better security and reliability. It also introduces a new workflow for ESLint static analysis. The most important changes are grouped below:
Security and Dependency Scanning Actions:
actions/checkoutsteps from version tags (e.g.,@v5) to commit-pinned references for improved security and traceability across all workflows. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]docker/build-push-action,anchore/scan-action,aquasecurity/trivy-action,github/codeql-action/upload-sarif,actions/upload-artifact, etc.) to use commit-pinned references, ensuring consistent and secure builds. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]Tool and Workflow Upgrades:
docker/build-push-action,anchore/scan-action,aquasecurity/trivy-action,checkmarx/kics-github-action,zaproxy/action-full-scan, andossf/scorecard-action, providing improved features and bug fixes. [1] [2] [3] [4] [5] [6]Addition of New Static Analysis Workflow:
.github/workflows/SAST-ESLint.ymlto run ESLint static analysis on JavaScript/TypeScript code, generating SARIF results for GitHub Security tab integration.SARIF Upload Standardization:
github/codeql-action/upload-sarifacross workflows, updating to the latest commit-pinned version for consistency in uploading security scan results. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11]General Maintenance:
These changes enhance the security, reliability, and maintainability of the CI/CD workflows by ensuring all actions are pinned to specific commits and by keeping scanning tools up to date.